From: Benjamin Peterson Date: Wed, 11 Jun 2008 18:02:31 +0000 (+0000) Subject: add old names back into __all__ X-Git-Tag: v2.6b1~75 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=13f7382e0d4087e5aaa511819e20b5b08405a819;p=python add old names back into __all__ --- diff --git a/Lib/threading.py b/Lib/threading.py index b6f0375bcd..bfca44c065 100644 --- a/Lib/threading.py +++ b/Lib/threading.py @@ -16,7 +16,8 @@ from traceback import format_exc as _format_exc from collections import deque # Rename some stuff so "from threading import *" is safe -__all__ = ['active_count', 'Condition', 'current_thread', 'enumerate', 'Event', +__all__ = ['activeCount', 'active_count', 'Condition', 'currentThread', + 'current_thread', 'enumerate', 'Event', 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Thread', 'Timer', 'setprofile', 'settrace', 'local', 'stack_size']