Module Expr Str Import alias identifier TryExcept body Import alias handlers ExceptHandler type NameLoad body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Raise Import alias ImportFrom alias ImportFrom alias identifier alias identifier ImportFrom alias identifier ImportFrom alias Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Delete NameDel Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str keyword Str Assign NameStore NameLoad If NameLoad body ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body If AttributeLoad NameLoad attr body Assign NameStore BinOpMod NameLoad NameLoad Assign NameStore BinOpMod Str TupleLoad AttributeLoad Call NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list orelse ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults vararg body Pass decorator_list decorator_list Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Global identifier Assign NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Global identifier Assign NameStore NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args defaults vararg kwarg body Return Call NameLoad NameLoad NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr BoolOpAnd NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Assign NameStore Call NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr Num If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Return Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad orelse If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Return NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr Call NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameStore BinOpSub AttributeLoad NameLoad attr Num If UnaryOpNot NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad orelse If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return CompareIs AttributeLoad NameLoad attr Call NameLoad decorator_list decorator_list FunctionDef arguments args defaults vararg kwarg body Return Call NameLoad NameLoad NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr TryExcept body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass TryExcept body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass TryExcept body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults vararg body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body If Call AttributeLoad AttributeLoad NameLoad attr attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr TryFinally body If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad orelse Assign NameStore BinOpAdd Call NameLoad NameLoad Assign NameStore Num While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num If NameLoad body Break Assign NameStore BinOpSub NameLoad Call NameLoad If CompareLtE NameLoad Num body Break Assign NameStore Call NameLoad BinOpMult NameLoad Num NameLoad Num Expr Call NameLoad NameLoad If UnaryOpNot NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Pass orelse If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad finalbody Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body If UnaryOpNot Call AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Slice NameLoad If UnaryOpNot NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Return Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad BoolOpOr BoolOpAnd CompareNotEq NameLoad Num Str Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list Assign NameStore NameLoad decorator_list FunctionDef arguments args defaults vararg kwarg body Return Call NameLoad NameLoad NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults Num NameLoad body If CompareLt NameLoad Num body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Assign NameStore NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr While CompareEq AttributeLoad NameLoad attr Num body If UnaryOpNot NameLoad body Break If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign AttributeStore NameLoad attr BinOpSub AttributeLoad NameLoad attr Num If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr Assign NameStore NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr Num If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args defaults vararg kwarg body Return Call NameLoad NameLoad NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults Num NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareGtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise NameLoad Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args defaults vararg kwarg body Return Call NameLoad NameLoad NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TryFinally body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr finalbody Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TryFinally body Assign AttributeStore NameLoad attr NameLoad finalbody Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TryFinally body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad finalbody Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list Assign NameStore Num FunctionDef arguments args NameParam defaults Str body Global identifier Assign NameStore BinOpAdd NameLoad Num Return BinOpMod NameLoad NameLoad decorator_list Assign NameStore Call NameLoad Assign NameStore Dict Assign NameStore Dict ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad TupleLoad NameLoad NameLoad body Assert CompareIs NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Dict Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad BoolOpOr NameLoad Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad Call NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assert AttributeLoad NameLoad attr Str Assign NameStore Str If Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Str If AttributeLoad NameLoad attr body Assign NameStore Str If AttributeLoad NameLoad attr body AugAssignAdd NameStore Str If CompareIsNot AttributeLoad NameLoad attr NameLoad body AugAssignAdd NameStore BinOpMod Str AttributeLoad NameLoad attr Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str If Call AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad Str If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr TupleLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body TryFinally body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr finalbody Delete AttributeDel NameLoad attr AttributeDel NameLoad attr AttributeDel NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler body If BoolOpAnd AttributeLoad NameLoad attr CompareIs NameLoad NameLoad body Return Raise decorator_list FunctionDef arguments args NameParam defaults body TryFinally body Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Delete SubscriptDel NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad ExceptHandler body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call NameLoad orelse Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr TryFinally body Print AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str Print AttributeLoad NameLoad attr Str While NameLoad body Print AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad NameLoad attr Print AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad finalbody Delete NameDel NameDel NameDel orelse If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad finalbody Expr Call AttributeLoad NameLoad attr finalbody With NameLoad body Expr Call AttributeLoad NameLoad attr TryExcept body Delete SubscriptDel NameLoad Index Call NameLoad handlers ExceptHandler body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body With NameLoad body Delete SubscriptDel NameLoad Index Call NameLoad handlers ExceptHandler type NameLoad body If CompareNotIn Str AttributeLoad NameLoad attr body Raise decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad Str If CompareIs NameLoad Call NameLoad body Raise Call NameLoad Str If NameLoad body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr TryFinally body If CompareIs NameLoad NameLoad body While UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad orelse Assign NameStore BinOpAdd Call NameLoad NameLoad While UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore BinOpSub NameLoad Call NameLoad If CompareLtE NameLoad Num body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Break Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad finalbody Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assert AttributeLoad NameLoad attr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assert AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assert AttributeLoad NameLoad attr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assert AttributeLoad NameLoad attr Str Return BoolOpAnd Call AttributeLoad AttributeLoad NameLoad attr attr UnaryOpNot AttributeLoad NameLoad attr decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assert AttributeLoad NameLoad attr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str If Call AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args defaults vararg kwarg body Return Call NameLoad NameLoad NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults ListLoad Dict body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad If NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad While NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args defaults body For NameStore Call NameLoad body If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad keyword Call NameLoad Str Delete AttributeDel NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assert NameLoad Str decorator_list decorator_list FunctionDef arguments args defaults body TryExcept body Return SubscriptLoad NameLoad Index Call NameLoad handlers ExceptHandler type NameLoad body Return Call NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd Call NameLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list ImportFrom alias Assign NameStore AttributeLoad Call NameLoad attr TryExcept body ImportFrom alias identifier handlers ExceptHandler type NameLoad body ImportFrom alias FunctionDef arguments args defaults body Global identifier Assign NameStore Call NameLoad Assign NameStore Dict Assign NameStore Call NameLoad With NameLoad body For NameStore Call AttributeLoad NameLoad attr body If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assert CompareEq Call NameLoad NameLoad Num decorator_list FunctionDef arguments args defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr While CompareGtE Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr While UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Num While CompareLt NameLoad AttributeLoad NameLoad attr body Assign NameStore BinOpAdd NameLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Expr Call NameLoad BinOpMult Call NameLoad Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body While CompareGt AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Print NameLoad Assign AttributeStore NameLoad attr BinOpSub AttributeLoad NameLoad attr Num decorator_list decorator_list Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr BinOpMod Str BinOpAdd NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad BinOpMult NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call NameLoad Num Expr Call AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A Thread module emulating a subset of Java's threading model. N/A sys _sys N/A N/A N/A thread N/A N/A N/A ImportError N/A N/A N/A N/A _sys modules N/A __name__ N/A N/A warnings functools wraps time time _time sleep _sleep traceback format_exc _format_exc collections deque N/A __all__ N/A activeCount active_count Condition currentThread current_thread enumerate Event Lock RLock Semaphore BoundedSemaphore Thread Timer setprofile settrace local stack_size N/A _start_new_thread N/A thread start_new_thread N/A _allocate_lock N/A thread allocate_lock N/A _get_ident N/A thread get_ident N/A ThreadError N/A thread error N/A thread N/A N/A N/A warnings filterwarnings ignore category DeprecationWarning module threading message sys.exc_clear N/A _VERBOSE False N/A __debug__ N/A _Verbose N/A object N/A __init__ N/A N/A self verbose N/A None N/A N/A N/A verbose None N/A N/A verbose _VERBOSE N/A N/A self __verbose verbose N/A _note N/A N/A self format N/A args N/A N/A N/A self __verbose N/A N/A format N/A format args N/A format N/A %s: %s
 N/A N/A N/A current_thread name format N/A N/A N/A N/A _sys stderr write format N/A N/A N/A _Verbose N/A object N/A __init__ N/A N/A self verbose N/A None N/A N/A N/A _note N/A N/A self N/A args N/A N/A N/A N/A N/A _profile_hook None N/A _trace_hook None setprofile N/A N/A func N/A N/A N/A _profile_hook N/A _profile_hook func N/A settrace N/A N/A func N/A N/A N/A _trace_hook N/A _trace_hook func N/A N/A Lock _allocate_lock RLock N/A N/A N/A args kwargs N/A N/A N/A _RLock args kwargs N/A _RLock N/A _Verbose N/A __init__ N/A N/A self verbose N/A None N/A N/A N/A N/A _Verbose __init__ self verbose N/A N/A self __block N/A _allocate_lock N/A N/A self __owner None N/A N/A self __count 0 N/A __repr__ N/A N/A self N/A N/A N/A owner N/A self __owner N/A N/A <%s(%s, %d)> N/A N/A N/A self __class__ __name__ N/A owner N/A owner name N/A self __count N/A acquire N/A N/A self blocking N/A 1 N/A N/A me N/A current_thread N/A N/A N/A self __owner me N/A N/A N/A self __count N/A N/A self __count 1 N/A __debug__ N/A N/A N/A N/A self _note %s.acquire(%s): recursive success self blocking N/A 1 N/A rc N/A N/A N/A self __block acquire blocking N/A rc N/A N/A N/A self __owner me N/A N/A self __count 1 N/A __debug__ N/A N/A N/A N/A self _note %s.acquire(%s): initial success self blocking N/A N/A __debug__ N/A N/A N/A N/A self _note %s.acquire(%s): failure self blocking N/A rc N/A N/A __enter__ acquire release N/A N/A self N/A N/A N/A N/A N/A self __owner N/A current_thread N/A N/A N/A RuntimeError cannot release un-aquired lock N/A N/A self __count count N/A N/A self __count 1 N/A N/A count N/A N/A N/A self __owner None N/A N/A N/A N/A self __block release N/A __debug__ N/A N/A N/A N/A self _note %s.release(): final release self N/A N/A __debug__ N/A N/A N/A N/A self _note %s.release(): non-final release self N/A __exit__ N/A N/A self t v tb N/A N/A N/A N/A N/A self release N/A _acquire_restore N/A N/A self count_owner N/A N/A N/A N/A count owner count_owner N/A N/A N/A N/A self __block acquire N/A N/A self __count count N/A N/A self __owner owner N/A __debug__ N/A N/A N/A N/A self _note %s._acquire_restore() self N/A _release_save N/A N/A self N/A N/A N/A __debug__ N/A N/A N/A N/A self _note %s._release_save() self N/A count N/A self __count N/A N/A self __count 0 N/A owner N/A self __owner N/A N/A self __owner None N/A N/A N/A N/A self __block release N/A N/A count owner N/A _is_owned N/A N/A self N/A N/A N/A N/A N/A self __owner N/A current_thread N/A N/A Condition N/A N/A N/A args kwargs N/A N/A N/A _Condition args kwargs N/A _Condition N/A _Verbose N/A __init__ N/A N/A self lock verbose N/A None None N/A N/A N/A N/A _Verbose __init__ self verbose N/A N/A lock None N/A N/A lock N/A RLock N/A N/A self __lock lock N/A N/A self acquire N/A lock acquire N/A N/A self release N/A lock release N/A N/A N/A N/A self _release_save N/A lock _release_save N/A N/A N/A AttributeError N/A N/A N/A N/A N/A N/A self _acquire_restore N/A lock _acquire_restore N/A N/A N/A AttributeError N/A N/A N/A N/A N/A N/A self _is_owned N/A lock _is_owned N/A N/A N/A AttributeError N/A N/A N/A N/A self __waiters N/A N/A __enter__ N/A N/A self N/A N/A N/A N/A N/A N/A self __lock __enter__ N/A __exit__ N/A N/A self N/A args N/A N/A N/A N/A N/A self __lock __exit__ args N/A __repr__ N/A N/A self N/A N/A N/A N/A <Condition(%s, %d)> N/A N/A self __lock N/A len N/A self __waiters N/A _release_save N/A N/A self N/A N/A N/A N/A N/A N/A self __lock release N/A _acquire_restore N/A N/A self x N/A N/A N/A N/A N/A N/A self __lock acquire N/A _is_owned N/A N/A self N/A N/A N/A N/A N/A N/A self __lock acquire 0 N/A N/A N/A N/A N/A self __lock release N/A False N/A N/A True N/A wait N/A N/A self timeout N/A None N/A N/A N/A N/A N/A self _is_owned N/A N/A N/A RuntimeError cannot wait on un-aquired lock N/A waiter N/A _allocate_lock N/A N/A N/A waiter acquire N/A N/A N/A N/A self __waiters append waiter N/A saved_state N/A N/A self _release_save N/A N/A N/A N/A timeout None N/A N/A N/A N/A waiter acquire N/A __debug__ N/A N/A N/A N/A self _note %s.wait(): got it self N/A N/A endtime N/A N/A _time timeout N/A delay 0.0005 N/A True N/A N/A gotit N/A N/A waiter acquire 0 N/A gotit N/A N/A N/A remaining N/A endtime N/A _time N/A N/A remaining 0 N/A N/A N/A delay N/A min N/A delay 2 remaining 0.05 N/A N/A _sleep delay N/A N/A gotit N/A N/A __debug__ N/A N/A N/A N/A self _note %s.wait(%s): timed out self timeout N/A N/A N/A N/A N/A N/A self __waiters remove waiter N/A N/A N/A ValueError N/A N/A N/A N/A __debug__ N/A N/A N/A N/A self _note %s.wait(%s): got it self timeout N/A N/A N/A N/A self _acquire_restore saved_state N/A notify N/A N/A self n N/A 1 N/A N/A N/A N/A N/A self _is_owned N/A N/A N/A RuntimeError cannot notify on un-aquired lock N/A __waiters N/A self __waiters N/A waiters N/A __waiters N/A n N/A N/A waiters N/A N/A __debug__ N/A N/A N/A N/A self _note %s.notify(): no waiters self N/A N/A N/A N/A self _note %s.notify(): notifying %d waiter%s self n N/A N/A N/A n 1 s N/A waiter waiters N/A N/A N/A N/A waiter release N/A N/A N/A N/A N/A __waiters remove waiter N/A N/A N/A ValueError N/A N/A N/A notifyAll N/A N/A self N/A N/A N/A N/A N/A self notify N/A len N/A self __waiters N/A N/A notify_all notifyAll N/A Semaphore N/A N/A N/A args kwargs N/A N/A N/A _Semaphore args kwargs N/A _Semaphore N/A _Verbose N/A __init__ N/A N/A self value verbose N/A 1 None N/A N/A N/A value 0 N/A N/A N/A ValueError semaphore initial value must be >= 0 N/A N/A N/A _Verbose __init__ self verbose N/A N/A self __cond N/A Condition N/A Lock N/A N/A self __value value N/A acquire N/A N/A self blocking N/A 1 N/A N/A rc False N/A N/A N/A N/A self __cond acquire N/A N/A N/A self __value 0 N/A N/A N/A blocking N/A N/A N/A __debug__ N/A N/A N/A N/A self _note %s.acquire(%s): blocked waiting, value=%s self blocking N/A self __value N/A N/A N/A N/A self __cond wait N/A N/A N/A self __value N/A N/A self __value 1 N/A __debug__ N/A N/A N/A N/A self _note %s.acquire: success, value=%s self N/A self __value N/A rc True N/A N/A N/A N/A self __cond release N/A rc N/A N/A __enter__ acquire release N/A N/A self N/A N/A N/A N/A N/A N/A self __cond acquire N/A N/A self __value N/A N/A self __value 1 N/A __debug__ N/A N/A N/A N/A self _note %s.release: success, value=%s self N/A self __value N/A N/A N/A N/A self __cond notify N/A N/A N/A N/A self __cond release N/A __exit__ N/A N/A self t v tb N/A N/A N/A N/A N/A self release N/A N/A BoundedSemaphore N/A N/A N/A args kwargs N/A N/A N/A _BoundedSemaphore args kwargs N/A _BoundedSemaphore N/A _Semaphore N/A N/A Semaphore that checks that # releases is <= # acquires __init__ N/A N/A self value verbose N/A 1 None N/A N/A N/A N/A _Semaphore __init__ self value verbose N/A N/A self _initial_value value N/A release N/A N/A self N/A N/A N/A N/A N/A self _Semaphore__value N/A self _initial_value N/A N/A ValueError Semaphore released too many times N/A N/A N/A _Semaphore release self N/A N/A Event N/A N/A N/A args kwargs N/A N/A N/A _Event args kwargs N/A _Event N/A _Verbose N/A __init__ N/A N/A self verbose N/A None N/A N/A N/A N/A _Verbose __init__ self verbose N/A N/A self __cond N/A Condition N/A Lock N/A N/A self __flag False N/A isSet N/A N/A self N/A N/A N/A N/A self __flag N/A N/A is_set isSet set N/A N/A self N/A N/A N/A N/A N/A N/A self __cond acquire N/A N/A N/A N/A self __flag True N/A N/A N/A N/A self __cond notify_all N/A N/A N/A N/A N/A self __cond release N/A clear N/A N/A self N/A N/A N/A N/A N/A N/A self __cond acquire N/A N/A N/A N/A self __flag False N/A N/A N/A N/A N/A self __cond release N/A wait N/A N/A self timeout N/A None N/A N/A N/A N/A N/A self __cond acquire N/A N/A N/A N/A N/A self __flag N/A N/A N/A N/A N/A self __cond wait timeout N/A N/A N/A N/A N/A self __cond release N/A N/A N/A _counter 0 _newname N/A N/A template N/A Thread-%d N/A N/A _counter N/A _counter N/A _counter 1 N/A N/A template _counter N/A N/A _active_limbo_lock N/A _allocate_lock N/A _active N/A N/A _limbo N/A Thread N/A _Verbose N/A N/A __initialized False N/A __exc_info N/A _sys exc_info N/A __exc_clear N/A _sys exc_clear __init__ N/A N/A self group target name args kwargs verbose N/A None None None N/A None None N/A N/A N/A group None group argument must be None for now N/A N/A N/A _Verbose __init__ self verbose N/A N/A kwargs None N/A N/A kwargs N/A N/A N/A self __target target N/A N/A self __name N/A str N/A name N/A _newname N/A N/A self __args args N/A N/A self __kwargs kwargs N/A N/A self __daemonic N/A N/A self _set_daemon N/A N/A self __ident None N/A N/A self __started N/A Event N/A N/A self __stopped False N/A N/A self __block N/A Condition N/A Lock N/A N/A self __initialized True N/A N/A self __stderr N/A _sys stderr N/A _set_daemon N/A N/A self N/A N/A N/A N/A N/A current_thread daemon N/A __repr__ N/A N/A self N/A N/A N/A N/A self __initialized Thread.__init__() was not called N/A status initial N/A N/A N/A N/A self __started is_set N/A N/A status started N/A N/A self __stopped N/A N/A status stopped N/A N/A self __daemonic N/A N/A status  daemon N/A N/A N/A self __ident None N/A N/A status N/A  %s N/A self __ident N/A N/A <%s(%s, %s)> N/A N/A N/A self __class__ __name__ N/A self __name status N/A start N/A N/A self N/A N/A N/A N/A N/A self __initialized N/A N/A N/A RuntimeError thread.__init__() not called N/A N/A N/A N/A self __started is_set N/A N/A N/A RuntimeError thread already started N/A __debug__ N/A N/A N/A N/A self _note %s.start(): starting thread self N/A N/A N/A _active_limbo_lock acquire N/A N/A _limbo N/A self self N/A N/A N/A _active_limbo_lock release N/A N/A _start_new_thread N/A self __bootstrap N/A N/A N/A N/A N/A self __started wait N/A run N/A N/A self N/A N/A N/A N/A N/A N/A self __target N/A N/A N/A N/A self __target N/A self __args N/A self __kwargs N/A N/A N/A self __target N/A self __args N/A self __kwargs N/A __bootstrap N/A N/A self N/A N/A N/A N/A N/A N/A N/A self __bootstrap_inner N/A N/A N/A N/A N/A N/A self __daemonic N/A _sys None N/A N/A N/A N/A __bootstrap_inner N/A N/A self N/A N/A N/A N/A N/A N/A self __ident N/A _get_ident N/A N/A N/A N/A self __started set N/A N/A N/A _active_limbo_lock acquire N/A N/A _active N/A N/A self __ident self N/A N/A _limbo N/A self N/A N/A N/A _active_limbo_lock release N/A __debug__ N/A N/A N/A N/A self _note %s.__bootstrap(): thread started self N/A _trace_hook N/A N/A N/A N/A self _note %s.__bootstrap(): registering trace hook self N/A N/A N/A _sys settrace _trace_hook N/A _profile_hook N/A N/A N/A N/A self _note %s.__bootstrap(): registering profile hook self N/A N/A N/A _sys setprofile _profile_hook N/A N/A N/A N/A N/A N/A N/A self run N/A N/A N/A SystemExit N/A N/A __debug__ N/A N/A N/A N/A self _note %s.__bootstrap(): raised SystemExit self N/A N/A N/A __debug__ N/A N/A N/A N/A self _note %s.__bootstrap(): unhandled exception self N/A _sys N/A N/A N/A N/A N/A _sys stderr write N/A Exception in thread %s:
%s
 N/A N/A self name N/A _format_exc N/A N/A N/A exc_type exc_value exc_tb N/A N/A self __exc_info N/A N/A N/A N/A self __stderr N/A N/A Exception in thread  N/A self name  (most likely raised during interpreter shutdown): N/A N/A self __stderr Traceback (most recent call last): N/A exc_tb N/A N/A N/A self __stderr N/A   File "%s", line %s, in %s N/A N/A N/A N/A exc_tb tb_frame f_code co_filename N/A exc_tb tb_lineno N/A N/A N/A exc_tb tb_frame f_code co_name N/A exc_tb N/A exc_tb tb_next N/A N/A self __stderr N/A %s: %s N/A exc_type exc_value N/A N/A exc_type exc_value exc_tb N/A N/A __debug__ N/A N/A N/A N/A self _note %s.__bootstrap(): normal return self N/A N/A N/A N/A self __exc_clear N/A N/A _active_limbo_lock N/A N/A N/A N/A self __stop N/A N/A N/A N/A _active N/A N/A _get_ident N/A N/A N/A N/A N/A __stop N/A N/A self N/A N/A N/A N/A N/A N/A self __block acquire N/A N/A self __stopped True N/A N/A N/A N/A self __block notify_all N/A N/A N/A N/A self __block release N/A __delete N/A N/A self N/A N/A N/A Remove current thread from the dict of currently running threads. N/A N/A N/A _active_limbo_lock N/A N/A N/A _active N/A N/A _get_ident N/A N/A N/A KeyError N/A N/A N/A dummy_threading N/A _sys modules N/A N/A N/A join N/A N/A self timeout N/A None N/A N/A N/A N/A self __initialized N/A N/A N/A RuntimeError Thread.__init__() not called N/A N/A N/A N/A N/A self __started is_set N/A N/A N/A RuntimeError cannot join thread before it is started N/A N/A self N/A current_thread N/A N/A N/A RuntimeError cannot join current thread N/A __debug__ N/A N/A N/A N/A self __stopped N/A N/A N/A N/A self _note %s.join(): waiting until thread stops self N/A N/A N/A N/A self __block acquire N/A N/A N/A N/A timeout None N/A N/A N/A N/A self __stopped N/A N/A N/A N/A N/A self __block wait N/A __debug__ N/A N/A N/A N/A self _note %s.join(): thread stopped self N/A N/A deadline N/A N/A _time timeout N/A N/A N/A self __stopped N/A N/A delay N/A deadline N/A _time N/A N/A delay 0 N/A N/A __debug__ N/A N/A N/A N/A self _note %s.join(): timed out self N/A N/A N/A N/A N/A self __block wait delay N/A N/A __debug__ N/A N/A N/A N/A self _note %s.join(): thread stopped self N/A N/A N/A N/A N/A self __block release N/A name N/A N/A self N/A N/A N/A N/A self __initialized Thread.__init__() not called N/A N/A self __name N/A property name N/A N/A self name N/A N/A N/A N/A self __initialized Thread.__init__() not called N/A N/A self __name N/A str name N/A N/A name setter ident N/A N/A self N/A N/A N/A N/A self __initialized Thread.__init__() not called N/A N/A self __ident N/A property isAlive N/A N/A self N/A N/A N/A N/A self __initialized Thread.__init__() not called N/A N/A N/A N/A N/A self __started is_set N/A N/A self __stopped N/A N/A is_alive isAlive daemon N/A N/A self N/A N/A N/A N/A self __initialized Thread.__init__() not called N/A N/A self __daemonic N/A property daemon N/A N/A self daemonic N/A N/A N/A N/A N/A self __initialized N/A N/A N/A RuntimeError Thread.__init__() not called N/A N/A N/A N/A self __started is_set N/A N/A N/A RuntimeError cannot set daemon status of active thread N/A N/A self __daemonic daemonic N/A N/A daemon setter isDaemon N/A N/A self N/A N/A N/A N/A self daemon N/A setDaemon N/A N/A self daemonic N/A N/A N/A N/A self daemon daemonic N/A getName N/A N/A self N/A N/A N/A N/A self name N/A setName N/A N/A self name N/A N/A N/A N/A self name name N/A N/A Timer N/A N/A N/A args kwargs N/A N/A N/A _Timer args kwargs N/A _Timer N/A Thread N/A N/A Call a function after a specified number of seconds:

    t = Timer(30.0, f, args=[], kwargs={})
    t.start()
    t.cancel() # stop the timer's action if it's still waiting
     __init__ N/A N/A self interval function args kwargs N/A N/A N/A N/A N/A N/A N/A Thread __init__ self N/A N/A self interval interval N/A N/A self function function N/A N/A self args args N/A N/A self kwargs kwargs N/A N/A self finished N/A Event N/A cancel N/A N/A self N/A N/A N/A Stop the timer if it hasn't finished yet N/A N/A N/A N/A self finished set N/A run N/A N/A self N/A N/A N/A N/A N/A N/A self finished wait N/A self interval N/A N/A N/A N/A N/A self finished is_set N/A N/A N/A N/A self function N/A self args N/A self kwargs N/A N/A N/A N/A self finished set N/A N/A _MainThread N/A Thread N/A __init__ N/A N/A self N/A N/A N/A N/A N/A Thread __init__ self name MainThread N/A N/A N/A N/A self _Thread__started set N/A N/A N/A _active_limbo_lock acquire N/A N/A _active N/A N/A _get_ident self N/A N/A N/A _active_limbo_lock release N/A _set_daemon N/A N/A self N/A N/A N/A False N/A _exitfunc N/A N/A self N/A N/A N/A N/A N/A self _Thread__stop N/A t N/A _pickSomeNonDaemonThread N/A t N/A N/A __debug__ N/A N/A N/A N/A self _note %s: waiting for other threads self N/A t N/A N/A N/A N/A t join N/A t N/A _pickSomeNonDaemonThread N/A __debug__ N/A N/A N/A N/A self _note %s: exiting self N/A N/A N/A self _Thread__delete N/A N/A _pickSomeNonDaemonThread N/A N/A N/A N/A N/A t N/A enumerate N/A N/A N/A N/A N/A t daemon N/A N/A t is_alive N/A N/A t N/A None N/A _DummyThread N/A Thread N/A __init__ N/A N/A self N/A N/A N/A N/A N/A Thread __init__ self name N/A _newname Dummy-%d N/A N/A self _Thread__block N/A N/A N/A N/A self _Thread__started set N/A N/A N/A _active_limbo_lock acquire N/A N/A _active N/A N/A _get_ident self N/A N/A N/A _active_limbo_lock release N/A _set_daemon N/A N/A self N/A N/A N/A True N/A join N/A N/A self timeout N/A None N/A N/A False cannot join a dummy thread N/A N/A currentThread N/A N/A N/A N/A N/A N/A N/A N/A _active N/A N/A _get_ident N/A N/A N/A KeyError N/A N/A N/A _DummyThread N/A N/A current_thread currentThread activeCount N/A N/A N/A N/A N/A N/A N/A _active_limbo_lock acquire N/A count N/A N/A len _active N/A len _limbo N/A N/A N/A _active_limbo_lock release N/A count N/A N/A active_count activeCount enumerate N/A N/A N/A N/A N/A N/A N/A _active_limbo_lock acquire N/A active N/A N/A N/A _active values N/A N/A _limbo values N/A N/A N/A _active_limbo_lock release N/A active N/A thread stack_size N/A _shutdown N/A N/A _MainThread _exitfunc N/A N/A thread _local local N/A N/A N/A ImportError N/A _threading_local local _after_fork N/A N/A N/A N/A N/A _active_limbo_lock N/A _active_limbo_lock N/A _allocate_lock N/A new_active N/A N/A current N/A current_thread N/A _active_limbo_lock N/A N/A thread N/A N/A _active itervalues N/A N/A N/A thread current N/A N/A ident N/A _get_ident N/A N/A thread _Thread__ident ident N/A N/A new_active N/A ident thread N/A N/A N/A thread _Thread__stopped True N/A N/A N/A _limbo clear N/A N/A N/A _active clear N/A N/A N/A _active update new_active N/A N/A N/A len _active 1 N/A _test N/A N/A N/A N/A BoundedQueue N/A _Verbose N/A __init__ N/A N/A self limit N/A N/A N/A N/A N/A _Verbose __init__ self N/A N/A self mon N/A RLock N/A N/A self rc N/A Condition N/A self mon N/A N/A self wc N/A Condition N/A self mon N/A N/A self limit limit N/A N/A self queue N/A deque N/A put N/A N/A self item N/A N/A N/A N/A N/A N/A self mon acquire N/A N/A N/A len N/A self queue N/A self limit N/A N/A N/A N/A self _note put(%s): queue full item N/A N/A N/A N/A self wc wait N/A N/A N/A N/A self queue append item N/A N/A N/A self _note put(%s): appended, length now %d item N/A len N/A self queue N/A N/A N/A N/A self rc notify N/A N/A N/A N/A self mon release N/A get N/A N/A self N/A N/A N/A N/A N/A N/A self mon acquire N/A N/A N/A self queue N/A N/A N/A N/A self _note get(): queue empty N/A N/A N/A N/A self rc wait N/A item N/A N/A N/A self queue popleft N/A N/A N/A self _note get(): got %s, %d left item N/A len N/A self queue N/A N/A N/A N/A self wc notify N/A N/A N/A N/A self mon release N/A item N/A N/A ProducerThread N/A Thread N/A __init__ N/A N/A self queue quota N/A N/A N/A N/A N/A Thread __init__ self name Producer N/A N/A self queue queue N/A N/A self quota quota N/A run N/A N/A self N/A N/A random random N/A counter 0 N/A N/A counter N/A self quota N/A N/A counter N/A counter 1 N/A N/A N/A N/A self queue put N/A %s.%d N/A N/A self name counter N/A N/A _sleep N/A N/A random 1e-05 N/A N/A ConsumerThread N/A Thread N/A __init__ N/A N/A self queue count N/A N/A N/A N/A N/A Thread __init__ self name Consumer N/A N/A self queue queue N/A N/A self count count N/A run N/A N/A self N/A N/A N/A N/A N/A self count 0 N/A N/A item N/A N/A N/A self queue get N/A item N/A N/A self count N/A N/A self count 1 N/A N/A N/A NP 3 N/A QL 4 N/A NI 5 N/A Q N/A BoundedQueue QL N/A P N/A N/A i N/A range NP N/A N/A t N/A ProducerThread Q NI N/A N/A t name N/A Producer-%d N/A i 1 N/A N/A N/A P append t N/A C N/A ConsumerThread Q N/A NI NP N/A t P N/A N/A N/A N/A t start N/A N/A _sleep 1e-06 N/A N/A N/A C start N/A t P N/A N/A N/A N/A t join N/A N/A N/A C join N/A N/A N/A __name__ __main__ N/A N/A N/A _test