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 Wade.Tattersall
Recipients Wade.Tattersall, alexandre.vassalotti, belopolsky, brian.curtin, georg.brandl, orsenthil, ygale
Date 2012-11-25.04:52:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1353819147.18.0.466906407543.issue1286@psf.upfronthosting.co.za>
In-reply-to
Content
Any chance this patch could be applied to version 2.7? It's still an issue in 2.7.3, even though a suitable patch was supplied 3 years ago.

I understand that it's fixed in python3, but for us poor maintainers of ancient code, it would be convenient to be able to do things like

with StringIO() as test:
    test.write("hi!")
    return test.getvalue()
History
Date User Action Args
2012-11-25 04:52:27Wade.Tattersallsetrecipients: + Wade.Tattersall, georg.brandl, belopolsky, ygale, orsenthil, alexandre.vassalotti, brian.curtin
2012-11-25 04:52:27Wade.Tattersallsetmessageid: <1353819147.18.0.466906407543.issue1286@psf.upfronthosting.co.za>
2012-11-25 04:52:27Wade.Tattersalllinkissue1286 messages
2012-11-25 04:52:26Wade.Tattersallcreate