Commit 71431ef5 authored by Amaury Forgeot d'Arc's avatar Amaury Forgeot d'Arc

Backport part of r86217: Fix issues when building without threads

parent 80860381
......@@ -14,7 +14,7 @@ from itertools import repeat as _repeat, chain as _chain, starmap as _starmap, \
ifilter as _ifilter, imap as _imap
try:
from thread import get_ident
except AttributeError:
except ImportError:
from dummy_thread import get_ident
def _recursive_repr(user_function):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment