[Python-3000] marshalling bytes objects

Neal Norwitz nnorwitz at gmail.com
Sat Aug 25 05:49:10 CEST 2007


On 8/24/07, Neal Norwitz <nnorwitz at gmail.com> wrote:
> I see in PEP 358 (bytes) http://www.python.org/dev/peps/pep-0358/ that
> marshalling bytes is an open issue and needs to be specified.  I'm
> converting code objects to use bytes for the bytecode and lnotab.  Is
> there anything special to be aware of here?

By "here" I was originally thinking about the marshaling aspect.  But
clearly the mutability of bytes isn't particularly good for code
objects. :-)  This goes back to the question of whether bytes should
be able to be immutable (frozen).

n


More information about the Python-3000 mailing list