Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Python] Return plain dicts, not OrderedDict, on Python 3.7+ #21656

Closed
asfimport opened this issue Apr 17, 2019 · 1 comment
Closed

[Python] Return plain dicts, not OrderedDict, on Python 3.7+ #21656

asfimport opened this issue Apr 17, 2019 · 1 comment

Comments

@asfimport
Copy link

On Python 3.7 and onwards, builtin dict is guaranteed to be insertion-ordered. So there's no need to return a OrderedDict anymore.

(builtin dict is slightly smaller, faster, and can have a nicer repr output)

Reporter: Antoine Pitrou / @pitrou

PRs and other links:

Note: This issue was originally created as ARROW-5179. Please see the migration documentation for further details.

@asfimport
Copy link
Author

Wes McKinney / @wesm:
Issue resolved by pull request 4190
#4190

@asfimport asfimport added this to the 0.14.0 milestone Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant