[Python-checkins] r64133 - python/trunk/Lib/threading.py

benjamin.peterson python-checkins at python.org
Wed Jun 11 20:02:38 CEST 2008


Author: benjamin.peterson
Date: Wed Jun 11 20:02:31 2008
New Revision: 64133

Log:
add old names back into __all__


Modified:
   python/trunk/Lib/threading.py

Modified: python/trunk/Lib/threading.py
==============================================================================
--- python/trunk/Lib/threading.py	(original)
+++ python/trunk/Lib/threading.py	Wed Jun 11 20:02:31 2008
@@ -16,7 +16,8 @@
 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']
 


More information about the Python-checkins mailing list