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 pitrou
Recipients benjamin.peterson, ezio.melotti, neologix, pitrou, stefanholek, vstinner
Date 2011-11-04.20:52:34
SpamBayes Score 4.081475e-05
Marked as misclassified No
Message-id <[email protected]>
In-reply-to <[email protected]>
Content
> 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.
History
Date User Action Args
2011-11-04 20:52:35pitrousetrecipients: + pitrou, vstinner, benjamin.peterson, ezio.melotti, stefanholek, neologix
2011-11-04 20:52:34pitroulinkissue13342 messages
2011-11-04 20:52:34pitroucreate