Message252745
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. |
|
Date |
User |
Action |
Args |
2015-10-10 20:03:10 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, pitrou, alexandre.vassalotti |
2015-10-10 20:03:10 | serhiy.storchaka | set | messageid: <1444507390.05.0.862514167793.issue25370@psf.upfronthosting.co.za> |
2015-10-10 20:03:10 | serhiy.storchaka | link | issue25370 messages |
2015-10-10 20:03:09 | serhiy.storchaka | create | |
|