[issue24685] collections.OrderedDict collaborative subclassing

Éric Araujo report at bugs.python.org
Fri Jul 24 18:53:52 CEST 2015


Éric Araujo added the comment:

FWIW I once helped a friend combine OrderedDict and defaultdict:
https://gist.github.com/merwok/11268759

The behavior can be surprising if we don’t know what Raymond said about design choices in OrderedDict, but it was not hard (in the default+ordered case) to work around.

----------
nosy: +eric.araujo

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


More information about the Python-bugs-list mailing list