[issue14850] The inconsistency of codecs.charmap_decode
Serhiy Storchaka
report at bugs.python.org
Sun Jun 10 17:59:14 CEST 2012
Serhiy Storchaka <storchaka at gmail.com> added the comment:
> What is the question? U+FFFE also represents an undefined mapping in
> string subclasses.
What about classes that not subclassed string but ducktyped string by
implementing all string method? What about list/tuple/array.array of
integers or 1-character strings? What about general mapping? Should any
of them have 0xFFFE or '\uFFFE' represent an undefined mapping?
> This is a single issue, a single bug. If the bug is fixed, it is fixed.
> No need to go further (unless there is another bug somewhere).
My question, where is the limit of this bug.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14850>
_______________________________________
More information about the Python-bugs-list
mailing list