From: Antoine Pitrou Date: Tue, 11 Oct 2011 16:51:53 +0000 (+0200) Subject: Avoid pulling threading when _thread is sufficient X-Git-Tag: v3.3.0a1~1229 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bb0ad4cfa17a027e0416d6cafdea9387881c5614;p=thirdparty%2FPython%2Fcpython.git Avoid pulling threading when _thread is sufficient --- diff --git a/Lib/reprlib.py b/Lib/reprlib.py index 092874a18feb..f8033604da28 100644 --- a/Lib/reprlib.py +++ b/Lib/reprlib.py @@ -5,7 +5,7 @@ __all__ = ["Repr", "repr", "recursive_repr"] import builtins from itertools import islice try: - from threading import get_ident + from _thread import get_ident except ImportError: from _dummy_thread import get_ident