[issue24931] _asdict breaks when inheriting from a namedtuple

Eric Snow report at bugs.python.org
Mon Aug 31 17:09:55 CEST 2015


Eric Snow added the comment:

Doesn't the fix mean that `vars(MyNamedtuple)` will no longer work?  While I personally don't mind (though I prefer that spelling) and appreciate the benefit of simpler code, isn't there a backward-compatibility issue here?

I do concede that fixing this bug without a compatibility break is complicated and probably not worth it.  However I want to make sure that the point is at least discussed briefly.

----------
nosy: +eric.snow

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


More information about the Python-bugs-list mailing list