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 Marc.Abramowitz
Recipients Marc.Abramowitz, alex, barry, belopolsky, brett.cannon, ncoghlan, pitrou, rhettinger, vstinner
Date 2013-07-22.03:30:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I like Nick's version. I don't know if __exit__ really needs error checking, but I like the API. For me, it strikes a good balance between being intuitive and being general enough to do all the stuff I'd like to do. 

Should the docstrings mention that it only works within the process and doesn't affect subprocesses?

I also am having second thoughts about putting it in the io module. Now I'm thinking that sys makes more sense because that's where stdin, stdout, and stderr live.
Date User Action Args
2013-07-22 03:30:33Marc.Abramowitzsetrecipients: + Marc.Abramowitz, barry, brett.cannon, rhettinger, ncoghlan, belopolsky, pitrou, vstinner, alex
2013-07-22 03:30:33Marc.Abramowitzsetmessageid: <>
2013-07-22 03:30:33Marc.Abramowitzlinkissue15805 messages
2013-07-22 03:30:32Marc.Abramowitzcreate