On Fri, Jun 24, 2016 at 12:03 AM, Eric Snow <[email protected]> wrote: > On Mon, Jun 20, 2016 at 11:02 PM, INADA Naoki <[email protected]> wrote: >> On Tue, Jun 21, 2016 at 12:17 PM, Oleg Broytman <[email protected]> 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 <[email protected]> _______________________________________________ Python-Dev mailing list [email protected] https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
