[issue9276] pickle should support methods

Antoine Pitrou report at bugs.python.org
Wed Mar 2 11:37:30 CET 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

> Amaury:
> 
> Your example succeeds on Linux but fails on Windows:
> 
> 	$ python3.2 main.py

I think the difference has to do with Python 3 vs. Python 2.
In Python 3 unbound methods are not wrapped in a specific object, and so
ForkingPickler does not find their global name.

----------

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


More information about the Python-bugs-list mailing list