Re-add threadless builds

This commit is contained in:
Padraic Fanning committed 2021-05-23 20:14:35 -04:00
1 parent 2cb17cc61d
commit 4d552e82ce
1 file changed
+5 -1
+5 -1
View File
@@ -45,7 +45,11 @@ import errno as _errno
from random import Random as _Random
import sys as _sys
import weakref as _weakref
import _thread
try:
import _thread
except ImportError:
import _dummy_thread as _thread
_allocate_lock = _thread.allocate_lock
_text_openflags = _os.O_RDWR | _os.O_CREAT | _os.O_EXCL