Antoine Pitrou <pit...@free.fr> added the comment:

> Only worry is that codecs.latin_1_encode.__module__ is '_codecs', and
> _codecs is undocumented.

It seems we have to choose between two evils here. Given that the 
codecs.latin_1_encode produces more compact pickles, I'd say go for it.

Note that for the empty bytes object (b""), the encoding can be massively 
simplified by simply calling bytes() with no argument.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13505>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to