Message122554
| Author |
eric.araujo |
| Recipients |
eric.araujo |
| Date |
2010年11月27日.20:47:38 |
| SpamBayes Score |
0.0030887495 |
| Marked as misclassified |
No |
| Message-id |
<1290890860.31.0.741074832583.issue10554@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I propose that __enter__ and __exit__ be added to subprocess.Popen. __enter__ returns self, __exit__ closes open file descriptors.
__exit__ could also do the same checks that __del__ does (and which I don’t entirely understand.
See also os.popen (os._wrap_close). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年11月27日 20:47:40 | eric.araujo | set | recipients:
+ eric.araujo |
| 2010年11月27日 20:47:40 | eric.araujo | set | messageid: <1290890860.31.0.741074832583.issue10554@psf.upfronthosting.co.za> |
| 2010年11月27日 20:47:38 | eric.araujo | link | issue10554 messages |
| 2010年11月27日 20:47:38 | eric.araujo | create |
|