(original) (raw)
On Mon, 18 Dec 2017 at 07:30 Steve Holden <steve@holdenweb.com> wrote:
I submitted the 3.6 patch that Raymond committed. The purpose of the change was to allow access to the ordering of the columns.It doesn't use any of the OrderedDict-only methods, and I'd be very surprised if a reversion to using dict in 3.7 would cause any tests to fail.
But as Guido pointed out, the expected interface of what gets returned would be broken. I say just leave it as-is.
-Brett
regardsSteveSteve HoldenOn Mon, Dec 18, 2017 at 6:30 AM, 尚辉 <shangdahao@gmail.com> wrote:\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_Since regular dicts are ordered in 3.7, it might be cleaner to returning regular dict instead of OrderedDict?
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: https://mail.python.org/mailman/options/python-dev/brett%40python.org