[issue19272] Can't pickle lambda (while named functions are ok)

Facundo Batista report at bugs.python.org
Wed Oct 16 20:27:50 CEST 2013


Facundo Batista added the comment:

Ethan, lambda functions are included in "functions defined at the top level of a module".

Probably we should note there something like "except lambdas, because function pickling is by name, not by code".

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19272>
_______________________________________


More information about the Python-bugs-list mailing list