[Python-Dev] PEP XXX: Compact ordered dict

Eric Snow ericsnowcurrently at gmail.com
Fri Jun 24 18:27:18 EDT 2016

There are a number of ways to make it work (mostly).  However, I'll
defer to Raymond on how strictly OrderedDict should "subclass" from


On Thu, Jun 23, 2016 at 9:26 AM, INADA Naoki <songofacandy at gmail.com> wrote:
> On Fri, Jun 24, 2016 at 12:03 AM, Eric Snow <ericsnowcurrently at gmail.com> wrote:
>> On Mon, Jun 20, 2016 at 11:02 PM, INADA Naoki <songofacandy at gmail.com> wrote:
>>> On Tue, Jun 21, 2016 at 12:17 PM, Oleg Broytman <phd at phdru.name> wrote:
>>>> (if a PEP is needed at all)
>>> I don't think so. My PEP is not for changing Python Language,
>>> just describe implementation detail.
>>> Python 3.5 has new OrderedDict implemented in C without PEP.
>>> My patch is relatively small than it.  And the idea has been well known.
>> How about, for 3.6, target re-implementing OrderedDict using the
>> compact dict approach (and leave dict alone for now).  That way we
>> have an extra release cycle to iron out the kinks before switching
>> dict over for 3.7. :)
>> -eric
> I can't.  Since OrderedDict inherits dict.  OrderedDict implementation
> based on dict
> implementation.
> Since I'm not expert of Python object system,  I don't know how to
> separate OrderedDict
> implementation from dict.
> --
> INADA Naoki  <songofacandy at gmail.com>

More information about the Python-Dev mailing list