[issue9680] Add in declaration order support for the dictionary passed in to the meta class __init__ and __new__ methods

R. David Murray report at bugs.python.org
Wed Aug 25 14:43:06 CEST 2010


R. David Murray <rdmurray at bitdance.com> added the comment:

The ordering of dictionary keys is a fundamental property of Python dictionaries (it's a hash table).  PEP 3115 provides the functionality you are looking for, your metaclass just needs to be slightly more complicated.

----------
nosy: +r.david.murray
resolution:  -> out of date
stage:  -> committed/rejected
status: open -> closed

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


More information about the Python-bugs-list mailing list