mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Re-add threadless builds
This commit is contained in:
1 file changed
+5
-1
Vendored
+5
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user