Author eric.smith
Recipients benjamin.peterson, berker.peksag, eric.smith, mjpieters, python-dev, r.david.murray, vajrasky, vstinner
Date 2015-01-05.10:13:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1420452810.11.0.616193152762.issue18644@psf.upfronthosting.co.za>
In-reply-to
Content
Good point on contextlib.closing not being needed. I usually use this pattern on things that aren't files!

On second thought, the with statement will close sys.stdin, so this isn't a valid pattern here. Sorry for the noise.
History
Date User Action Args
2015-01-05 10:13:30eric.smithsetrecipients: + eric.smith, mjpieters, vstinner, benjamin.peterson, r.david.murray, python-dev, berker.peksag, vajrasky
2015-01-05 10:13:30eric.smithsetmessageid: <1420452810.11.0.616193152762.issue18644@psf.upfronthosting.co.za>
2015-01-05 10:13:30eric.smithlinkissue18644 messages
2015-01-05 10:13:29eric.smithcreate