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

replace OrderedDict with dict #414

Merged
merged 1 commit into from
May 12, 2023

Conversation

terencehonles
Copy link
Contributor

I have made things!

This change replaces OrderedDict with dict as done in encode/django-rest-framework#8964. This does not look like it has been released yet, but since this package requires Python 3.8 which is > Python 3.5, which was the last release to need OrderedDict, then this change should be safe to merge now. It should also be safe because dict is a superclass of OrderedDict and should not change anything for users who are using OrderedDict still.

Related issues

This change replaces `OrderedDict` with `dict` as done in
encode/django-rest-framework#8964. This does not
look like it has been released yet, but since this package requires
Python 3.8 which is > Python 3.5, which was the last release to need
`OrderedDict`, then this change should be safe to merge now. It should
also be safe because `dict` is a superclass of `OrderedDict` and should
not change anything for users who are using `OrderedDict` still.
@sobolevn sobolevn merged commit 8b53c9b into typeddjango:master May 12, 2023
@sobolevn
Copy link
Member

Thanks!

@terencehonles terencehonles deleted the dict-update branch May 23, 2023 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants