[Python-3000] PEP: Python3 and UnicodeDecodeError
Nick Coghlan
ncoghlan at gmail.com
Thu Oct 2 14:31:06 CEST 2008
M.-A. Lemburg wrote:
> On 2008-10-02 13:50, Victor Stinner wrote:
>> This is a PEP describing the behaviour of Python3 on UnicodeDecodeError.
>
> The PEP doesn't appear to address any potential changes. Wouldn't
> it be better to add such information to the Python3 documentation
> itself ?!
True, a simple wiki page would probably be adequate - once we agree on
the details, it can be added to the main Python 3 docs.
Victor - the Python wiki is also one of the easiest places to work on
early PEP drafts. See
http://wiki.python.org/moin/PythonEnhancementProposals.
> Not only there: the C API makes various assumptions on the default
> encoding as well. We should probably drop the term "default encoding"
> altogether and replace it with "utf-8".
>
> sys.setdefaultencoding() should probably be dropped altogether from
> Python3.
Isn't that method still there to allow other implementations to be more
permissive about allowing the default encoding to be changed?
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
---------------------------------------------------------------
http://www.boredomandlaziness.org
More information about the Python-3000
mailing list