Message147036
| 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. |
|