Module Expr Str ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Return TupleLoad NameLoad TupleLoad decorator_list decorator_list FunctionDef arguments args defaults body If CompareIsNot NameLoad NameLoad body Return Call NameLoad orelse Return Call NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body If CompareNotIn Str AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr If CompareNotIn Str AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args defaults vararg body Expr Str If CompareIsNot NameLoad NameLoad body For NameStore NameLoad body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults Num body Expr Str Global identifier identifier identifier If NameLoad body If UnaryOpNot NameLoad body If CompareIsNot NameLoad NameLoad body Assign NameStore NameLoad ClassDef bases AttributeLoad NameLoad attr NameLoad body FunctionDef arguments args NameParam defaults body Return TupleLoad NameLoad TupleLoad decorator_list decorator_list Assign NameStore Call NameLoad orelse Raise Call NameLoad Str orelse If NameLoad body Raise Call NameLoad Str orelse Pass decorator_list Assign NameStore Call NameLoad FunctionDef arguments args defaults body If CompareIs NameLoad NameLoad body Return NameLoad Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Str Return CompareEq NameLoad Call NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Global identifier Assign NameStore Call NameLoad decorator_list Assign NameStore NameLoad Assign NameStore NameLoad TryExcept body Import alias identifier Import alias identifier handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad orelse Expr Call NameLoad NameLoad Assign NameStore ListLoad Str Str Str Str
N/A N/A 
A module that will allow your program to be multi-threaded,
micro-threaded, and single-threaded.  Currently microthreads are
unimplemented.  The idea is to abstract away some commonly used
functionality so that I don't have to special-case it in all programs.
 twisted.python hook DummyLock N/A object N/A N/A 
    Hack to allow locks to be unpickled on an unthreaded system.
     __reduce__ N/A N/A self N/A N/A N/A N/A unpickle_lock N/A N/A N/A unpickle_lock N/A N/A N/A N/A N/A N/A threadingmodule None N/A N/A N/A XLock N/A N/A N/A DummyLock N/A N/A N/A unpickle_lock __safe_for_unpickling__ True _synchPre N/A N/A self N/A a b N/A N/A N/A _threadable_lock N/A self __dict__ N/A N/A N/A N/A _synchLockCreator acquire N/A N/A _threadable_lock N/A self __dict__ N/A N/A N/A N/A self __dict__ N/A _threadable_lock N/A XLock N/A N/A N/A _synchLockCreator release N/A N/A N/A N/A self _threadable_lock acquire N/A _synchPost N/A N/A self N/A a b N/A N/A N/A N/A N/A self _threadable_lock release N/A synchronize N/A N/A N/A klasses N/A N/A Make all methods listed in each class' synchronized attribute synchronized.

    The synchronized attribute should be a list of strings, consisting of the
    names of methods that must be synchronized. If we are running in threaded
    mode these methods will be wrapped with a lock.
     N/A N/A threadmodule None N/A N/A klass klasses N/A N/A methodName N/A klass synchronized N/A N/A N/A N/A hook addPre klass methodName _synchPre N/A N/A N/A hook addPost klass methodName _synchPost N/A init N/A N/A with_threads N/A 1 N/A N/A Initialize threading.

    Don't bother calling this.  If it needs to happen, it will happen.
     N/A threaded _synchLockCreator XLock N/A with_threads N/A N/A N/A threaded N/A N/A N/A threadmodule None N/A N/A threaded True XLock N/A N/A threadingmodule _RLock object N/A __reduce__ N/A N/A self N/A N/A N/A N/A unpickle_lock N/A N/A N/A N/A _synchLockCreator N/A XLock N/A N/A N/A RuntimeError Cannot initialize threading, platform lacks thread support N/A N/A threaded N/A N/A N/A RuntimeError Cannot uninitialize threads N/A N/A N/A N/A _dummyID N/A object getThreadID N/A N/A N/A N/A N/A N/A threadmodule None N/A N/A _dummyID N/A N/A N/A threadmodule get_ident N/A isInIOThread N/A N/A N/A N/A N/A Are we in the thread responsable for I/O requests (the event loop)?
     N/A N/A ioThread N/A getThreadID N/A registerAsIOThread N/A N/A N/A N/A N/A Mark the current thread as responsable for I/O requests.
     N/A ioThread N/A ioThread N/A getThreadID N/A N/A ioThread None N/A threaded False N/A N/A N/A thread threadmodule N/A threading threadingmodule N/A N/A N/A ImportError N/A N/A threadmodule None N/A threadingmodule None N/A N/A N/A init True N/A __all__ N/A isInIOThread registerAsIOThread getThreadID XLock