Message123160
| Author |
eric.araujo |
| Recipients |
brian.curtin, eric.araujo |
| Date |
2010年12月03日.02:21:15 |
| SpamBayes Score |
0.0024545102 |
| Marked as misclassified |
No |
| Message-id |
<1291342883.0.0.747277446837.issue10554@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
New doc looks good. Suggested changes: make with a link, explaing why it’s a context manager.
- Popen objects are supported as context managers via the ``with`` statement.
+ Popen objects are supported as context managers via the :keyword:`with`` statement, so that file descriptors are closed cleanly.
I agree with your view on __del__ vs. __exit__. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年12月03日 02:21:23 | eric.araujo | set | recipients:
+ eric.araujo, brian.curtin |
| 2010年12月03日 02:21:23 | eric.araujo | set | messageid: <1291342883.0.0.747277446837.issue10554@psf.upfronthosting.co.za> |
| 2010年12月03日 02:21:15 | eric.araujo | link | issue10554 messages |
| 2010年12月03日 02:21:15 | eric.araujo | create |
|