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 pitrou
Recipients alexandre.vassalotti, irmen, meador.inge, pitrou, sbt
Date 2011-12-12.17:39:15
SpamBayes Score 0.016892783
Marked as misclassified No
Message-id <1323711556.62.0.135294543592.issue13505@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2011-12-12 17:39:16pitrousetrecipients: + pitrou, irmen, alexandre.vassalotti, meador.inge, sbt
2011-12-12 17:39:16pitrousetmessageid: <1323711556.62.0.135294543592.issue13505@psf.upfronthosting.co.za>
2011-12-12 17:39:16pitroulinkissue13505 messages
2011-12-12 17:39:15pitroucreate