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, gvanrossum, hniksic, jcea, rhettinger
Date 2008-08-11.05:27:15
SpamBayes Score 3.3338807e-08
Marked as misclassified No
Message-id <1218432439.55.0.675145350842.issue2389@psf.upfronthosting.co.za>
In-reply-to
Content
I don't see why this cannot be fixed easily. All we need to do is fix
the __reduce__ method of array objects to emit a list--i.e. with
array.tolist()--instead of a memory string. Since the reduce protocol is
just a fancy way to store the constructor arguments, this won't break
unpickling of array objects pickled by previous Python versions.

And here is a patch against the trunk.
History
Date User Action Args
2008-08-11 05:27:19alexandre.vassalottisetrecipients: + alexandre.vassalotti, gvanrossum, rhettinger, jcea, hniksic, benjamin.peterson
2008-08-11 05:27:19alexandre.vassalottisetmessageid: <1218432439.55.0.675145350842.issue2389@psf.upfronthosting.co.za>
2008-08-11 05:27:18alexandre.vassalottilinkissue2389 messages
2008-08-11 05:27:17alexandre.vassalotticreate