]> granicus.if.org Git - python/commit
SF Patch #1463867: Improved generator finalization to allow generators
authorPhillip J. Eby <pje@telecommunity.com>
Mon, 10 Apr 2006 17:51:05 +0000 (17:51 +0000)
committerPhillip J. Eby <pje@telecommunity.com>
Mon, 10 Apr 2006 17:51:05 +0000 (17:51 +0000)
commit2ba96610bfeda03381dd411d5694fae311159a0c
treea0007d4f0c9ee9bb38dbdef8311e7e0085708097
parent17de8ffc215d8539860a8a7f06279c4155382c4f
SF Patch #1463867: Improved generator finalization to allow generators
that are suspended outside of any try/except/finally blocks to be
garbage collected even if they are part of a cycle.  Generators that
suspend inside of an active try/except or try/finally block (including
those created by a ``with`` statement) are still not GC-able if they
are part of a cycle, however.
Include/genobject.h
Modules/gcmodule.c
Objects/genobject.c
Python/ceval.c