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 ncoghlan
Recipients Arfrever, elixir, ishimoto, loewis, methane, mrabarnett, ncoghlan, pitrou, rurpy2, serhiy.storchaka, vstinner
Date 2013-11-06.12:03:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1383739391.3.0.715965213658.issue15216@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks, Andrei, that would be great.

The tests and the Python version in Victor's patch show the desired API and behaviour.

In theory, the C version should just be a matter of adding an equivalent textiowrapper_set_encoding method as a static function in 
hg.python.org/cpython/file/default/Modules/_io/textio.c
History
Date User Action Args
2013-11-06 12:03:11ncoghlansetrecipients: + ncoghlan, loewis, ishimoto, pitrou, vstinner, mrabarnett, Arfrever, methane, rurpy2, serhiy.storchaka, elixir
2013-11-06 12:03:11ncoghlansetmessageid: <1383739391.3.0.715965213658.issue15216@psf.upfronthosting.co.za>
2013-11-06 12:03:11ncoghlanlinkissue15216 messages
2013-11-06 12:03:11ncoghlancreate