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 serhiy.storchaka
Recipients alexandre.vassalotti, pitrou, serhiy.storchaka
Date 2015-10-10.20:03:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1444507390.05.0.862514167793.issue25370@psf.upfronthosting.co.za>
In-reply-to
Content
Pickle protocols < 4 allow to pickle bytes and str object with 32-bit size. One of features of protocol 4 was the support of 64-bit sizes.

It is possible to add support of very large bytes and str objects with protocols 2 and 3. The idea is that the long string is splitted on chunks with 32-bit sizes and the resulting string is reconstructed with calling ''.join(). The main part of the feature can be implemented in Python as helpers in copyreg.

The question is: is it worthwhile to implement this feature? I already implemented two other features of protocol 4 for protocols 2 and 3: nested objects and __new__ with keyword arguments.
History
Date User Action Args
2015-10-10 20:03:10serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, alexandre.vassalotti
2015-10-10 20:03:10serhiy.storchakasetmessageid: <1444507390.05.0.862514167793.issue25370@psf.upfronthosting.co.za>
2015-10-10 20:03:10serhiy.storchakalinkissue25370 messages
2015-10-10 20:03:09serhiy.storchakacreate