[issue24931] _asdict breaks when inheriting from a namedtuple

Raymond Hettinger report at bugs.python.org
Mon Oct 12 12:18:22 EDT 2015


Raymond Hettinger added the comment:

> it seems odd that it has disappeared.

It disappeared because it was fundamentally broken in Python 3, so it had to be removed.  Providing __dict__ broke subclassing and produced odd behaviors.

----------
keywords:  -3.5regression
priority: high -> normal

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


More information about the Python-bugs-list mailing list