Amaury Forgeot d'Arc added the comment:

Adding "def __getstate__(self): return None" to the namedtuple template fixes 
the issue.  Here is a patch with test.

----------
nosy: +amaury.forgeotdarc
Added file: http://bugs.python.org/file27131/namedtuple-pickle.diff

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

Reply via email to