[issue13342] input() builtin always uses "strict" error handler
Antoine Pitrou
report at bugs.python.org
Fri Nov 4 21:52:35 CET 2011
Antoine Pitrou <pitrou at free.fr> added the comment:
> However when I try your example I get
>
> sys.stdin = io.TextIOWrapper(
> sys.stdin.detach(), 'ascii', 'replace')
> ValueError: underlying buffer has been detached
Which version of Python (and which OS?). It works fine here on latest
3.2 and 3.3 branches.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13342>
_______________________________________
More information about the Python-bugs-list
mailing list