Message123160
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__. |
|
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 | |
|