Message138649
| Author |
mcjeff |
| Recipients |
mcjeff |
| Date |
2011年06月19日.17:26:05 |
| SpamBayes Score |
1.027547e-05 |
| Marked as misclassified |
No |
| Message-id |
<1308504365.98.0.668285563314.issue12365@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Per discussion within Issue10050, URLopener ought to support the context manager protocol. That allows more idiomatic usage and doesn't require calls to contextlib.closing for use with the 'with' statement.
If agreed, I'll create a patch. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年06月19日 17:26:06 | mcjeff | set | recipients:
+ mcjeff |
| 2011年06月19日 17:26:05 | mcjeff | set | messageid: <1308504365.98.0.668285563314.issue12365@psf.upfronthosting.co.za> |
| 2011年06月19日 17:26:05 | mcjeff | link | issue12365 messages |
| 2011年06月19日 17:26:05 | mcjeff | create |
|