[Python-Dev] PEP 372 -- Adding an ordered directory to collections ready for pronouncement

Armin Ronacher armin.ronacher at active-4.com
Sun Mar 1 20:13:27 CET 2009

Hi everybody,

PEP 372 was modified so that it provides a simpler API (only the dict API
to be exact) and it was decided to start with a Python-only implementation
and replace it with a C version later if necessary.

Annotated changes from earlier versions of the PEP:

-   the extra API for ordered dict was dropped to keep the interface
    simple and clean.  Future versions can still be expanded but it's
    impossible to drop features later on.

-   To keep the implementation simple 3.1 / 2.7 will ship with a
    Python-only version of the class.  It can still be rewritten in
    C if it turns out to be too slow or thread safety is required.

The corresponding issue in the tracker: http://bugs.python.org/issue5397
Link to the PEP: http://www.python.org/dev/peps/pep-0372/

Anything else that should be done?


More information about the Python-Dev mailing list