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 serhiy.storchaka
Recipients doerwalter, eric.araujo, lemburg, loewis, serhiy.storchaka
Date 2012-06-10.18:51:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1339354296.18692.82.camel@raxxla>
In-reply-to <4FD4D46E.1000709@v.loewis.de>
Content
> So the answer to your last question is "yes". I hope that the answer to
> your other questions follows from that

Thank you, this is the answer to all my questions. I've prepared a patch
to treat U+FFFE in general mapping as “undefined mapping”.

>  (strictly speaking, it's only
> U+FFFE, not 0xFFFE, that is documented as indicating an undefined
> mapping; a patch should probably fix that).

As both integer 0xXXXX and string '\uXXXX' denote U+XXXX, I do not think
it necessary fixes.

> (I also wonder where the support for LookupError comes from - that 
> appears to be undocumented)

I believe, this is what is meant by the words "undefined mapping".
Files
File name Uploaded
decode_charmap_fffe.patch serhiy.storchaka, 2012-06-10.18:51:28
History
Date User Action Args
2012-06-10 18:51:29serhiy.storchakasetrecipients: + serhiy.storchaka, lemburg, loewis, doerwalter, eric.araujo
2012-06-10 18:51:28serhiy.storchakalinkissue14850 messages
2012-06-10 18:51:28serhiy.storchakacreate