parcon icon indicating copy to clipboard operation
parcon copied to clipboard

Fix thread import error

Open rprinz08 opened this issue 3 years ago • 0 comments

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 ...

rprinz08 avatar Dec 09 '22 14:12 rprinz08