Antoine Pitrou added the comment: (By the way, OrderedDict.__sizeof__ already breaks the rule you are trying to impose) ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue19048> _______________________________________