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 stefanholek
Recipients benjamin.peterson, ezio.melotti, neologix, pitrou, stefanholek, vstinner
Date 2011-11-04.20:51:04
SpamBayes Score 0.0002959728
Marked as misclassified No
Message-id <>
Thank you Antoine, this looks good.

However when I try your example I get

sys.stdin = io.TextIOWrapper(
    sys.stdin.detach(), 'ascii', 'replace')
ValueError: underlying buffer has been detached

Date User Action Args
2011-11-04 20:51:05stefanholeksetrecipients: + stefanholek, pitrou, vstinner, benjamin.peterson, ezio.melotti, neologix
2011-11-04 20:51:05stefanholeksetmessageid: <>
2011-11-04 20:51:04stefanholeklinkissue13342 messages
2011-11-04 20:51:04stefanholekcreate