There are a number of ways to make it work (mostly). However, I'll
defer to Raymond on how strictly OrderedDict should "subclass" from
dict.
-eric
On Thu, Jun 23, 2016 at 9:26 AM, INADA Naoki wrote:
> On Fri, Jun 24, 2016 at 12:03 AM, Eric Snow
> wrote:
>> On Mon, Jun 20, 2016 at 11:02 PM, IN
On Fri, Jun 24, 2016 at 12:03 AM, Eric Snow wrote:
> On Mon, Jun 20, 2016 at 11:02 PM, INADA Naoki wrote:
>> On Tue, Jun 21, 2016 at 12:17 PM, Oleg Broytman wrote:
>>> (if a PEP is needed at all)
>>
>> I don't think so. My PEP is not for changing Python Language,
>> just describe implementation
On Mon, Jun 20, 2016 at 11:02 PM, INADA Naoki wrote:
> On Tue, Jun 21, 2016 at 12:17 PM, Oleg Broytman 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
FYI, Here is calculated size of each dict by len(d).
https://docs.google.com/spreadsheets/d/1nN5y6IsiJGdNxD7L7KBXmhdUyXjuRAQR_WbrS8zf6mA/edit?usp=sharing
On Tue, Jun 21, 2016 at 12:17 PM, Oleg Broytman wrote:
> Hi!
>
> On Tue, Jun 21, 2016 at 11:14:39AM +0900, INADA Naoki
> wrote:
>> Here is my
On Tue, Jun 21, 2016 at 12:17 PM, Oleg Broytman wrote:
> Hi!
>
> On Tue, Jun 21, 2016 at 11:14:39AM +0900, INADA Naoki
> wrote:
>> Here is my draft, but I haven't
>> posted it yet since
>> my English is much worse than C.
>> https://www.dropbox.com/s/s85n9b2309k03cq/pep-compact-dict.txt?dl=0
>
>
Hi!
On Tue, Jun 21, 2016 at 11:14:39AM +0900, INADA Naoki
wrote:
> Here is my draft, but I haven't
> posted it yet since
> my English is much worse than C.
> https://www.dropbox.com/s/s85n9b2309k03cq/pep-compact-dict.txt?dl=0
It's good enough for a start (if a PEP is needed at all). If you p