Author martin.panter
Recipients benhoyt, gvanrossum, martin.panter, serhiy.storchaka, vstinner
Date 2016-01-14.22:49:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Contextlib.closing() cannot be used in general, because it doesn’t inherit the iterator protocol from the wrapped generator. So I think you really need a class that implements __exit__(), __iter__(), etc at the same time.
Date User Action Args
2016-01-14 22:49:22martin.pantersetrecipients: + martin.panter, gvanrossum, vstinner, benhoyt, serhiy.storchaka
2016-01-14 22:49:22martin.pantersetmessageid: <>
2016-01-14 22:49:22martin.panterlinkissue25994 messages
2016-01-14 22:49:22martin.pantercreate