[Python-Dev] Debugging opportunity :-)
Phillip J. Eby
pje at telecommunity.com
Fri Apr 14 22:38:37 CEST 2006
At 03:49 PM 4/14/2006 -0400, Tim Peters wrote:
> That eventually
>pointed to an off-by-one error in the new PyGen_NeedsFinalizing(),
>where reading up trash made it very likely that old generators
>containing an active loop would falsely claim they need finalization.
>Alas, fix that, and Python segfaults when running test_generators.
Even with the close() gimmicks still in place? If so, it sounds like the
safest thing for a2 might be to claim that generators always need
finalizing. :(
More information about the Python-Dev
mailing list