A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2018-March/152541.html below:

[Python-Dev] PEP 574 -- Pickle protocol 5 with out-of-band data

[Python-Dev] PEP 574 -- Pickle protocol 5 with out-of-band data [Python-Dev] PEP 574 -- Pickle protocol 5 with out-of-band dataSerhiy Storchaka storchaka at gmail.com
Thu Mar 29 14:13:10 EDT 2018
28.03.18 23:19, Antoine Pitrou пише:
> Agreed.  Do you know by which timeframe you'll know which opcodes you
> want to add?

I'm currently in the middle of the first part, trying to implement 
pickling local classes with static and class methods without creating 
loops. Other parts exist just like general ideas, I didn't rite code for 
them still. I try to do this with existing protocols, but maybe some new 
opcodes will be needed for efficiency. We are now at the early stage of 
3.8 developing, and I think we have a lot of time.

It wouldn't deserve bumping pickle version, but if we do this already, 
it would be worth to add shorter versions for FRAME. Currently it uses 
64-bit size, and 9 bytes is a large overhead for short pickles. 8-bit 
size would reduce overhead for short pickles, and 32-bit size would be 
enough for any practical use (larger data is not wrapped in a frame).

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4