except:
from dummy_thread import allocate_lock as _thread_allocate_lock
-__author__ = "Brett Cannon"
-__email__ = "brett@python.org"
-
__all__ = ['strptime']
def _getlang():
import dummy_thread as thread
"""
-__author__ = "Brett Cannon"
-__email__ = "brett@python.org"
-
-# Exports only things specified by thread documentation
-# (skipping obsolete synonyms allocate(), start_new(), exit_thread())
+# Exports only things specified by thread documentation;
+# skipping obsolete synonyms allocate(), start_new(), exit_thread().
__all__ = ['error', 'start_new_thread', 'exit', 'get_ident', 'allocate_lock',
'interrupt_main', 'LockType']
directly imported it would have made all subsequent imports succeed
regardless of whether ``thread`` was available which is not desired.
-:Author: Brett Cannon
-:Contact: brett@python.org
-
-XXX: Try to get rid of ``_dummy_threading``.
-
"""
from sys import modules as sys_modules