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

remove backport of collections.OrderedDict for Py2.7 support #218

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

a-detiste
Copy link
Contributor

collections.OrderedDict is available since Python3.1

https://docs.python.org/3/library/collections.html#collections.OrderedDict

@bashtage
Copy link
Contributor

Given the minimum supported python is 3
6, are all dict ordered now?

@a-detiste
Copy link
Contributor Author

I've heard "It is an implementation detail" and should not be relied on.

@bashtage
Copy link
Contributor

Looks like 3.7 is the minimum python where all dicts are ordered.

@bashtage
Copy link
Contributor

I've heard "It is an implementation detail" and should not be relied on.

It is required from 3.7.

https://mail.python.org/pipermail/python-dev/2017-December/151283.html

@a-detiste
Copy link
Contributor Author

So merge this in now and change it again later when 3.7 is minimum

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants