[issue1820] Enhance Object/structseq.c to match namedtuple and tuple api

Stefan Krah report at bugs.python.org
Sun Apr 27 20:14:46 CEST 2014


Stefan Krah added the comment:

>> 1. _asdict() returns a normal dictionary. I don't know if this is what
>>    is required.

Good question. I don't think we can import OrderedDict from collections
because of the impact on startup time (_collections_abc was created to
avoid the issue for MutableMapping).

----------

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


More information about the Python-bugs-list mailing list