On 7/26/2018 1:21 PM, 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 is, as there is a back-compatibility issue but I remember there being changes.

Whoops, I meant to send this query elsewhere, so I could answer properly here.

--
Terry Jan Reedy


_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to