[issue18565] Test for closing delegating generator with cleared frame (Issue17669)

2013-07-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 516303f32bad by Benjamin Peterson in branch '3.3': add a test for issue #17669 (closes #18565) http://hg.python.org/cpython/rev/516303f32bad New changeset f90e7540dcba by Benjamin Peterson in branch 'default': merge 3.3 (#18565) http://hg.python.org

[issue18565] Test for closing delegating generator with cleared frame (Issue17669)

2013-07-27 Thread Phil Connell
Phil Connell added the comment: Good suggestion, updated patch attached. -- Added file: http://bugs.python.org/file31055/gen_close_with_cleared_frame.diff ___ Python tracker ___

[issue18565] Test for closing delegating generator with cleared frame (Issue17669)

2013-07-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: Thanks! It looks good except I think you could use the support.disable_gc() context manager. -- ___ Python tracker ___ _

[issue18565] Test for closing delegating generator with cleared frame (Issue17669)

2013-07-26 Thread Phil Connell
New submission from Phil Connell: This is a testcase for issue17669 - it passes against the latest default (and hits the same segfault under 3.3.0). I came up with this while tracking down a thorny generator finalisation crash that turned out to be a variant on 17669. The root cause was gen_