This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:23eric.araujosetrecipients: + eric.araujo, brian.curtin
2010-12-03 02:21:23eric.araujosetmessageid: <1291342883.0.0.747277446837.issue10554@psf.upfronthosting.co.za>
2010-12-03 02:21:15eric.araujolinkissue10554 messages
2010-12-03 02:21:15eric.araujocreate