[issue24931] _asdict breaks when inheriting from a namedtuple
New submission from Samuel Isaacson: When inheriting from namedtuples, _asdict and __dict__ return empty dictionaries: from collections import namedtuple class Point(namedtuple('_Point', ['x', 'y'])): pass a = Point(3, 4) print(a._asdic
[issue24931] _asdict breaks when inheriting from a namedtuple
Samuel Isaacson added the comment: Sorry; it returns True on Python 3.4, False on Python 2.7.6. -- ___ Python tracker <http://bugs.python.org/issue24931> ___ ___