Message139746
| Author |
scode |
| Recipients |
scode |
| Date |
2011年07月04日.10:18:24 |
| SpamBayes Score |
5.3548672e-05 |
| Marked as misclassified |
No |
| Message-id |
<1309774705.31.0.473593328364.issue12487@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The documentation states it returns a "file-like object". In Python 2.5+ I expect such file-like objects to have a context manager for use with the with statement.
In my particular use-case, the lack comes from urllib.addinfourl but I have not investigated what the possible types returned may be. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年07月04日 10:18:25 | scode | set | recipients:
+ scode |
| 2011年07月04日 10:18:25 | scode | set | messageid: <1309774705.31.0.473593328364.issue12487@psf.upfronthosting.co.za> |
| 2011年07月04日 10:18:24 | scode | link | issue12487 messages |
| 2011年07月04日 10:18:24 | scode | create |
|