Message122554
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). |
|
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 | |
|