mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Fix bootstrap issues when building without threads
This commit is contained in:
parent
39a6591507
commit
db1bad2d70
2 changed files with 9 additions and 5 deletions
|
@ -6,7 +6,7 @@ import builtins
|
|||
from itertools import islice
|
||||
try:
|
||||
from _thread import get_ident
|
||||
except AttributeError:
|
||||
except ImportError:
|
||||
from _dummy_thread import get_ident
|
||||
|
||||
def recursive_repr(fillvalue='...'):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue