[issue7782] new test for test_iter.py

2012-11-18 Thread Ezio Melotti
Ezio Melotti added the comment: I committed the patch as is. It run fast enough that I cannot notice any slowdown. -- assignee: -> ezio.melotti resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: +Python 3.3, Python 3.4 -Python 2.6, Python 3.

[issue7782] new test for test_iter.py

2012-11-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4624570c1f19 by Ezio Melotti in branch '2.7': #7782: add a test for test_iter. http://hg.python.org/cpython/rev/4624570c1f19 New changeset d2054aa9bed4 by Ezio Melotti in branch '3.2': #7782: add a test for test_iter. http://hg.python.org/cpython/re

[issue7782] new test for test_iter.py

2010-03-23 Thread showell
showell added the comment: My proposed test is final. Please either accept or reject it as is. I assume it runs pretty quickly, so I am not sure what the cost fear is. The benefit of accepting the test is that it would potentially catch bugs on changes to the implementation of list. -

[issue7782] new test for test_iter.py

2010-03-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: Can you produce a more tightly focused test, the minimum code that would have segfaulted your change? -- ___ Python tracker ___

[issue7782] new test for test_iter.py

2010-01-29 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue7782] new test for test_iter.py

2010-01-29 Thread showell
showell added the comment: Per Ezio's suggestions, I added clearer comments and an assert, and now the attached diff applies to trunk. -- keywords: +patch Added file: http://bugs.python.org/file16037/extend_test.diff ___ Python tracker

[issue7782] new test for test_iter.py

2010-01-26 Thread Ezio Melotti
Ezio Melotti added the comment: >From the comment ("This test would break on an incomplete patch to >listobject.c") is not clear what exactly the test is supposed to check. Probably the test should include some assert* or more comments if it is supposed to work but it might raise an error if t

[issue7782] new test for test_iter.py

2010-01-26 Thread showell
New submission from showell : I would like to submit the following test to be part of the test_iter.py test suite: def test_extends(self): # This test would break on an incomplete patch to listobject.c def gen(): for i in range(500): yield i