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

Raymond Hettinger python at rcn.com
Mon Mar 2 07:47:26 CET 2009

[Armin Ronacher]
> 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?

Guido, I'm recommending this PEP for acceptance.


More information about the Python-Dev mailing list