[issue13537] Namedtuple instances can't be pickled in a daemonized process

Antoine Pitrou report at bugs.python.org
Tue Dec 6 13:35:42 CET 2011


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

As far as I can tell, this has nothing to do with daemon processes and all to do with the fact that user-defined classes have to be globally visible for their instances to be pickled. It is because pickles reference classes by name, and local names obviously don't work for that.

In other words, this is not a bug.

----------
nosy: +alexandre.vassalotti, pitrou
resolution:  -> invalid
status: open -> pending
versions:  -Python 3.4

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


More information about the Python-bugs-list mailing list