2011/5/5 Stefan Behnel <stefan...@behnel.de>: > 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. >
Cool! It seems that you've fixed the issue and now pyregr takes about 40 minutes ) -- vitja. _______________________________________________ cython-devel mailing list cython-devel@python.org http://mail.python.org/mailman/listinfo/cython-devel