On 11 Apr 2014 07:00, "Barry Warsaw" <barry@python.org> wrote:
On Apr 10, 2014, at 08:20 PM, Andrew Barnert wrote:
I think your own example shows why this doesn't work.
Not really. It was just a silly example for conciseness. I don't care
how
you build up the OrderedDict, and there are several order-preserving ways to do that. I'm not sure it's a good idea to change *all of Python* just to make the OD constructor nicer.
It's not "all of Python" - it's only functions that accept **kwargs. And when your code is speed critical, doing that's already a bad idea. Cheers, Nick.
-Barry
_______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/