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 vstinner
Recipients Arfrever, ishimoto, loewis, methane, mrabarnett, ncoghlan, pitrou, rurpy2, serhiy.storchaka, vstinner
Date 2012-08-09.08:31:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAMpsgwbWzO2v7N-BNZKGP21jBiK7yfVR=Kj0aF74aqFthkaM9Q@mail.gmail.com>
In-reply-to <1344478099.91.0.0886645207953.issue15216@psf.upfronthosting.co.za>
Content
> Victor proposes that it's acceptable to simply disallow changing the encoding of a stream that isn't seekable.

It is no what I said. My patch raises an exception if you already
started to read stdin. It should work fine if stdin is a pipe but the
read buffer is empty.
History
Date User Action Args
2012-08-09 08:31:22vstinnersetrecipients: + vstinner, loewis, ishimoto, ncoghlan, pitrou, mrabarnett, Arfrever, methane, rurpy2, serhiy.storchaka
2012-08-09 08:31:22vstinnerlinkissue15216 messages
2012-08-09 08:31:22vstinnercreate