This is a PEP describing the behaviour of Python3 on UnicodeDecodeError. It's
a *draft*, don't hesitate to comment it. This document suppose that my patch
to allow bytes filenames is accept which is not the case today.
While I was writing this document I found poential problems in Python3. So
h
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 ?!
> It's
> a *draft*, don't hesitate
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
Le Thursday 02 October 2008 14:07:50 M.-A. Lemburg, vous avez écrit :
> On 2008-10-02 13:50, Victor Stinner wrote:
> > This is a PEP (...)
>
> The PEP doesn't appear to address any potential changes. Wouldn't
> it be better to add such information to the Python3 documentation
> itself ?!
I don't k
Python3 traceback have bugs making debugging harder:
[Py3k] line number is wrong after encoding declaration
http://bugs.python.org/issue2384
PyTraceBack_Print() doesn't respect # coding: xxx header
http://bugs.python.org/issue3975
Both issues has patch + testcase.
--
About the coding hea
Le Thursday 02 October 2008 14:31:06, vous avez écrit :
> Victor - the Python wiki is also one of the easiest places to work on
> early PEP drafts. See
> http://wiki.python.org/moin/PythonEnhancementProposals.
Ok, I converted the document to the wiki syntax:
http://wiki.python.org/moin/Python3Unic
> About the coding header, IDLE doesn't read #coding: header. Here is a fix
> (use
> tokenize.detect_encoding):
> http://bugs.python.org/issue4008
Are you really sure about that? It did in the past.
Regards,
Martin
___
Python-3000 mailing list
Python-
>> 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?
That never was my understanding - although it's an interesting thought.
I
Le Thursday 02 October 2008 22:32:43 Martin v. Löwis, vous avez écrit :
> > About the coding header, IDLE doesn't read #coding: header. Here is a fix
> > (use tokenize.detect_encoding):
> > http://bugs.python.org/issue4008
>
> Are you really sure about that? It did in the past.
Try IDLE in an ASCI
Silence is one of hardest arguments to refute
Have a great day!<><><><>___
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe:
http://mail.python.org/mailman/options/python-3000/archive%40ma
10 matches
Mail list logo