Module Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias TryExcept body Import alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr ClassDef bases body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Num decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Raise Call AttributeLoad NameLoad attr decorator_list Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Raise Call NameLoad decorator_list Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Pass orelse Assign NameStore Num While CompareGt NameLoad Num body Expr Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad ListLoad ListLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str If CompareIn Str NameLoad body Break AugAssignSub NameStore Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Str Str Str Str Str Assign NameStore TupleLoad TupleLoad AttributeLoad NameLoad attr Str TupleLoad AttributeLoad NameLoad attr Str TupleLoad AttributeLoad NameLoad attr Str TupleLoad AttributeLoad NameLoad attr Str TupleLoad AttributeLoad NameLoad attr Str TupleLoad AttributeLoad NameLoad attr Str ClassDef bases body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list For TupleStore NameStore NameStore NameLoad body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad CompareEq NameLoad NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad Assign NameStore Dict For NameStore Call NameLoad Num body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad If NameLoad body Assign NameStore AttributeLoad NameLoad attr TryFinally body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr finalbody Assign TupleStore NameStore AttributeStore NameLoad attr TupleLoad AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Raise Call NameLoad Str handlers ExceptHandler body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Str Assign TupleStore TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad BinOpMod Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Str TryFinally body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad finalbody Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad BinOpMod Str NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Str Assign NameStore Str TryFinally body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str finalbody Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore ListLoad BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr TupleLoad Assign NameStore Call NameLoad Assign NameStore AttributeLoad NameLoad attr TryFinally body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr finalbody Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore ListLoad Str Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad NameLoad Str With Call AttributeLoad NameLoad attr keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareNotEq NameLoad Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Assign NameStore TupleLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr TryFinally body Expr Call AttributeLoad NameLoad attr Num Assign NameStore Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Num While BoolOpAnd AttributeLoad NameLoad attr CompareGt NameLoad Num body Expr Call AttributeLoad NameLoad attr AugAssignSub NameStore Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpMult NameLoad Num finalbody Expr Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr NameLoad Str Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr BinOpAdd BinOpAdd AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore ListLoad ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list decorator_list Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword Num keyword NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Str decorator_list Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Raise decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Slice Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Raise decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Assign NameStore BinOpDiv Call NameLoad NameLoad Num Assign NameStore Num While BoolOpAnd AttributeLoad NameLoad attr CompareGt NameLoad Num body Expr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Return AugAssignSub NameStore Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list Assign NameStore Call NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Slice Num decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list Assign NameStore Call NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMult Str Num decorator_list decorator_list Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr NameLoad Str FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list Assign NameStore Call NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr NameLoad Str FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Num AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr BinOpDiv Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad TryExcept body Raise handlers ExceptHandler type NameLoad body Pass orelse Raise Call NameLoad Str decorator_list decorator_list Assign NameStore Call NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Num keyword AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Num Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str orelse Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Lambda arguments args defaults Call AttributeLoad NameLoad attr keyword Num keyword Num Expr Call AttributeLoad NameLoad attr For NameStore Call NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Num Num TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Pass finalbody Expr Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad decorator_list Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Str FunctionDef arguments args defaults body Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A asyncore N/A unittest N/A select N/A os N/A socket N/A sys N/A time N/A warnings N/A errno N/A struct test test_support test.test_support TESTFN run_unittest unlink is_jython StringIO StringIO N/A N/A N/A threading N/A N/A N/A ImportError N/A N/A threading None N/A HOST N/A test_support HOST dummysocket N/A N/A __init__ N/A N/A self N/A N/A N/A N/A self closed False N/A close N/A N/A self N/A N/A N/A N/A self closed True N/A fileno N/A N/A self N/A N/A N/A 42 N/A N/A dummychannel N/A N/A __init__ N/A N/A self N/A N/A N/A N/A self socket N/A dummysocket N/A close N/A N/A self N/A N/A N/A N/A N/A N/A self socket close N/A N/A exitingdummy N/A N/A __init__ N/A N/A self N/A N/A N/A N/A handle_read_event N/A N/A self N/A N/A N/A N/A N/A asyncore ExitNow N/A N/A handle_write_event handle_read_event N/A handle_close handle_read_event N/A handle_expt_event handle_read_event N/A crashingdummy N/A N/A __init__ N/A N/A self N/A N/A N/A N/A self error_handled False N/A handle_read_event N/A N/A self N/A N/A N/A N/A Exception N/A N/A handle_write_event handle_read_event N/A handle_close handle_read_event N/A handle_expt_event handle_read_event handle_error N/A N/A self N/A N/A N/A N/A self error_handled True N/A N/A capture_server N/A N/A evt buf serv N/A N/A N/A N/A N/A N/A N/A N/A N/A serv listen 5 N/A N/A conn addr N/A N/A serv accept N/A N/A N/A N/A socket timeout N/A N/A N/A N/A n 200 N/A N/A n 0 N/A N/A N/A N/A conn setblocking False N/A N/A r w e N/A N/A select select N/A conn N/A N/A N/A r N/A N/A data N/A N/A conn recv 10 N/A N/A N/A buf write N/A N/A data replace N/A N/A data N/A N/A N/A n 1 N/A N/A N/A time sleep 0.01 N/A N/A N/A conn close N/A N/A N/A N/A serv close N/A N/A N/A evt set N/A HelperFunctionTests N/A N/A unittest TestCase N/A test_readwriteexc N/A N/A self N/A N/A N/A tr1 N/A exitingdummy N/A N/A N/A self assertRaises N/A asyncore ExitNow N/A asyncore read tr1 N/A N/A N/A self assertRaises N/A asyncore ExitNow N/A asyncore write tr1 N/A N/A N/A self assertRaises N/A asyncore ExitNow N/A asyncore _exception tr1 N/A tr2 N/A crashingdummy N/A N/A N/A asyncore read tr2 N/A N/A N/A self assertEqual N/A tr2 error_handled True N/A tr2 N/A crashingdummy N/A N/A N/A asyncore write tr2 N/A N/A N/A self assertEqual N/A tr2 error_handled True N/A tr2 N/A crashingdummy N/A N/A N/A asyncore _exception tr2 N/A N/A N/A self assertEqual N/A tr2 error_handled True N/A test_readwrite N/A N/A self N/A N/A N/A attributes N/A read expt write closed error_handled N/A expected N/A N/A N/A select POLLIN read N/A N/A select POLLPRI expt N/A N/A select POLLOUT write N/A N/A select POLLERR closed N/A N/A select POLLHUP closed N/A N/A select POLLNVAL closed testobj N/A N/A __init__ N/A N/A self N/A N/A N/A N/A self read False N/A N/A self write False N/A N/A self closed False N/A N/A self expt False N/A N/A self error_handled False N/A handle_read_event N/A N/A self N/A N/A N/A N/A self read True N/A handle_write_event N/A N/A self N/A N/A N/A N/A self write True N/A handle_close N/A N/A self N/A N/A N/A N/A self closed True N/A handle_expt_event N/A N/A self N/A N/A N/A N/A self expt True N/A handle_error N/A N/A self N/A N/A N/A N/A self error_handled True N/A N/A N/A N/A flag expectedattr expected N/A N/A tobj N/A testobj N/A N/A N/A self assertEqual N/A getattr tobj expectedattr False N/A N/A N/A asyncore readwrite tobj flag N/A attr attributes N/A N/A N/A N/A self assertEqual N/A getattr tobj attr N/A attr expectedattr N/A tr1 N/A exitingdummy N/A N/A N/A self assertRaises N/A asyncore ExitNow N/A asyncore readwrite tr1 flag N/A tr2 N/A crashingdummy N/A N/A N/A self assertEqual N/A tr2 error_handled False N/A N/A N/A asyncore readwrite tr2 flag N/A N/A N/A self assertEqual N/A tr2 error_handled True N/A N/A N/A unittest skipUnless N/A hasattr select poll select.poll required test_closeall N/A N/A self N/A N/A N/A N/A N/A self closeall_check False N/A test_closeall_default N/A N/A self N/A N/A N/A N/A N/A self closeall_check True N/A closeall_check N/A N/A self usedefault N/A N/A N/A l N/A N/A testmap N/A N/A i N/A range 10 N/A N/A c N/A dummychannel N/A N/A N/A l append c N/A N/A N/A self assertEqual N/A N/A c socket closed False N/A N/A testmap N/A i c N/A usedefault N/A N/A socketmap N/A asyncore socket_map N/A N/A N/A N/A asyncore socket_map testmap N/A N/A N/A asyncore close_all N/A N/A N/A testmap N/A asyncore socket_map N/A N/A asyncore socket_map socketmap N/A N/A N/A N/A asyncore close_all testmap N/A N/A N/A self assertEqual N/A len testmap 0 N/A c l N/A N/A N/A N/A self assertEqual N/A N/A c socket closed True N/A test_compact_traceback N/A N/A self N/A N/A N/A N/A N/A N/A Exception I don't like spam! N/A N/A N/A N/A N/A real_t real_v real_tb N/A N/A sys exc_info N/A r N/A N/A asyncore compact_traceback N/A N/A N/A N/A self fail Expected exception N/A N/A N/A f function line t v info r N/A N/A N/A self assertEqual N/A N/A N/A N/A os path split f N/A -1 test_asyncore.py N/A N/A N/A self assertEqual function test_compact_traceback N/A N/A N/A self assertEqual t real_t N/A N/A N/A self assertEqual v real_v N/A N/A N/A self assertEqual info N/A [%s|%s|%s] N/A f function line N/A N/A DispatcherTests N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A tearDown N/A N/A self N/A N/A N/A N/A N/A asyncore close_all N/A test_basic N/A N/A self N/A N/A N/A d N/A N/A asyncore dispatcher N/A N/A N/A self assertEqual N/A N/A d readable True N/A N/A N/A self assertEqual N/A N/A d writable True N/A test_repr N/A N/A self N/A N/A N/A d N/A N/A asyncore dispatcher N/A N/A N/A self assertEqual N/A repr d N/A <asyncore.dispatcher at %#x> N/A id d N/A test_log N/A N/A self N/A N/A N/A d N/A N/A asyncore dispatcher N/A fp N/A StringIO N/A stderr N/A sys stderr N/A l1 Lovely spam! Wonderful spam! N/A l2 I don't like spam! N/A N/A N/A N/A sys stderr fp N/A N/A N/A d log l1 N/A N/A N/A d log l2 N/A N/A N/A sys stderr stderr N/A lines N/A N/A N/A N/A fp getvalue splitlines N/A N/A N/A self assertEqual lines N/A N/A log: %s l1 N/A log: %s l2 N/A test_log_info N/A N/A self N/A N/A N/A d N/A N/A asyncore dispatcher N/A fp N/A StringIO N/A stdout N/A sys stdout N/A l1 Have you got anything without spam? N/A l2 Why can't she have egg bacon spam and sausage? N/A l3 THAT'S got spam in it! N/A N/A N/A N/A sys stdout fp N/A N/A N/A d log_info l1 EGGS N/A N/A N/A d log_info l2 N/A N/A N/A d log_info l3 SPAM N/A N/A N/A sys stdout stdout N/A lines N/A N/A N/A N/A fp getvalue splitlines N/A expected N/A N/A EGGS: %s l1 N/A info: %s l2 N/A SPAM: %s l3 N/A N/A N/A self assertEqual lines expected N/A test_unhandled N/A N/A self N/A N/A N/A d N/A N/A asyncore dispatcher N/A N/A d ignore_log_types N/A N/A fp N/A StringIO N/A stdout N/A sys stdout N/A N/A N/A N/A sys stdout fp N/A N/A N/A d handle_expt N/A N/A N/A d handle_read N/A N/A N/A d handle_write N/A N/A N/A d handle_connect N/A N/A N/A d handle_accept N/A N/A N/A sys stdout stdout N/A lines N/A N/A N/A N/A fp getvalue splitlines N/A expected N/A warning: unhandled incoming priority event warning: unhandled read event warning: unhandled write event warning: unhandled connect event warning: unhandled accept event N/A N/A N/A self assertEqual lines expected N/A test_issue_8594 N/A N/A self N/A N/A N/A d N/A N/A asyncore dispatcher N/A N/A socket socket N/A N/A N/A self assertRaisesRegexp AttributeError dispatcher instance getattr d foo N/A N/A N/A warnings catch_warnings record True w N/A N/A N/A N/A warnings simplefilter always N/A family N/A d family N/A N/A N/A self assertEqual family N/A socket AF_INET N/A N/A N/A self assertEqual N/A len w 1 N/A N/A N/A self assertTrue N/A issubclass N/A N/A w N/A 0 category DeprecationWarning N/A test_strerror N/A N/A self N/A N/A N/A err N/A N/A asyncore _strerror N/A errno EPERM N/A N/A hasattr os strerror N/A N/A N/A N/A self assertEqual err N/A N/A os strerror N/A errno EPERM N/A err N/A N/A asyncore _strerror -1 N/A N/A N/A self assertTrue N/A err N/A N/A dispatcherwithsend_noread N/A N/A asyncore dispatcher_with_send N/A readable N/A N/A self N/A N/A N/A False N/A handle_connect N/A N/A self N/A N/A N/A N/A N/A DispatcherWithSendTests N/A N/A unittest TestCase N/A N/A usepoll False setUp N/A N/A self N/A N/A N/A N/A tearDown N/A N/A self N/A N/A N/A N/A N/A asyncore close_all N/A test_send N/A N/A self N/A N/A N/A evt N/A N/A threading Event N/A sock N/A N/A socket socket N/A socket AF_INET N/A socket SOCK_STREAM N/A N/A N/A sock settimeout 3 N/A port N/A N/A test_support bind_port sock N/A cap N/A StringIO N/A args N/A evt cap sock N/A t N/A N/A threading Thread target capture_server args args N/A N/A N/A t start N/A N/A N/A N/A N/A time sleep 0.2 N/A data Suppose there isn't a 16-ton weight? N/A d N/A dispatcherwithsend_noread N/A N/A N/A d create_socket N/A socket AF_INET N/A socket SOCK_STREAM N/A N/A N/A d connect N/A HOST port N/A N/A N/A time sleep 0.1 N/A N/A N/A d send data N/A N/A N/A d send data N/A N/A N/A d send N/A n 1000 N/A N/A N/A d out_buffer N/A n 0 N/A N/A N/A N/A asyncore poll N/A n 1 N/A N/A N/A evt wait N/A N/A N/A self assertEqual N/A N/A cap getvalue N/A data 2 N/A N/A N/A N/A t join N/A N/A N/A unittest skipIf is_jython FIXME: Currently not working on jython N/A N/A unittest skipUnless threading Threading required for this test. N/A test_support reap_threads N/A DispatcherWithSendTests_UsePoll N/A DispatcherWithSendTests N/A N/A usepoll True N/A FileWrapperTest N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self d It's not dead, it's sleeping! N/A N/A file TESTFN w h N/A N/A N/A N/A h write N/A self d N/A tearDown N/A N/A self N/A N/A N/A N/A unlink TESTFN N/A test_recv N/A N/A self N/A N/A N/A fd N/A N/A os open TESTFN N/A os O_RDONLY N/A w N/A N/A asyncore file_wrapper fd N/A N/A N/A os close fd N/A N/A N/A self assertNotEqual N/A w fd fd N/A N/A N/A self assertNotEqual N/A N/A w fileno fd N/A N/A N/A self assertEqual N/A N/A w recv 13 It's not dead N/A N/A N/A self assertEqual N/A N/A w read 6 , it's N/A N/A N/A w close N/A N/A N/A self assertRaises OSError N/A w read 1 N/A test_send N/A N/A self N/A N/A N/A d1 Come again? N/A d2 I want to buy some cheese. N/A fd N/A N/A os open TESTFN N/A N/A os O_WRONLY N/A os O_APPEND N/A w N/A N/A asyncore file_wrapper fd N/A N/A N/A os close fd N/A N/A N/A w write d1 N/A N/A N/A w send d2 N/A N/A N/A w close N/A N/A N/A self assertEqual N/A N/A N/A file TESTFN read N/A N/A N/A self d d1 d2 N/A test_dispatcher N/A N/A self N/A N/A N/A fd N/A N/A os open TESTFN N/A os O_RDONLY N/A data N/A FileDispatcher N/A N/A asyncore file_dispatcher N/A handle_read N/A N/A self N/A N/A N/A N/A N/A data append N/A N/A self recv 29 N/A N/A N/A s N/A FileDispatcher fd N/A N/A N/A os close fd N/A N/A N/A asyncore loop timeout 0.01 use_poll True count 2 N/A N/A N/A self assertEqual N/A N/A join data N/A self d N/A N/A N/A unittest skipUnless N/A hasattr asyncore file_dispatcher asyncore.file_dispatcher required N/A N/A N/A unittest skipUnless N/A hasattr asyncore file_wrapper asyncore.file_wrapper required BaseTestHandler N/A N/A asyncore dispatcher N/A __init__ N/A N/A self sock N/A None N/A N/A N/A N/A N/A asyncore dispatcher __init__ self sock N/A N/A self flag False N/A handle_accept N/A N/A self N/A N/A N/A N/A Exception handle_accept not supposed to be called N/A handle_connect N/A N/A self N/A N/A N/A N/A Exception handle_connect not supposed to be called N/A handle_expt N/A N/A self N/A N/A N/A N/A Exception handle_expt not supposed to be called N/A handle_close N/A N/A self N/A N/A N/A N/A Exception handle_close not supposed to be called N/A handle_error N/A N/A self N/A N/A N/A N/A N/A TCPServer N/A N/A asyncore dispatcher N/A N/A A server which listens on an address and dispatches the
    connection to a handler.
     __init__ N/A N/A self handler host port N/A BaseTestHandler HOST 0 N/A N/A N/A N/A N/A asyncore dispatcher __init__ self N/A N/A N/A self create_socket N/A socket AF_INET N/A socket SOCK_STREAM N/A N/A N/A self set_reuse_addr N/A N/A N/A self bind N/A host port N/A N/A N/A self listen 5 N/A N/A self handler handler N/A address N/A N/A self N/A N/A N/A N/A N/A N/A N/A self socket getsockname N/A 2 N/A property handle_accept N/A N/A self N/A N/A N/A N/A sock addr N/A N/A self accept N/A N/A N/A self handler sock N/A handle_error N/A N/A self N/A N/A N/A N/A N/A BaseClient N/A BaseTestHandler N/A __init__ N/A N/A self address N/A N/A N/A N/A N/A BaseTestHandler __init__ self N/A N/A N/A self create_socket N/A socket AF_INET N/A socket SOCK_STREAM N/A N/A N/A self connect address N/A handle_connect N/A N/A self N/A N/A N/A N/A N/A BaseTestAPI N/A N/A unittest TestCase N/A tearDown N/A N/A self N/A N/A N/A N/A N/A asyncore close_all N/A loop_waiting_for_flag N/A N/A self instance timeout N/A 5 N/A N/A timeout N/A N/A float timeout 100 N/A count 100 N/A N/A N/A asyncore socket_map N/A count 0 N/A N/A N/A N/A asyncore loop timeout 0.01 count 1 use_poll N/A self use_poll N/A N/A instance flag N/A N/A N/A count 1 N/A N/A N/A time sleep timeout N/A N/A N/A self fail flag not set N/A test_handle_connect N/A N/A self N/A N/A TestClient N/A BaseClient N/A handle_connect N/A N/A self N/A N/A N/A N/A self flag True N/A N/A N/A server N/A TCPServer N/A client N/A TestClient N/A server address N/A N/A N/A self loop_waiting_for_flag client N/A test_handle_accept N/A N/A self N/A N/A TestListener N/A BaseTestHandler N/A __init__ N/A N/A self N/A N/A N/A N/A N/A BaseTestHandler __init__ self N/A N/A N/A self create_socket N/A socket AF_INET N/A socket SOCK_STREAM N/A N/A N/A self bind N/A HOST 0 N/A N/A N/A self listen 5 N/A N/A self address N/A N/A N/A N/A self socket getsockname N/A 2 N/A handle_accept N/A N/A self N/A N/A N/A N/A self flag True N/A N/A N/A server N/A TestListener N/A client N/A BaseClient N/A server address N/A N/A N/A self loop_waiting_for_flag server N/A test_handle_read N/A N/A self N/A N/A TestClient N/A BaseClient N/A handle_read N/A N/A self N/A N/A N/A N/A self flag True N/A N/A TestHandler N/A BaseTestHandler N/A __init__ N/A N/A self conn N/A N/A N/A N/A N/A BaseTestHandler __init__ self conn N/A N/A N/A self send N/A x 1024 N/A N/A N/A server N/A TCPServer TestHandler N/A client N/A TestClient N/A server address N/A N/A N/A self loop_waiting_for_flag client N/A N/A N/A unittest skipIf is_jython FIXME: Currently not working on jython test_handle_write N/A N/A self N/A N/A TestClient N/A BaseClient N/A handle_write N/A N/A self N/A N/A N/A N/A self flag True N/A N/A N/A server N/A TCPServer N/A client N/A TestClient N/A server address N/A N/A N/A self loop_waiting_for_flag client N/A test_handle_close N/A N/A self N/A N/A TestClient N/A BaseClient N/A handle_read N/A N/A self N/A N/A N/A N/A N/A self recv 1024 N/A handle_close N/A N/A self N/A N/A N/A N/A self flag True N/A N/A N/A self close N/A N/A TestHandler N/A BaseTestHandler N/A __init__ N/A N/A self conn N/A N/A N/A N/A N/A BaseTestHandler __init__ self conn N/A N/A N/A self close N/A N/A N/A server N/A TCPServer TestHandler N/A client N/A TestClient N/A server address N/A N/A N/A self loop_waiting_for_flag client N/A N/A N/A unittest skipIf is_jython FIXME: Currently not working on jython test_handle_expt N/A N/A self N/A N/A TestClient N/A BaseClient N/A handle_expt N/A N/A self N/A N/A N/A N/A self flag True N/A N/A TestHandler N/A BaseTestHandler N/A __init__ N/A N/A self conn N/A N/A N/A N/A N/A BaseTestHandler __init__ self conn N/A N/A N/A N/A self socket send N/A chr 244 N/A socket MSG_OOB N/A N/A N/A server N/A TCPServer TestHandler N/A client N/A TestClient N/A server address N/A N/A N/A self loop_waiting_for_flag client N/A N/A N/A unittest skipIf N/A N/A N/A sys platform startswith java OOB not supported on java/jython N/A N/A unittest skipIf N/A N/A N/A sys platform startswith sunos OOB support is broken on Solaris test_handle_error N/A N/A self N/A N/A TestClient N/A BaseClient N/A handle_write N/A N/A self N/A N/A N/A N/A 1.0 0 N/A handle_error N/A N/A self N/A N/A N/A N/A self flag True N/A N/A N/A N/A N/A N/A ZeroDivisionError N/A N/A N/A N/A N/A Exception exception not raised N/A N/A N/A server N/A TCPServer N/A client N/A TestClient N/A server address N/A N/A N/A self loop_waiting_for_flag client N/A test_connection_attributes N/A N/A self N/A N/A N/A server N/A TCPServer N/A client N/A BaseClient N/A server address N/A N/A N/A self assertFalse N/A server connected N/A N/A N/A self assertTrue N/A server accepting N/A N/A N/A self assertFalse N/A client accepting N/A N/A N/A asyncore loop timeout 0.01 use_poll N/A self use_poll count 100 N/A N/A N/A self assertFalse N/A server connected N/A N/A N/A self assertTrue N/A server accepting N/A N/A N/A self assertTrue N/A client connected N/A N/A N/A self assertFalse N/A client accepting N/A N/A N/A client close N/A N/A N/A self assertFalse N/A server connected N/A N/A N/A self assertTrue N/A server accepting N/A N/A N/A self assertFalse N/A client connected N/A N/A N/A self assertFalse N/A client accepting N/A N/A N/A server close N/A N/A N/A self assertFalse N/A server connected N/A N/A N/A self assertFalse N/A server accepting N/A test_create_socket N/A N/A self N/A N/A N/A s N/A N/A asyncore dispatcher N/A N/A N/A s create_socket N/A socket AF_INET N/A socket SOCK_STREAM N/A N/A N/A self assertEqual N/A N/A s socket family N/A socket AF_INET N/A N/A N/A self assertEqual N/A N/A s socket type N/A socket SOCK_STREAM N/A test_bind N/A N/A self N/A N/A N/A s1 N/A N/A asyncore dispatcher N/A N/A N/A s1 create_socket N/A socket AF_INET N/A socket SOCK_STREAM N/A N/A N/A s1 bind N/A HOST 0 N/A N/A N/A s1 listen 5 N/A port N/A N/A N/A N/A s1 socket getsockname N/A 1 N/A s2 N/A N/A asyncore dispatcher N/A N/A N/A s2 create_socket N/A socket AF_INET N/A socket SOCK_STREAM N/A N/A N/A s2 bind N/A HOST port N/A N/A N/A self assertRaises N/A socket error N/A s2 listen 5 N/A test_set_reuse_addr N/A N/A self N/A N/A N/A sock N/A N/A socket socket N/A N/A N/A N/A N/A N/A N/A sock setsockopt N/A socket SOL_SOCKET N/A socket SO_REUSEADDR 1 N/A N/A N/A N/A socket error N/A N/A N/A N/A unittest skip SO_REUSEADDR not supported on this platform N/A N/A s N/A N/A asyncore dispatcher N/A N/A socket socket N/A N/A N/A self assertFalse N/A N/A N/A s socket getsockopt N/A socket SOL_SOCKET N/A socket SO_REUSEADDR N/A N/A N/A s create_socket N/A socket AF_INET N/A socket SOCK_STREAM N/A N/A N/A s set_reuse_addr N/A N/A N/A self assertTrue N/A N/A N/A s socket getsockopt N/A socket SOL_SOCKET N/A socket SO_REUSEADDR N/A N/A N/A N/A sock close N/A test_quick_connect N/A N/A self N/A N/A N/A server N/A TCPServer N/A t N/A N/A threading Thread target N/A N/A N/A N/A N/A N/A asyncore loop timeout 0.1 count 500 N/A N/A N/A t start N/A x N/A xrange 20 N/A N/A s N/A N/A socket socket N/A socket AF_INET N/A socket SOCK_STREAM N/A N/A N/A s settimeout 0.2 N/A N/A N/A s setsockopt N/A socket SOL_SOCKET N/A socket SO_LINGER N/A N/A struct pack ii 1 0 N/A N/A N/A N/A N/A N/A N/A s connect N/A server address N/A N/A N/A N/A socket error N/A N/A N/A N/A N/A N/A s close N/A N/A N/A unittest skipUnless threading Threading required for this test. N/A test_support reap_threads N/A TestAPI_UseSelect N/A BaseTestAPI N/A N/A use_poll False N/A TestAPI_UsePoll N/A BaseTestAPI N/A N/A use_poll True N/A N/A N/A unittest skipUnless N/A hasattr select poll select.poll required test_main N/A N/A N/A N/A N/A tests N/A HelperFunctionTests DispatcherTests DispatcherWithSendTests DispatcherWithSendTests_UsePoll TestAPI_UseSelect TestAPI_UsePoll FileWrapperTest N/A N/A run_unittest tests N/A N/A N/A __name__ __main__ N/A N/A N/A test_main