[issue29517] "Can't pickle local object" when uses functools.partial with method and args...

Yury Selivanov report at bugs.python.org
Mon Mar 13 17:29:47 EDT 2017


Yury Selivanov added the comment:

> AttributeError: Can't pickle local object 'WeakSet.__init__.<locals>._remove'

Well, I don't think we can do something about it. Just re-pack your arguments from WeakSet to a regular set.

----------

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


More information about the Python-bugs-list mailing list