[issue18666] Unused variable in test_frame.py

2013-08-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: Good idea, thank you! -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue18666] Unused variable in test_frame.py

2013-08-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 34e1ecb8edd2 by Antoine Pitrou in branch 'default': Issue #18666: improve test_frame a bit. Patch by Vajrasky Kok. http://hg.python.org/cpython/rev/34e1ecb8edd2 -- nosy: +python-dev ___ Python tracker

[issue18666] Unused variable in test_frame.py

2013-08-05 Thread Vajrasky Kok
New submission from Vajrasky Kok: There is a unused variable in Lib/test/test_frame.py. def test_clear_executing_generator(self): # Attempting to clear an executing generator frame is forbidden. endly = False def g(): nonlocal endly try: