[Python-Dev] PEP XXX: Compact ordered dict
songofacandy at gmail.com
Thu Jun 23 11:26:28 EDT 2016
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. :)
I can't. Since OrderedDict inherits dict. OrderedDict implementation
based on dict
Since I'm not expert of Python object system, I don't know how to
implementation from dict.
INADA Naoki <songofacandy at gmail.com>
More information about the Python-Dev