This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yak
Recipients yak
Date 2012-01-18.10:43:15
SpamBayes Score 0.20363939
Marked as misclassified No
Message-id <1326883396.25.0.884733470267.issue13814@psf.upfronthosting.co.za>
In-reply-to
Content
Generators should support the with statement with __exit__ calling self.close().

with genfunc() as g:
    for item in g:
        print(item)
History
Date User Action Args
2012-01-18 10:43:16yaksetrecipients: + yak
2012-01-18 10:43:16yaksetmessageid: <1326883396.25.0.884733470267.issue13814@psf.upfronthosting.co.za>
2012-01-18 10:43:15yaklinkissue13814 messages
2012-01-18 10:43:15yakcreate