commit | 2ba96610bfeda03381dd411d5694fae311159a0c | [log] [tgz] |
---|---|---|
author | Phillip J. Eby <pje@telecommunity.com> | Mon Apr 10 17:51:05 2006 +0000 |
committer | Phillip J. Eby <pje@telecommunity.com> | Mon Apr 10 17:51:05 2006 +0000 |
tree | a0007d4f0c9ee9bb38dbdef8311e7e0085708097 | |
parent | 17de8ffc215d8539860a8a7f06279c4155382c4f [diff] |
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.