Message147045
Python 3.2.2 (default, Nov 4 2011, 22:28:55)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys, io
>>> w = io.TextIOWrapper(sys.stdin.detach(), 'ascii', 'replace')
>>> input
<built-in function input>
>>> input()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: underlying buffer has been detached |
|
Date |
User |
Action |
Args |
2011-11-04 21:35:08 | stefanholek | set | recipients:
+ stefanholek, pitrou, vstinner, benjamin.peterson, ezio.melotti, neologix |
2011-11-04 21:35:08 | stefanholek | set | messageid: <1320442508.81.0.0471115251419.issue13342@psf.upfronthosting.co.za> |
2011-11-04 21:35:08 | stefanholek | link | issue13342 messages |
2011-11-04 21:35:08 | stefanholek | create | |
|