Fix bootstrap issues when building without threads

This commit is contained in:
Antoine Pitrou 2010-11-05 19:58:28 +00:00
parent 39a6591507
commit db1bad2d70
2 changed files with 9 additions and 5 deletions

View file

@ -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='...'):