Back to index

python3.2  3.2.2
dummy_threading Namespace Reference


 holding_thread = False
 holding_threading = False
 holding__threading_local = False
list held_thread = sys_modules['_thread']
list held_threading = sys_modules['threading']
list held__threading_local = sys_modules['_threading_local']

Detailed Description

Faux ``threading`` version using ``dummy_thread`` instead of ``thread``.

The module ``_dummy_threading`` is added to ``sys.modules`` in order
to not have ``threading`` considered imported.  Had ``threading`` been
directly imported it would have made all subsequent imports succeed
regardless of whether ``_thread`` was available which is not desired.

Variable Documentation

list dummy_threading.held__threading_local = sys_modules['_threading_local']

Definition at line 41 of file

list dummy_threading.held_thread = sys_modules['_thread']

Definition at line 23 of file

list dummy_threading.held_threading = sys_modules['threading']

Definition at line 33 of file

Definition at line 16 of file

Definition at line 14 of file

Definition at line 15 of file