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/2016-May/144426.html below:

[Python-Dev] Restore functions pickling

[Python-Dev] Restore functions pickling [Python-Dev] Restore functions picklingВсеволод Величко torkvemada at sorokdva.net
Wed May 4 14:37:40 EDT 2016
Hello,

I was recently porting my application from Py2 to Py3 and encountered
error, when I accidentally became unable to define my own pickling
mechanism for functions.
Before that I was using it to pickle pure lambdas, registering my own
handler for cPickle with copy_reg, but after [1] (and release 3.4) it seems
that feature has been removed.

As it mentioned in commit message, this was done for compatibility with
pure-python pickle. So I have to ask, may be it would be better to revert
the commit and add the corresponding feature to pure-python pickle
implementation?


[1] https://hg.python.org/cpython/rev/6bd1f0a27e8e

-- 
Best wishes,
Vsevolod Velichko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20160504/3da6e9fc/attachment.html>
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