[Python-Dev] PEP: Ordered Class Definition Namespace

Serhiy Storchaka storchaka at gmail.com
Wed Jun 8 01:28:03 EDT 2016


On 07.06.16 20:51, Eric Snow wrote:
> Hi all,
>
> Following discussion a few years back (and rough approval from Guido
> [1]), I started work on using OrderedDict for the class definition
> namespace by default.  The bulk of the effort lay in implementing
> OrderedDict in C, which I got landed just in time for 3.5.  The
> remaining work was quite minimal and the actual change is quite small.
>
> My intention was to land the patch soon, having gone through code
> review during PyCon.  However, Nick pointed out to me the benefit of
> having a concrete point of reference for the change, as well as making
> sure it isn't a problem for other implementations.  So in that spirit,
> here's a PEP for the change.  Feedback is welcome, particularly from
> from other implementors.

Be aware that C implementation of OrderedDict still is not free from 
problems.




More information about the Python-Dev mailing list