[issue4003] Reference leak in test_cprofile

2008-09-30 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: Amaury's fix works for me; since this is an edge case situation anyway, I am not terribly worried about some fancy error message. Fixed in r66700 for 2.6, r66701 for 2.5. -- resolution: -> accepted status: open -> closed

[issue4003] Reference leak in test_cprofile

2008-09-30 Thread Amaury Forgeot d'Arc
New submission from Amaury Forgeot d'Arc <[EMAIL PROTECTED]>: r66677 introduces a reference leak in test_cprofile, as shown by http://mail.python.org/pipermail/python-checkins/2008-September/074355.html IMO, the code at the end of the function should not have been modified this way. It is enough