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 alexandre.vassalotti
Recipients alexandre.vassalotti, benjamin.peterson, collinwinter, gvanrossum, hniksic, jcea, loewis, rhettinger
Date 2009-07-06.23:30:36
SpamBayes Score 1.2934098e-13
Marked as misclassified No
Message-id <1246923041.9.0.505872255541.issue2389@psf.upfronthosting.co.za>
In-reply-to
Content
I know believe that arrays should be pickled as a list of values on
Python 2.x. Doing otherwise makes it impossible to unpickle arrays
coming from Python 2.x using Python 3.x, since pickle on Python 3
decodes all the strings from 2.x to Unicode.

However, we still can use the compact memory representation on Python 3.x.

So, I propose that we change the array module on Python 2.x to emit a
list instead of memory string and implement the portable array pickling
mechanism only on Python 3.x.
History
Date User Action Args
2009-07-06 23:30:42alexandre.vassalottisetrecipients: + alexandre.vassalotti, gvanrossum, loewis, collinwinter, rhettinger, jcea, hniksic, benjamin.peterson
2009-07-06 23:30:41alexandre.vassalottisetmessageid: <1246923041.9.0.505872255541.issue2389@psf.upfronthosting.co.za>
2009-07-06 23:30:40alexandre.vassalottilinkissue2389 messages
2009-07-06 23:30:40alexandre.vassalotticreate