Message150011
| Author |
eric.araujo |
| Recipients |
Julian, eric.araujo, eric.snow, giampaolo.rodola, ncoghlan, nikratio, rhettinger, smarnach |
| Date |
2011年12月21日.16:46:41 |
| SpamBayes Score |
0.0034979032 |
| Marked as misclassified |
No |
| Message-id |
<1324486002.37.0.0515224595711.issue13585@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> The idea is to add a general-purpose context manager to manage (python
> or non-python) resources that don't come with their own context manager.
I read the thread back on python-ideas and didn’t like the idea, without knowing exactly why—maybe a feeling that it’s too generic and less clean than adding context management support to the classes directly. My opinion is only that of a user, I’m less qualified than Nick or Raymond for this module.
In the passage I quoted, I don’t understand what is meant by "non-Python resources". |
|