New submission from Vsevolod Velichko:

The commit [2] removed support for handling unpicklable functions with copyreg 
override from cpickle due to lack of the same feature in pickle.
This patch restores that feature and adds the support of it to pickle.

[1] Original discussion: 
https://mail.python.org/pipermail/python-dev/2016-May/144426.html
[2] https://hg.python.org/cpython/rev/6bd1f0a27e8e

----------
components: Extension Modules
files: function_pickle.patch
keywords: patch
messages: 264866
nosy: torkve
priority: normal
severity: normal
status: open
title: pickle: respect dispatch for functions again
type: behavior
versions: Python 3.6
Added file: http://bugs.python.org/file42727/function_pickle.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26959>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to