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 <1320439687.3379.4.camel@localhost.localdomain>
In-reply-to <1320439865.29.0.167773709217.issue13342@psf.upfronthosting.co.za>
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