Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@rprinz08
Copy link

@rprinz08 rprinz08 commented Dec 9, 2022

On newer Python versions, thread module was renamed to threading and low level functions are available in _thread module. Thats why ordered_dict.py backport fails on newer Python versions (e.g. Python 3.10.x) trying to import thread.
This PR fixes this by trying to import _threads first, then falling back to other options ...

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.

1 participant