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 | 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 | <1452811762.96.0.813033749502.issue25994@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2016年01月14日 22:49:22 | martin.panter | set | recipients: + martin.panter, gvanrossum, vstinner, benhoyt, serhiy.storchaka |
| 2016年01月14日 22:49:22 | martin.panter | set | messageid: <1452811762.96.0.813033749502.issue25994@psf.upfronthosting.co.za> |
| 2016年01月14日 22:49:22 | martin.panter | link | issue25994 messages |
| 2016年01月14日 22:49:22 | martin.panter | create | |