STINNER Victor added the comment:
This issue is just a documentation issue. The do must be more explicit,
explain that the codecs is only used internally by the pickle module, and
that its output cannot be used anymore by eval().
--
___
Python
Changes by Berker Peksag berker.pek...@gmail.com:
--
stage: needs patch - resolved
superseder: - 'codecs' module docs improvements
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19539
___
Changes by Jan Kaliszewski z...@chopin.edu.pl:
--
resolution: - duplicate
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19539
___
Jan Kaliszewski added the comment:
My concerns are now being addressed in the issue19548.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19539
___
Martin Panter added the comment:
[Edit Error: 'utf8' codec can't decode byte 0xe2 in position 212: invalid
continuation byte]
Re-reading the suggested description, it struck me that for encoding, this is
redundant with the “backslashreplace” error handler:
test = .join(map(chr,
Martin Panter added the comment:
I included the proposed doc fix in my patch for Issue 19548
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19539
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19539
___
___
Python-bugs-list
Marc-Andre Lemburg added the comment:
Jan, the codec implements an encoding which has certain characteristics just
like any other codec. It works both in Python 2 and 3 without problems.
The documentation is no longer true, though. Ever since we added encoding
markers to source files, the raw