Re: [Python-Dev] [issue34221] Any plans to combine collections.OrderedDict with dict

2018-07-27 Thread Raymond Hettinger
> On Jul 26, 2018, at 10:23 AM, Terry Reedy wrote: > > On python-idea, Miro Hrončok asked today whether we can change the > OrderedDict repr from, for instance, > > OrderedDict([('a', '1'), ('b', '2')]) # to > OrderedDict({'a': '1', 'b': '2'}) > > I am not sure what our repr change policy

Re: [Python-Dev] [issue34221] Any plans to combine collections.OrderedDict with dict

2018-07-26 Thread Terry Reedy
On 7/26/2018 2:15 AM, Raymond Hettinger wrote: On Jul 25, 2018, at 8:23 PM, INADA Naoki wrote: On Thu, Jul 26, 2018 at 12:04 PM Zhao Lee wrote: Since Python 3.7,dicts remember the order that items were inserted, so any plans to combine collections.OrderedDict with dict?

Re: [Python-Dev] [issue34221] Any plans to combine collections.OrderedDict with dict

2018-07-26 Thread Raymond Hettinger
> On Jul 25, 2018, at 8:23 PM, INADA Naoki wrote: > > On Thu, Jul 26, 2018 at 12:04 PM Zhao Lee wrote: >> >> >> Since Python 3.7,dicts remember the order that items were inserted, so any >> plans to combine collections.OrderedDict with dict? >>