[issue25315] OrderedDict mangled private attribute is inaccessible

Emanuel Barry report at bugs.python.org
Wed Oct 7 09:31:56 EDT 2015


Emanuel Barry added the comment:

The Python implementation will stay for two main reasons, one to provide a working implementation for all those who wish to use a modified version (you, for example, if you want to use a version that lets you alter order), and two for alternate implementations which don't have OrderedDict in the _collections module (a comment even hints at that in the source).

I fully agree on the confusing part, however. Maybe a comment could be added regarding this.

----------

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


More information about the Python-bugs-list mailing list