Vitja Makarov, 05.05.2011 08:41:
Recently I've found that pyregr.test_dict (test_mutatingiteration)
test makes it slow:

def test_mutatingiteration():
     d = {}
     d[1] = 1
     for i in d:
         print i
         d[i+1] = 1

test_mutatingiteration()


In CPython this code raises: RuntimeError: dictionary changed size
during iteration
And in Cython you have infinite loop. So we can disable this test for now.

Interesting. Yes, if it's a bug in Cython then it's worth disabling the test until the bug is fixed.

Anyway, I'll try to come up with a fix quickly.

Stefan
_______________________________________________
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel

Reply via email to