Wade Tattersall added the comment:

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()

----------
nosy: +Wade.Tattersall

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue1286>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to