[Python-Dev] PEP 487: Simpler customization of class creation
Eric Snow
ericsnowcurrently at gmail.com
Tue Jun 21 13:12:26 EDT 2016
On Mon, Jun 20, 2016 at 12:31 PM, Nikita Nemkin <nikita at nemkin.ru> wrote:
> Right. Ordered by default is a very serious implementation constraint.
> It's only superior in a sense that it completely subsumes/obsoletes
> PEP 520.
Just to be clear, PEP 520 is more than just OrderedDict-by-default.
In fact, the key point is preserving the definition order, which the
PEP now reflects better. Raymond's compact dict would only provide
the ordered-by-default part and does nothing to persist the definition
order like the PEP specifies.
-eric
More information about the Python-Dev
mailing list