Module Expr Str ImportFrom alias alias Assign NameStore NameLoad Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias alias alias alias alias ImportFrom alias alias alias alias alias alias alias alias alias ImportFrom alias alias alias ImportFrom alias alias alias alias alias alias alias ImportFrom alias alias ImportFrom alias alias alias alias alias alias ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias alias alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad orelse ImportFrom alias Assign NameStore NameLoad TryExcept body Expr Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore NameLoad If Call AttributeLoad NameLoad attr body ImportFrom alias Assign NameStore AttributeLoad NameLoad attr orelse TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body Assign NameStore Lambda arguments args defaults ListLoad orelse Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad If NameLoad body Return SubscriptLoad NameLoad Index Num Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore NameLoad If BoolOpOr CompareIn Str NameLoad CompareIn Str NameLoad body Assign NameStore SubscriptLoad SubscriptLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Index Num Index Num orelse Assign NameStore TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Num decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Return TupleLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list Call NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad ClassDef bases NameLoad body Assign NameStore Num decorator_list Assign AttributeStore NameLoad attr Call NameLoad Str Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Str Num Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad keyword Call NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list If UnaryOpNot NameLoad body Assign AttributeStore NameLoad attr Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad NameLoad Num keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str TryExcept body Return Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Return Call NameLoad Call NameLoad BinOpAdd Str NameLoad decorator_list decorator_list Call NameLoad NameLoad ClassDef bases NameLoad NameLoad NameLoad body Expr Str Assign NameStore TupleLoad NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str If CompareIsNot AttributeLoad NameLoad attr NameLoad body Return AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Return SubscriptLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Num NameLoad keyword AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call NameLoad NameLoad NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return NameLoad decorator_list decorator_list Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad NameLoad FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore SubscriptLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Slice Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Dict NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str NameLoad NameLoad NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad keyword TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpMod Str TupleLoad AttributeLoad SubscriptLoad NameLoad Index Str attr AttributeLoad SubscriptLoad NameLoad Index Str attr Call NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr decorator_list Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num BinOpMod Str TupleLoad NameLoad If Call NameLoad SubscriptLoad NameLoad Index Num NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index Num attr If CompareEq SubscriptLoad NameLoad Index Num Str body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Num decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore Call NameLoad decorator_list ClassDef bases NameLoad body Expr Str If NameLoad body Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore TupleLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Lambda arguments args NameParam NameParam defaults TupleLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad keyword AttributeLoad NameLoad attr Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args defaults Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad Num Num decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad If NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return Str decorator_list decorator_list Call NameLoad NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num Str body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num Str body Expr Str If Call AttributeLoad NameLoad attr NameLoad body If CompareIn Str NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad SubscriptLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Index Num Index Num orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad TryFinally body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad finalbody Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr orelse Raise Call NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore TupleLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return BinOpMod Str TupleLoad NameLoad AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return BinOpMod Str TupleLoad AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore SubscriptLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword Str Slice Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list If NameLoad body Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list If NameLoad body Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Return Call NameLoad decorator_list decorator_list Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call NameLoad NameLoad TupleLoad AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad Call AttributeLoad NameLoad attr attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str SubscriptLoad Call AttributeLoad NameLoad attr Slice Num NameLoad decorator_list If NameLoad body Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str SubscriptLoad Call AttributeLoad NameLoad attr Slice Num NameLoad decorator_list If NameLoad body Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Call Call NameLoad NameLoad NameLoad decorator_list decorator_list Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call NameLoad NameLoad TupleLoad AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad Call AttributeLoad NameLoad attr attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str SubscriptLoad Call AttributeLoad NameLoad attr Slice Num NameLoad decorator_list If NameLoad body Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str SubscriptLoad Call AttributeLoad NameLoad attr Slice Num NameLoad decorator_list If NameLoad body Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str SubscriptLoad Call AttributeLoad NameLoad attr Slice Num NameLoad decorator_list If NameLoad body Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str SubscriptLoad Call AttributeLoad NameLoad attr Slice Num NameLoad decorator_list If NameLoad body Assign AttributeStore NameLoad attr NameLoad decorator_list ClassDef bases NameLoad NameLoad NameLoad NameLoad NameLoad body Pass decorator_list ClassDef bases NameLoad NameLoad NameLoad NameLoad NameLoad body Pass decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num AttributeLoad NameLoad attr BinOpSub NameLoad Num orelse Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad AugAssignAdd AttributeStore NameLoad attr NameLoad If CompareEq Call NameLoad AttributeLoad NameLoad attr BinOpMult Num Num body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body TryFinally body Expr Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr finalbody If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list Assign NameStore Call NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad Call NameLoad decorator_list Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore TupleLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore ListLoad Str Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd CompareIn NameLoad NameLoad Call AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign NameStore TupleLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Expr Call AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr BinOpAdd BinOpMult Str BinOpMult Num Num BinOpMult Str BinOpMult Num Num Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad BinOpAdd BinOpMult Str BinOpMult Num Num BinOpMult Str BinOpMult Num Num Str Return Call NameLoad ListLoad Call NameLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr Call NameLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr Call NameLoad AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad Str NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call NameLoad ListLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Str Expr Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list Assign NameStore Call NameLoad Expr Call NameLoad NameLoad NameLoad Call NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list Call NameLoad NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list Expr Call NameLoad NameLoad Call NameLoad Call NameLoad Call NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore TupleLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareIsNot Call NameLoad NameLoad Str NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str decorator_list Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list decorator_list Call NameLoad NameLoad Assign NameStore Call NameLoad FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore SubscriptLoad NameLoad Slice Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMult ListLoad BinOpMult Str Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str decorator_list Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore NameLoad ClassDef bases NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Num body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr BinOpMult ListLoad BinOpMult Str Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list decorator_list Call NameLoad NameLoad Assign NameStore Call NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str decorator_list Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Raise Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore NameLoad TryFinally body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad Call AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign ListStore NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list If NameLoad body Assign AttributeStore NameLoad attr NameLoad decorator_list ClassDef bases NameLoad NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad keyword NameLoad Assign NameStore Call NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad NameLoad body Expr Str Assign NameStore TupleLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list decorator_list Expr Call AttributeLoad Call NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad attr Call AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body If Call AttributeLoad NameLoad attr Str Str body Raise Call NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMult Str Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMult Str Num decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMult Str Num Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str If AttributeLoad NameLoad attr body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore Num Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad For NameStore Call NameLoad Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMult Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Raise Call NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore TupleLoad NameLoad NameLoad Assign NameStore TupleLoad NameLoad NameLoad If NameLoad body Assign NameStore BinOpAdd NameLoad TupleLoad AttributeLoad NameLoad attr Assign NameStore BinOpAdd NameLoad TupleLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd TupleLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list decorator_list ClassDef bases NameLoad NameLoad body Expr Str Assign NameStore TupleLoad NameLoad Assign NameStore Call NameLoad decorator_list Expr Call AttributeLoad Call NameLoad attr Call AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str If NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr decorator_list If Call AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num TupleLoad Str Num decorator_list decorator_list
N/A N/A 
Tests for implementations of L{IReactorTCP} and the TCP parts of
L{IReactorSocket}.
 __future__ division absolute_import N/A __metaclass__ type N/A errno N/A socket functools wraps zope.interface implementer zope.interface.verify verifyClass twisted.python.runtime platform twisted.python.failure Failure twisted.python log twisted.trial.unittest SkipTest TestCase twisted.internet.error ConnectionLost UserError ConnectionRefusedError ConnectionDone ConnectionAborted DNSLookupError NoProtocol twisted.internet.test.connectionmixins LogObserverMixin ConnectionTestsMixin StreamClientTestsMixin findFreePort ConnectableProtocol EndpointCreator runProtocolsWithReactor Stop BrokenContextFactory twisted.internet.test.reactormixins ReactorBuilder needsRunningReactor stopOnError twisted.internet.interfaces ILoggingContext IConnector IReactorFDSet IReactorSocket IReactorTCP IResolverSimple ITLSTransport twisted.internet.address IPv4Address IPv6Address twisted.internet.defer Deferred DeferredList maybeDeferred gatherResults succeed fail twisted.internet.endpoints TCP4ServerEndpoint TCP4ClientEndpoint twisted.internet.protocol ServerFactory ClientFactory Protocol twisted.internet.interfaces IPushProducer IPullProducer IHalfCloseableProtocol twisted.internet.tcp Connection Server _resolveIPv6 twisted.internet.test.test_core ObjectModelIntegrationMixin twisted.test.test_tcp MyClientFactory MyServerFactory twisted.test.test_tcp ClosingFactory ClientStartStopFactory N/A N/A OpenSSL SSL N/A N/A N/A ImportError N/A N/A useSSL False N/A twisted.internet.ssl ClientContextFactory N/A useSSL True N/A N/A N/A N/A N/A N/A N/A socket socket N/A socket AF_INET6 N/A socket SOCK_STREAM close N/A N/A N/A N/A socket error N/A e N/A N/A ipv6Skip N/A str e N/A N/A ipv6Skip None N/A N/A N/A platform isWindows N/A twisted.internet.test _win32ifaces N/A getLinkLocalIPv6Addresses N/A _win32ifaces win32GetLinkLocalIPv6Addresses N/A N/A N/A twisted.internet.test _posixifaces N/A N/A N/A ImportError N/A N/A getLinkLocalIPv6Addresses N/A N/A N/A N/A N/A N/A N/A getLinkLocalIPv6Addresses N/A _posixifaces posixGetLinkLocalIPv6Addresses getLinkLocalIPv6Address N/A N/A N/A N/A N/A 
    Find and return a configured link local IPv6 address including a scope
    identifier using the % separation syntax.  If the system has no link local
    IPv6 addresses, raise L{SkipTest} instead.

    @raise SkipTest: if no link local address can be found or if the
        C{netifaces} module is not available.

    @return: a C{str} giving the address
     N/A addresses N/A getLinkLocalIPv6Addresses N/A addresses N/A N/A N/A addresses N/A 0 N/A N/A SkipTest Link local IPv6 address unavailable N/A connect N/A N/A client destination N/A N/A N/A 
    Connect a socket to the given destination.

    @param client: A C{socket.socket}.

    @param destination: A tuple of (host, port). The host is a C{str}, the
        port a C{int}. If the C{host} is an IPv6 IP, the address is resolved
        using C{getaddrinfo} and the first version found is used.
     N/A N/A host port destination N/A N/A N/A % host N/A : host N/A N/A address N/A N/A N/A N/A socket getaddrinfo host port N/A 0 N/A 4 N/A N/A address N/A host port N/A N/A N/A client connect address N/A FakeSocket N/A object N/A N/A 
    A fake for L{socket.socket} objects.

    @ivar data: A C{str} giving the data which will be returned from
        L{FakeSocket.recv}.

    @ivar sendBuffer: A C{list} of the objects passed to L{FakeSocket.send}.
     __init__ N/A N/A self data N/A N/A N/A N/A self data data N/A N/A self sendBuffer N/A N/A setblocking N/A N/A self blocking N/A N/A N/A N/A self blocking blocking N/A recv N/A N/A self size N/A N/A N/A N/A self data N/A send N/A N/A self bytes N/A N/A N/A 
        I{Send} all of C{bytes} by accumulating it into C{self.sendBuffer}.

        @return: The length of C{bytes}, indicating all the data has been
            accepted.
         N/A N/A N/A N/A self sendBuffer append bytes N/A N/A len bytes N/A shutdown N/A N/A self how N/A N/A N/A 
        Shutdown is not implemented.  The method is provided since real sockets
        have it and some code expects it.  No behavior of L{FakeSocket} is
        affected by a call to it.
         N/A close N/A N/A self N/A N/A N/A 
        Close is not implemented.  The method is provided since real sockets
        have it and some code expects it.  No behavior of L{FakeSocket} is
        affected by a call to it.
         N/A setsockopt N/A N/A self N/A args N/A N/A 
        Setsockopt is not implemented.  The method is provided since
        real sockets have it and some code expects it.  No behavior of
        L{FakeSocket} is affected by a call to it.
         N/A fileno N/A N/A self N/A N/A N/A 
        Return a fake file descriptor.  If actually used, this will have no
        connection to this L{FakeSocket} and will probably cause surprising
        results.
         N/A 1 N/A N/A TestFakeSocket N/A TestCase N/A N/A 
    Test that the FakeSocket can be used by the doRead method of L{Connection}
     test_blocking N/A N/A self N/A N/A N/A skt N/A FakeSocket someData N/A N/A N/A skt setblocking 0 N/A N/A N/A self assertEqual N/A skt blocking 0 N/A test_recv N/A N/A self N/A N/A N/A skt N/A FakeSocket someData N/A N/A N/A self assertEqual N/A N/A skt recv 10 someData N/A test_send N/A N/A self N/A N/A N/A 
        L{FakeSocket.send} accepts the entire string passed to it, adds it to
        its send buffer, and returns its length.
         N/A skt N/A FakeSocket N/A count N/A N/A skt send foo N/A N/A N/A self assertEqual count 3 N/A N/A N/A self assertEqual N/A skt sendBuffer N/A foo N/A N/A FakeProtocol N/A Protocol N/A N/A 
    An L{IProtocol} that returns a value from its dataReceived method.
     dataReceived N/A N/A self data N/A N/A N/A 
        Return something other than C{None} to trigger a deprecation warning for
        that behavior.
         N/A N/A N/A N/A _FakeFDSetReactor N/A object N/A N/A 
    An in-memory implementation of L{IReactorFDSet}, which records the current
    sets of active L{IReadDescriptor} and L{IWriteDescriptor}s.

    @ivar _readers: The set of L{IReadDescriptor}s active on this
        L{_FakeFDSetReactor}
    @type _readers: L{set}

    @ivar _writers: The set of L{IWriteDescriptor}s active on this
        L{_FakeFDSetReactor}
    @ivar _writers: L{set}
     __init__ N/A N/A self N/A N/A N/A N/A self _readers N/A set N/A N/A self _writers N/A set N/A addReader N/A N/A self reader N/A N/A N/A N/A N/A N/A self _readers add reader N/A removeReader N/A N/A self reader N/A N/A N/A N/A reader N/A self _readers N/A N/A N/A N/A N/A self _readers remove reader N/A addWriter N/A N/A self writer N/A N/A N/A N/A N/A N/A self _writers add writer N/A removeWriter N/A N/A self writer N/A N/A N/A N/A writer N/A self _writers N/A N/A N/A N/A N/A self _writers remove writer N/A removeAll N/A N/A self N/A N/A N/A result N/A N/A N/A self getReaders N/A N/A self getWriters N/A N/A N/A self __init__ N/A result N/A getReaders N/A N/A self N/A N/A N/A N/A list N/A self _readers N/A getWriters N/A N/A self N/A N/A N/A N/A list N/A self _writers N/A N/A N/A implementer IReactorFDSet N/A N/A verifyClass IReactorFDSet _FakeFDSetReactor TCPServerTests N/A TestCase N/A N/A 
    Whitebox tests for L{twisted.internet.tcp.Server}.
     setUp N/A N/A self N/A N/A N/A N/A self reactor N/A _FakeFDSetReactor FakePort N/A object N/A N/A _realPortNumber 3 N/A N/A N/A self skt N/A FakeSocket N/A N/A self protocol N/A Protocol N/A N/A self server N/A Server N/A self skt N/A self protocol N/A 0 N/A FakePort None N/A self reactor N/A test_writeAfterDisconnect N/A N/A self N/A N/A N/A 
        L{Server.write} discards bytes passed to it if called after it has lost
        its connection.
         N/A N/A N/A N/A self server connectionLost N/A Failure N/A Exception Simulated lost connection N/A N/A N/A N/A self server write hello world N/A N/A N/A self assertEqual N/A N/A self skt sendBuffer N/A N/A test_writeAfterDisconnectAfterTLS N/A N/A self N/A N/A N/A 
        L{Server.write} discards bytes passed to it if called after it has lost
        its connection when the connection had started TLS.
         N/A N/A N/A self server TLS True N/A N/A N/A self test_writeAfterDisconnect N/A test_writeSequenceAfterDisconnect N/A N/A self N/A N/A N/A 
        L{Server.writeSequence} discards bytes passed to it if called after it
        has lost its connection.
         N/A N/A N/A N/A self server connectionLost N/A Failure N/A Exception Simulated lost connection N/A N/A N/A N/A self server writeSequence N/A hello world N/A N/A N/A self assertEqual N/A N/A self skt sendBuffer N/A N/A test_writeSequenceAfterDisconnectAfterTLS N/A N/A self N/A N/A N/A 
        L{Server.writeSequence} discards bytes passed to it if called after it
        has lost its connection when the connection had started TLS.
         N/A N/A N/A self server TLS True N/A N/A N/A self test_writeSequenceAfterDisconnect N/A N/A TCPConnectionTests N/A TestCase N/A N/A 
    Whitebox tests for L{twisted.internet.tcp.Connection}.
     test_doReadWarningIsRaised N/A N/A self N/A N/A N/A 
        When an L{IProtocol} implementation that returns a value from its
        C{dataReceived} method, a deprecated warning is emitted.
         N/A skt N/A FakeSocket someData N/A protocol N/A FakeProtocol N/A conn N/A Connection skt protocol N/A N/A N/A conn doRead N/A warnings N/A N/A self flushWarnings N/A N/A FakeProtocol dataReceived N/A N/A N/A self assertEqual N/A N/A warnings N/A 0 N/A category DeprecationWarning N/A N/A N/A self assertEqual N/A N/A warnings N/A 0 N/A message Returning a value other than None from twisted.internet.test.test_tcp.FakeProtocol.dataReceived is deprecated since Twisted 11.0.0. N/A N/A N/A self assertEqual N/A len warnings 1 N/A test_noTLSBeforeStartTLS N/A N/A self N/A N/A N/A 
        The C{TLS} attribute of a L{Connection} instance is C{False} before
        L{Connection.startTLS} is called.
         N/A skt N/A FakeSocket N/A protocol N/A FakeProtocol N/A conn N/A Connection skt protocol N/A N/A N/A self assertFalse N/A conn TLS N/A test_tlsAfterStartTLS N/A N/A self N/A N/A N/A 
        The C{TLS} attribute of a L{Connection} instance is C{True} after
        L{Connection.startTLS} is called.
         N/A skt N/A FakeSocket N/A protocol N/A FakeProtocol N/A conn N/A Connection skt protocol reactor N/A _FakeFDSetReactor N/A N/A conn _tlsClientDefault True N/A N/A N/A conn startTLS N/A ClientContextFactory True N/A N/A N/A self assertTrue N/A conn TLS N/A N/A N/A useSSL N/A N/A N/A test_tlsAfterStartTLS skip No SSL support available N/A TCPCreator N/A EndpointCreator N/A N/A 
    Create IPv4 TCP endpoints for L{runProtocolsWithReactor}-based tests.
     N/A interface 127.0.0.1 server N/A N/A self reactor N/A N/A N/A 
        Create a server-side TCP endpoint.
         N/A N/A TCP4ServerEndpoint reactor 0 interface N/A self interface N/A client N/A N/A self reactor serverAddress N/A N/A N/A 
        Create a client end point that will connect to the given address.

        @type serverAddress: L{IPv4Address}
         N/A N/A TCP4ClientEndpoint reactor N/A self interface N/A serverAddress port N/A N/A TCP6Creator N/A TCPCreator N/A N/A 
    Create IPv6 TCP endpoints for
    C{ReactorBuilder.runProtocolsWithReactor}-based tests.

    The endpoint types in question here are still the TCP4 variety, since
    these simply pass through IPv6 address literals to the reactor, and we are
    only testing address literals, not name resolution (as name resolution has
    not yet been implemented).  See http://twistedmatrix.com/trac/ticket/4470
    for more specific information about new endpoint classes.  The naming is
    slightly misleading, but presumably if you're passing an IPv6 literal, you
    know what you're asking for.
     __init__ N/A N/A self N/A N/A N/A N/A self interface N/A getLinkLocalIPv6Address N/A N/A FakeResolver N/A object N/A N/A 
    A resolver implementation based on a C{dict} mapping names to addresses.
     __init__ N/A N/A self names N/A N/A N/A N/A self names names N/A getHostByName N/A N/A self name timeout N/A N/A N/A 
        Return the address mapped to C{name} if it exists, or raise a
        C{DNSLookupError}.

        @param name: The name to resolve.

        @param timeout: The lookup timeout, ignore here.
         N/A N/A N/A N/A succeed N/A N/A self names N/A name N/A N/A N/A KeyError N/A N/A N/A fail N/A DNSLookupError N/A FakeResolver couldn't find  name N/A N/A N/A implementer IResolverSimple TCPClientTestsBase N/A ReactorBuilder ConnectionTestsMixin StreamClientTestsMixin N/A N/A 
    Base class for builders defining tests related to
    L{IReactorTCP.connectTCP}.  Classes which uses this in must provide all of
    the documented instance variables in order to specify how the test works.
    These are documented as instance variables rather than declared as methods
    due to some peculiar inheritance ordering concerns, but they are
    effectively abstract methods.

    @ivar endpoints: A client/server endpoint creator appropriate to the
        address family being tested.
    @type endpoints: L{twisted.internet.test.connectionmixins.EndpointCreator}

    @ivar interface: An IP address literal to locally bind a socket to as well
        as to connect to.  This can be any valid interface for the local host.
    @type interface: C{str}

    @ivar port: An unused local listening port to listen on and connect to.
        This will be used in conjunction with the C{interface}.  (Depending on
        what they're testing, some tests will locate their own port with
        L{findFreePort} instead.)
    @type port: C{int}

    @ivar family: an address family constant, such as L{socket.AF_INET},
        L{socket.AF_INET6}, or L{socket.AF_UNIX}, which indicates the address
        family of the transport type under test.
    @type family: C{int}

    @ivar addressClass: the L{twisted.internet.interfaces.IAddress} implementor
        associated with the transport type under test.  Must also be a
        3-argument callable which produces an instance of same.
    @type addressClass: C{type}

    @ivar fakeDomainName: A fake domain name to use, to simulate hostname
        resolution and to distinguish between hostnames and IP addresses where
        necessary.
    @type fakeDomainName: C{str}
     N/A requiredInterfaces N/A IReactorTCP N/A _port None port N/A N/A self N/A N/A N/A 
        Return the port number to connect to, using C{self._port} set up by
        C{listen} if available.

        @return: The port number to connect to.
        @rtype: C{int}
         N/A N/A N/A self _port None N/A N/A N/A N/A N/A N/A self _port getHost port N/A N/A N/A findFreePort N/A self interface N/A self family N/A 1 N/A property interface N/A N/A self N/A N/A N/A 
        Return the interface attribute from the endpoints object.
         N/A N/A N/A self endpoints interface N/A property listen N/A N/A self reactor factory N/A N/A N/A 
        Start a TCP server with the given C{factory}.

        @param reactor: The reactor to create the TCP port in.

        @param factory: The server factory.

        @return: A TCP port instance.
         N/A N/A self _port N/A N/A reactor listenTCP 0 factory interface N/A self interface N/A N/A self _port N/A connect N/A N/A self reactor factory N/A N/A N/A 
        Start a TCP client with the given C{factory}.

        @param reactor: The reactor to create the connection in.

        @param factory: The client factory.

        @return: A TCP connector instance.
         N/A N/A N/A reactor connectTCP N/A self interface N/A self port factory N/A test_buildProtocolReturnsNone N/A N/A self N/A N/A N/A 
        When the factory's C{buildProtocol} returns C{None} the connection is
        gracefully closed.
         N/A connectionLost N/A Deferred N/A reactor N/A N/A self buildReactor N/A serverFactory N/A MyServerFactory N/A N/A serverFactory protocolConnectionLost connectionLost N/A N/A stopOnError self reactor NoneFactory N/A ServerFactory N/A buildProtocol N/A N/A self address N/A N/A N/A None N/A N/A N/A listening N/A N/A N/A N/A N/A self endpoints server reactor listen serverFactory listened N/A N/A port N/A N/A N/A clientFactory N/A NoneFactory N/A endpoint N/A N/A N/A self endpoints client reactor N/A N/A port getHost N/A N/A N/A endpoint connect clientFactory N/A N/A connecting N/A N/A listening addCallback listened connectSucceeded N/A N/A protocol N/A N/A N/A N/A N/A self fail N/A Stream client endpoint connect succeeded with %r, should have failed with NoProtocol. N/A protocol N/A connectFailed N/A N/A reason N/A N/A N/A N/A N/A reason trap NoProtocol N/A N/A N/A N/A connecting addCallbacks connectSucceeded connectFailed connected N/A N/A ignored N/A N/A N/A connectionLost N/A N/A disconnecting N/A N/A connecting addCallback connected N/A N/A N/A disconnecting addErrback N/A log err disconnected N/A N/A ignored N/A N/A N/A N/A N/A reactor stop N/A N/A N/A N/A disconnecting addCallback disconnected N/A N/A N/A self runReactor reactor N/A test_addresses N/A N/A self N/A N/A N/A 
        A client's transport's C{getHost} and C{getPeer} return L{IPv4Address}
        instances which have the dotted-quad string form of the resolved
        address of the local and remote endpoints of the connection
        respectively as their C{host} attribute, not the hostname originally
        passed in to
        L{connectTCP<twisted.internet.interfaces.IReactorTCP.connectTCP>}, if a
        hostname was used.
         N/A N/A host port N/A N/A findFreePort N/A self interface N/A self family N/A 2 N/A reactor N/A N/A self buildReactor N/A fakeDomain N/A self fakeDomainName N/A N/A N/A reactor installResolver N/A FakeResolver N/A fakeDomain N/A self interface N/A server N/A N/A reactor listenTCP 0 N/A N/A ServerFactory forProtocol Protocol interface host N/A serverAddress N/A N/A server getHost N/A transportData N/A host peer instance None None None CheckAddress N/A Protocol N/A makeConnection N/A N/A self transport N/A N/A N/A N/A transportData N/A host N/A N/A transport getHost N/A N/A transportData N/A peer N/A N/A transport getPeer N/A N/A transportData N/A instance transport N/A N/A N/A reactor stop N/A N/A N/A clientFactory N/A Stop reactor N/A N/A clientFactory protocol CheckAddress connectMe N/A N/A N/A N/A N/A N/A N/A reactor connectTCP fakeDomain N/A N/A N/A server getHost port clientFactory bindAddress N/A N/A self interface port N/A N/A N/A needsRunningReactor reactor connectMe N/A N/A N/A self runReactor reactor N/A N/A clientFactory failReason N/A N/A N/A N/A self fail N/A N/A N/A clientFactory failReason getTraceback N/A transportRepr N/A <%s to %s at %x> N/A N/A N/A transportData N/A instance __class__ N/A N/A transportData N/A instance addr N/A id N/A transportData N/A instance N/A N/A N/A self assertEqual N/A transportData N/A host N/A N/A self addressClass TCP N/A self interface port N/A N/A N/A self assertEqual N/A transportData N/A peer N/A N/A self addressClass TCP N/A self interface N/A serverAddress port N/A N/A N/A self assertEqual N/A repr N/A transportData N/A instance transportRepr N/A test_badContext N/A N/A self N/A N/A N/A 
        If the context factory passed to L{ITCPTransport.startTLS} raises an
        exception from its C{getContext} method, that exception is raised by
        L{ITCPTransport.startTLS}.
         N/A reactor N/A N/A self buildReactor N/A brokenFactory N/A BrokenContextFactory N/A results N/A N/A serverFactory N/A N/A ServerFactory forProtocol Protocol N/A port N/A N/A reactor listenTCP 0 serverFactory interface N/A self interface N/A endpoint N/A N/A N/A self endpoints client reactor N/A N/A port getHost N/A clientFactory N/A ClientFactory N/A N/A clientFactory protocol Protocol N/A connectDeferred N/A N/A endpoint connect clientFactory connected N/A N/A protocol N/A N/A N/A N/A N/A N/A ITLSTransport providedBy N/A protocol transport N/A N/A N/A N/A results append skip N/A N/A N/A N/A results append N/A N/A self assertRaises ValueError N/A N/A protocol transport startTLS brokenFactory N/A connectFailed N/A N/A failure N/A N/A N/A N/A N/A results append failure N/A whenRun N/A N/A N/A N/A N/A N/A N/A connectDeferred addCallback connected N/A N/A N/A connectDeferred addErrback connectFailed N/A N/A N/A connectDeferred addBoth N/A N/A N/A ign N/A N/A N/A reactor stop N/A N/A N/A needsRunningReactor reactor whenRun N/A N/A N/A self runReactor reactor N/A N/A N/A self assertEqual N/A len results 1 N/A more than one callback result: %s N/A results N/A N/A isinstance N/A results N/A 0 Failure N/A N/A N/A N/A N/A results N/A 0 raiseException N/A N/A N/A results N/A 0 skip N/A N/A N/A SkipTest Reactor does not support ITLSTransport N/A N/A N/A self assertEqual N/A BrokenContextFactory message N/A str N/A results N/A 0 N/A N/A TCP4ClientTestsBuilder N/A TCPClientTestsBase N/A N/A 
    Builder configured with IPv4 parameters for tests related to
    L{IReactorTCP.connectTCP}.
     N/A fakeDomainName some-fake.domain.example.com N/A family N/A socket AF_INET N/A addressClass IPv4Address N/A endpoints N/A TCPCreator N/A TCP6ClientTestsBuilder N/A TCPClientTestsBase N/A N/A 
    Builder configured with IPv6 parameters for tests related to
    L{IReactorTCP.connectTCP}.
     N/A ipv6Skip N/A N/A skip ipv6Skip N/A family N/A socket AF_INET6 N/A addressClass IPv6Address setUp N/A N/A self N/A N/A N/A N/A self endpoints N/A TCP6Creator N/A N/A self fakeDomainName N/A N/A self endpoints interface N/A N/A TCPConnectorTestsBuilder N/A ReactorBuilder N/A N/A 
    Tests for the L{IConnector} provider returned by L{IReactorTCP.connectTCP}.
     N/A requiredInterfaces N/A IReactorTCP test_connectorIdentity N/A N/A self N/A N/A N/A 
        L{IReactorTCP.connectTCP} returns an object which provides
        L{IConnector}.  The destination of the connector is the address which
        was passed to C{connectTCP}.  The same connector object is passed to
        the factory's C{startedConnecting} method as to the factory's
        C{clientConnectionLost} method.
         N/A serverFactory N/A ClosingFactory N/A reactor N/A N/A self buildReactor N/A tcpPort N/A N/A reactor listenTCP 0 serverFactory interface N/A self interface N/A N/A serverFactory port tcpPort N/A portNumber N/A N/A N/A tcpPort getHost port N/A seenConnectors N/A N/A seenFailures N/A N/A clientFactory N/A ClientStartStopFactory N/A N/A clientFactory clientConnectionLost N/A N/A N/A connector reason N/A N/A N/A N/A seenConnectors append connector N/A N/A seenFailures append reason N/A N/A clientFactory startedConnecting N/A seenConnectors append N/A connector N/A N/A reactor connectTCP N/A self interface portNumber clientFactory N/A N/A N/A self assertTrue N/A N/A IConnector providedBy connector N/A dest N/A N/A connector getDestination N/A N/A N/A self assertEqual N/A dest type TCP N/A N/A N/A self assertEqual N/A dest host N/A self interface N/A N/A N/A self assertEqual N/A dest port portNumber N/A N/A N/A N/A clientFactory whenStopped addBoth N/A N/A N/A _ N/A N/A N/A reactor stop N/A N/A N/A self runReactor reactor N/A N/A N/A N/A seenFailures N/A 0 trap ConnectionDone N/A N/A N/A self assertEqual seenConnectors N/A connector connector N/A test_userFail N/A N/A self N/A N/A N/A 
        Calling L{IConnector.stopConnecting} in C{Factory.startedConnecting}
        results in C{Factory.clientConnectionFailed} being called with
        L{error.UserError} as the reason.
         N/A serverFactory N/A MyServerFactory N/A reactor N/A N/A self buildReactor N/A tcpPort N/A N/A reactor listenTCP 0 serverFactory interface N/A self interface N/A portNumber N/A N/A N/A tcpPort getHost port N/A fatalErrors N/A startedConnecting N/A N/A connector N/A N/A N/A N/A N/A N/A N/A connector stopConnecting N/A N/A N/A Exception N/A N/A N/A N/A fatalErrors append N/A Failure N/A N/A N/A reactor stop N/A N/A clientFactory N/A ClientStartStopFactory N/A N/A clientFactory startedConnecting startedConnecting N/A N/A N/A N/A clientFactory whenStopped addBoth N/A N/A N/A _ N/A N/A N/A reactor stop N/A N/A N/A reactor callWhenRunning N/A N/A N/A N/A N/A N/A reactor connectTCP N/A self interface portNumber clientFactory N/A N/A N/A self runReactor reactor N/A fatalErrors N/A N/A N/A N/A self fail N/A N/A N/A fatalErrors N/A 0 getTraceback N/A N/A N/A N/A clientFactory reason trap UserError N/A N/A N/A self assertEqual N/A clientFactory failed 1 N/A test_reconnect N/A N/A self N/A N/A N/A 
        Calling L{IConnector.connect} in C{Factory.clientConnectionLost} causes
        a new connection attempt to be made.
         N/A serverFactory N/A ClosingFactory N/A reactor N/A N/A self buildReactor N/A tcpPort N/A N/A reactor listenTCP 0 serverFactory interface N/A self interface N/A N/A serverFactory port tcpPort N/A portNumber N/A N/A N/A tcpPort getHost port N/A clientFactory N/A MyClientFactory clientConnectionLost N/A N/A connector reason N/A N/A N/A N/A N/A connector connect N/A N/A N/A clientFactory clientConnectionLost clientConnectionLost N/A N/A N/A reactor connectTCP N/A self interface portNumber clientFactory N/A protocolMadeAndClosed N/A reconnectFailed N/A N/A ignored N/A N/A N/A p N/A clientFactory protocol N/A N/A N/A protocolMadeAndClosed append N/A N/A p made N/A p closed N/A N/A N/A reactor stop N/A N/A N/A N/A N/A clientFactory failDeferred addCallback reconnectFailed N/A N/A N/A self runReactor reactor N/A N/A N/A N/A clientFactory reason trap ConnectionRefusedError N/A N/A N/A self assertEqual protocolMadeAndClosed N/A N/A 1 1 N/A N/A TCP4ConnectorTestsBuilder N/A TCPConnectorTestsBuilder N/A N/A interface 127.0.0.1 N/A family N/A socket AF_INET N/A addressClass IPv4Address N/A TCP6ConnectorTestsBuilder N/A TCPConnectorTestsBuilder N/A N/A family N/A socket AF_INET6 N/A addressClass IPv6Address N/A ipv6Skip N/A N/A skip ipv6Skip setUp N/A N/A self N/A N/A N/A N/A self interface N/A getLinkLocalIPv6Address N/A N/A createTestSocket N/A N/A test addressFamily socketType N/A N/A N/A 
    Create a socket for the duration of the given test.

    @param test: the test to add cleanup to.

    @param addressFamily: an C{AF_*} constant

    @param socketType: a C{SOCK_*} constant.

    @return: a socket object.
     N/A skt N/A N/A socket socket addressFamily socketType N/A N/A N/A test addCleanup N/A skt close N/A skt N/A StreamTransportTestsMixin N/A LogObserverMixin N/A N/A 
    Mixin defining tests which apply to any port/connection based transport.
     test_startedListeningLogMessage N/A N/A self N/A N/A N/A 
        When a port starts, a message including a description of the associated
        factory is logged.
         N/A loggedMessages N/A N/A self observe N/A reactor N/A N/A self buildReactor SomeFactory N/A ServerFactory N/A logPrefix N/A N/A self N/A N/A N/A Crazy Factory N/A N/A N/A implementer ILoggingContext N/A factory N/A SomeFactory N/A p N/A N/A self getListeningPort reactor factory N/A expectedMessage N/A N/A self getExpectedStartListeningLogMessage p Crazy Factory N/A N/A N/A self assertEqual N/A expectedMessage N/A N/A loggedMessages N/A 0 N/A message N/A test_connectionLostLogMsg N/A N/A self N/A N/A N/A 
        When a connection is lost, an informative message should be logged
        (see L{getExpectedConnectionLostLogMsg}): an address identifying
        the port and the fact that it was closed.
         N/A loggedMessages N/A logConnectionLostMsg N/A N/A eventDict N/A N/A N/A N/A N/A loggedMessages append N/A N/A log textFromEventDict eventDict N/A N/A reactor N/A N/A self buildReactor N/A p N/A N/A self getListeningPort reactor N/A ServerFactory N/A expectedMessage N/A N/A self getExpectedConnectionLostLogMsg p N/A N/A N/A log addObserver logConnectionLostMsg stopReactor N/A N/A ignored N/A N/A N/A N/A N/A log removeObserver logConnectionLostMsg N/A N/A N/A reactor stop N/A doStopListening N/A N/A N/A N/A N/A N/A N/A log addObserver logConnectionLostMsg N/A N/A N/A N/A maybeDeferred N/A p stopListening addCallback stopReactor N/A N/A N/A N/A reactor callWhenRunning doStopListening N/A N/A N/A reactor run N/A N/A N/A self assertIn expectedMessage loggedMessages N/A test_allNewStyle N/A N/A self N/A N/A N/A 
        The L{IListeningPort} object is an instance of a class with no
        classic classes in its hierarchy.
         N/A reactor N/A N/A self buildReactor N/A port N/A N/A self getListeningPort reactor N/A ServerFactory N/A N/A N/A self assertFullyNewStyle port N/A N/A ListenTCPMixin N/A object N/A N/A 
    Mixin which uses L{IReactorTCP.listenTCP} to hand out listening TCP ports.
     getListeningPort N/A N/A self reactor factory port interface N/A 0 N/A N/A 
        Get a TCP port from a reactor.
         N/A N/A N/A reactor listenTCP port factory interface interface N/A N/A SocketTCPMixin N/A object N/A N/A 
    Mixin which uses L{IReactorSocket.adoptStreamPort} to hand out listening TCP
    ports.
     getListeningPort N/A N/A self reactor factory port interface N/A 0 N/A N/A 
        Get a TCP port from a reactor, wrapping an already-initialized file
        descriptor.
         N/A N/A N/A IReactorSocket providedBy reactor N/A N/A N/A : interface N/A N/A domain N/A socket AF_INET6 N/A address N/A N/A N/A N/A socket getaddrinfo interface port N/A 0 N/A 4 N/A N/A domain N/A socket AF_INET N/A address N/A interface port N/A portSock N/A N/A socket socket domain N/A N/A N/A portSock bind address N/A N/A N/A portSock listen 3 N/A N/A N/A portSock setblocking False N/A N/A N/A N/A N/A reactor adoptStreamPort N/A N/A portSock fileno N/A portSock family factory N/A N/A N/A N/A portSock fileno N/A N/A N/A portSock close N/A N/A N/A SkipTest Reactor does not provide IReactorSocket N/A N/A TCPPortTestsMixin N/A object N/A N/A 
    Tests for L{IReactorTCP.listenTCP}
     N/A requiredInterfaces N/A IReactorTCP getExpectedStartListeningLogMessage N/A N/A self port factory N/A N/A N/A 
        Get the message expected to be logged when a TCP port starts listening.
         N/A N/A %s starting on %d N/A factory N/A N/A N/A port getHost port N/A getExpectedConnectionLostLogMsg N/A N/A self port N/A N/A N/A 
        Get the expected connection lost message for a TCP port.
         N/A N/A (TCP Port %s Closed) N/A N/A N/A N/A port getHost port N/A test_portGetHostOnIPv4 N/A N/A self N/A N/A N/A 
        When no interface is passed to L{IReactorTCP.listenTCP}, the returned
        listening port listens on an IPv4 address.
         N/A reactor N/A N/A self buildReactor N/A port N/A N/A self getListeningPort reactor N/A ServerFactory N/A address N/A N/A port getHost N/A N/A N/A self assertIsInstance address IPv4Address N/A test_portGetHostOnIPv6 N/A N/A self N/A N/A N/A 
        When listening on an IPv6 address, L{IListeningPort.getHost} returns
        an L{IPv6Address} with C{host} and C{port} attributes reflecting the
        address the port is bound to.
         N/A reactor N/A N/A self buildReactor N/A N/A host portNumber N/A N/A findFreePort family N/A socket AF_INET6 interface ::1 N/A 2 N/A port N/A N/A self getListeningPort reactor N/A ServerFactory portNumber host N/A address N/A N/A port getHost N/A N/A N/A self assertIsInstance address IPv6Address N/A N/A N/A self assertEqual ::1 N/A address host N/A N/A N/A self assertEqual portNumber N/A address port N/A N/A ipv6Skip N/A N/A N/A test_portGetHostOnIPv6 skip ipv6Skip test_portGetHostOnIPv6ScopeID N/A N/A self N/A N/A N/A 
        When a link-local IPv6 address including a scope identifier is passed as
        the C{interface} argument to L{IReactorTCP.listenTCP}, the resulting
        L{IListeningPort} reports its address as an L{IPv6Address} with a host
        value that includes the scope identifier.
         N/A linkLocal N/A getLinkLocalIPv6Address N/A reactor N/A N/A self buildReactor N/A port N/A N/A self getListeningPort reactor N/A ServerFactory 0 linkLocal N/A address N/A N/A port getHost N/A N/A N/A self assertIsInstance address IPv6Address N/A N/A N/A self assertEqual linkLocal N/A address host N/A N/A ipv6Skip N/A N/A N/A test_portGetHostOnIPv6ScopeID skip ipv6Skip _buildProtocolAddressTest N/A N/A self client interface N/A N/A N/A 
        Connect C{client} to a server listening on C{interface} started with
        L{IReactorTCP.listenTCP} and return the address passed to the factory's
        C{buildProtocol} method.

        @param client: A C{SOCK_STREAM} L{socket.socket} created with an address
            family such that it will be able to connect to a server listening on
            C{interface}.

        @param interface: A C{str} giving an address for a server to listen on.
            This should almost certainly be the loopback address for some
            address family supported by L{IReactorTCP.listenTCP}.

        @return: Whatever object, probably an L{IAddress} provider, is passed to
            a server factory's C{buildProtocol} method when C{client}
            establishes a connection.
         ObserveAddress N/A ServerFactory N/A buildProtocol N/A N/A self address N/A N/A N/A N/A N/A reactor stop N/A N/A self observedAddress address N/A N/A Protocol N/A N/A N/A factory N/A ObserveAddress N/A reactor N/A N/A self buildReactor N/A port N/A N/A self getListeningPort reactor factory 0 interface N/A N/A N/A client setblocking False N/A N/A N/A N/A connect client N/A N/A N/A N/A port getHost host N/A N/A N/A port getHost port N/A N/A N/A N/A socket error N/A e N/A N/A N/A errnum message N/A e args N/A N/A N/A self assertIn errnum N/A N/A errno EINPROGRESS N/A errno EWOULDBLOCK N/A N/A N/A self runReactor reactor N/A N/A factory observedAddress N/A test_buildProtocolIPv4Address N/A N/A self N/A N/A N/A 
        When a connection is accepted over IPv4, an L{IPv4Address} is passed
        to the factory's C{buildProtocol} method giving the peer's address.
         N/A interface 127.0.0.1 N/A client N/A createTestSocket self N/A socket AF_INET N/A socket SOCK_STREAM N/A observedAddress N/A N/A self _buildProtocolAddressTest client interface N/A N/A N/A self assertEqual N/A IPv4Address TCP N/A N/A client getsockname observedAddress N/A test_buildProtocolIPv6Address N/A N/A self N/A N/A N/A 
        When a connection is accepted to an IPv6 address, an L{IPv6Address} is
        passed to the factory's C{buildProtocol} method giving the peer's
        address.
         N/A interface ::1 N/A client N/A createTestSocket self N/A socket AF_INET6 N/A socket SOCK_STREAM N/A observedAddress N/A N/A self _buildProtocolAddressTest client interface N/A N/A N/A self assertEqual N/A IPv6Address TCP N/A N/A N/A client getsockname N/A 2 observedAddress N/A N/A ipv6Skip N/A N/A N/A test_buildProtocolIPv6Address skip ipv6Skip test_buildProtocolIPv6AddressScopeID N/A N/A self N/A N/A N/A 
        When a connection is accepted to a link-local IPv6 address, an
        L{IPv6Address} is passed to the factory's C{buildProtocol} method
        giving the peer's address, including a scope identifier.
         N/A interface N/A getLinkLocalIPv6Address N/A client N/A createTestSocket self N/A socket AF_INET6 N/A socket SOCK_STREAM N/A observedAddress N/A N/A self _buildProtocolAddressTest client interface N/A N/A N/A self assertEqual N/A IPv6Address TCP N/A N/A N/A client getsockname N/A 2 observedAddress N/A N/A ipv6Skip N/A N/A N/A test_buildProtocolIPv6AddressScopeID skip ipv6Skip _serverGetConnectionAddressTest N/A N/A self client interface which N/A N/A N/A 
        Connect C{client} to a server listening on C{interface} started with
        L{IReactorTCP.listenTCP} and return the address returned by one of the
        server transport's address lookup methods, C{getHost} or C{getPeer}.

        @param client: A C{SOCK_STREAM} L{socket.socket} created with an address
            family such that it will be able to connect to a server listening on
            C{interface}.

        @param interface: A C{str} giving an address for a server to listen on.
            This should almost certainly be the loopback address for some
            address family supported by L{IReactorTCP.listenTCP}.

        @param which: A C{str} equal to either C{"getHost"} or C{"getPeer"}
            determining which address will be returned.

        @return: Whatever object, probably an L{IAddress} provider, is returned
            from the method indicated by C{which}.
         ObserveAddress N/A Protocol N/A makeConnection N/A N/A self transport N/A N/A N/A N/A N/A reactor stop N/A N/A N/A self factory address N/A N/A getattr transport which N/A N/A N/A reactor N/A N/A self buildReactor N/A factory N/A ServerFactory N/A N/A factory protocol ObserveAddress N/A port N/A N/A self getListeningPort reactor factory 0 interface N/A N/A N/A client setblocking False N/A N/A N/A N/A connect client N/A N/A N/A N/A port getHost host N/A N/A N/A port getHost port N/A N/A N/A N/A socket error N/A e N/A N/A N/A errnum message N/A e args N/A N/A N/A self assertIn errnum N/A N/A errno EINPROGRESS N/A errno EWOULDBLOCK N/A N/A N/A self runReactor reactor N/A N/A factory address N/A test_serverGetHostOnIPv4 N/A N/A self N/A N/A N/A 
        When a connection is accepted over IPv4, the server
        L{ITransport.getHost} method returns an L{IPv4Address} giving the
        address on which the server accepted the connection.
         N/A interface 127.0.0.1 N/A client N/A createTestSocket self N/A socket AF_INET N/A socket SOCK_STREAM N/A hostAddress N/A N/A self _serverGetConnectionAddressTest client interface getHost N/A N/A N/A self assertEqual N/A IPv4Address TCP N/A N/A client getpeername hostAddress N/A test_serverGetHostOnIPv6 N/A N/A self N/A N/A N/A 
        When a connection is accepted over IPv6, the server
        L{ITransport.getHost} method returns an L{IPv6Address} giving the
        address on which the server accepted the connection.
         N/A interface ::1 N/A client N/A createTestSocket self N/A socket AF_INET6 N/A socket SOCK_STREAM N/A hostAddress N/A N/A self _serverGetConnectionAddressTest client interface getHost N/A N/A N/A self assertEqual N/A IPv6Address TCP N/A N/A N/A client getpeername N/A 2 hostAddress N/A N/A ipv6Skip N/A N/A N/A test_serverGetHostOnIPv6 skip ipv6Skip test_serverGetHostOnIPv6ScopeID N/A N/A self N/A N/A N/A 
        When a connection is accepted over IPv6, the server
        L{ITransport.getHost} method returns an L{IPv6Address} giving the
        address on which the server accepted the connection, including the scope
        identifier.
         N/A interface N/A getLinkLocalIPv6Address N/A client N/A createTestSocket self N/A socket AF_INET6 N/A socket SOCK_STREAM N/A hostAddress N/A N/A self _serverGetConnectionAddressTest client interface getHost N/A N/A N/A self assertEqual N/A IPv6Address TCP N/A N/A N/A client getpeername N/A 2 hostAddress N/A N/A ipv6Skip N/A N/A N/A test_serverGetHostOnIPv6ScopeID skip ipv6Skip test_serverGetPeerOnIPv4 N/A N/A self N/A N/A N/A 
        When a connection is accepted over IPv4, the server
        L{ITransport.getPeer} method returns an L{IPv4Address} giving the
        address of the remote end of the connection.
         N/A interface 127.0.0.1 N/A client N/A createTestSocket self N/A socket AF_INET N/A socket SOCK_STREAM N/A peerAddress N/A N/A self _serverGetConnectionAddressTest client interface getPeer N/A N/A N/A self assertEqual N/A IPv4Address TCP N/A N/A client getsockname peerAddress N/A test_serverGetPeerOnIPv6 N/A N/A self N/A N/A N/A 
        When a connection is accepted over IPv6, the server
        L{ITransport.getPeer} method returns an L{IPv6Address} giving the
        address on the remote end of the connection.
         N/A interface ::1 N/A client N/A createTestSocket self N/A socket AF_INET6 N/A socket SOCK_STREAM N/A peerAddress N/A N/A self _serverGetConnectionAddressTest client interface getPeer N/A N/A N/A self assertEqual N/A IPv6Address TCP N/A N/A N/A client getsockname N/A 2 peerAddress N/A N/A ipv6Skip N/A N/A N/A test_serverGetPeerOnIPv6 skip ipv6Skip test_serverGetPeerOnIPv6ScopeID N/A N/A self N/A N/A N/A 
        When a connection is accepted over IPv6, the server
        L{ITransport.getPeer} method returns an L{IPv6Address} giving the
        address on the remote end of the connection, including the scope
        identifier.
         N/A interface N/A getLinkLocalIPv6Address N/A client N/A createTestSocket self N/A socket AF_INET6 N/A socket SOCK_STREAM N/A peerAddress N/A N/A self _serverGetConnectionAddressTest client interface getPeer N/A N/A N/A self assertEqual N/A IPv6Address TCP N/A N/A N/A client getsockname N/A 2 peerAddress N/A N/A ipv6Skip N/A N/A N/A test_serverGetPeerOnIPv6ScopeID skip ipv6Skip N/A TCPPortTestsBuilder N/A ReactorBuilder ListenTCPMixin TCPPortTestsMixin ObjectModelIntegrationMixin StreamTransportTestsMixin N/A N/A N/A TCPFDPortTestsBuilder N/A ReactorBuilder SocketTCPMixin TCPPortTestsMixin ObjectModelIntegrationMixin StreamTransportTestsMixin N/A N/A N/A StopStartReadingProtocol N/A Protocol N/A N/A 
    Protocol that pauses and resumes the transport a few times
     connectionMade N/A N/A self N/A N/A N/A N/A self data N/A N/A N/A self pauseResumeProducing 3 N/A pauseResumeProducing N/A N/A self counter N/A N/A N/A 
        Toggle transport read state, then count down.
         N/A N/A N/A N/A self transport pauseProducing N/A N/A N/A N/A self transport resumeProducing N/A counter N/A N/A N/A N/A N/A N/A self factory reactor callLater 0 N/A self pauseResumeProducing N/A counter 1 N/A N/A N/A N/A N/A N/A self factory reactor callLater 0 N/A N/A N/A self factory ready callback self N/A dataReceived N/A N/A self data N/A N/A N/A N/A N/A log msg got data N/A len data N/A N/A self data data N/A N/A N/A len N/A self data N/A 4 4096 N/A N/A N/A N/A N/A N/A self factory stop callback N/A self data N/A N/A oneTransportTest N/A N/A testMethod N/A N/A N/A 
    Decorate a L{ReactorBuilder} test function which tests one reactor and one
    connected transport.  Run that test method in the context of
    C{connectionMade}, and immediately drop the connection (and end the test)
    when that completes.

    @param testMethod: A unit test method on a L{ReactorBuilder} test suite;
        taking two additional parameters; a C{reactor} as built by the
        L{ReactorBuilder}, and an L{ITCPTransport} provider.
    @type testMethod: 3-argument C{function}

    @return: a no-argument test method.
    @rtype: 1-argument C{function}
     actualTestMethod N/A N/A builder N/A N/A N/A other N/A ConnectableProtocol ServerProtocol N/A ConnectableProtocol N/A connectionMade N/A N/A self N/A N/A N/A N/A N/A N/A testMethod builder N/A self reactor N/A self transport N/A N/A N/A N/A self transport None N/A N/A N/A N/A N/A self transport loseConnection N/A N/A N/A other transport None N/A N/A N/A N/A N/A other transport loseConnection N/A N/A N/A serverProtocol N/A ServerProtocol N/A N/A runProtocolsWithReactor builder serverProtocol other N/A TCPCreator N/A N/A wraps testMethod N/A actualTestMethod N/A assertReading N/A N/A testCase reactor transport N/A N/A N/A 
    Use the given test to assert that the given transport is actively reading
    in the given reactor.

    @note: Maintainers; for more information on why this is a function rather
        than a method on a test case, see U{this document on how we structure
        test tools
        <http://twistedmatrix.com/trac/wiki/Design/KeepTestToolsOutOfFixtures>}

    @param testCase: a test case to perform the assertion upon.
    @type testCase: L{TestCase}

    @param reactor: A reactor, possibly one providing L{IReactorFDSet}, or an
        IOCP reactor.

    @param transport: An L{ITCPTransport}
     N/A N/A N/A IReactorFDSet providedBy reactor N/A N/A N/A N/A testCase assertIn transport N/A N/A reactor getReaders N/A N/A N/A N/A testCase assertIn transport N/A reactor handles N/A N/A N/A testCase assertTrue N/A transport reading N/A assertNotReading N/A N/A testCase reactor transport N/A N/A N/A 
    Use the given test to assert that the given transport is I{not} actively
    reading in the given reactor.

    @note: Maintainers; for more information on why this is a function rather
        than a method on a test case, see U{this document on how we structure
        test tools
        <http://twistedmatrix.com/trac/wiki/Design/KeepTestToolsOutOfFixtures>}

    @param testCase: a test case to perform the assertion upon.
    @type testCase: L{TestCase}

    @param reactor: A reactor, possibly one providing L{IReactorFDSet}, or an
        IOCP reactor.

    @param transport: An L{ITCPTransport}
     N/A N/A N/A IReactorFDSet providedBy reactor N/A N/A N/A N/A testCase assertNotIn transport N/A N/A reactor getReaders N/A N/A N/A N/A testCase assertFalse N/A transport reading N/A TCPConnectionTestsBuilder N/A ReactorBuilder N/A N/A 
    Builder defining tests relating to L{twisted.internet.tcp.Connection}.
     N/A requiredInterfaces N/A IReactorTCP test_stopStartReading N/A N/A self N/A N/A N/A 
        This test verifies transport socket read state after multiple
        pause/resumeProducing calls.
         N/A sf N/A ServerFactory N/A reactor N/A sf reactor N/A N/A self buildReactor N/A skippedReactors N/A Glib2Reactor Gtk2Reactor N/A reactorClassName N/A N/A reactor __class__ __name__ N/A N/A N/A reactorClassName skippedReactors N/A N/A platform isWindows N/A N/A N/A SkipTest This test is broken on gtk/glib under Windows. N/A N/A sf protocol StopStartReadingProtocol N/A N/A sf ready N/A Deferred N/A N/A sf stop N/A Deferred N/A p N/A N/A reactor listenTCP 0 sf N/A port N/A N/A N/A p getHost port proceed N/A N/A protos port N/A N/A N/A 
            Send several IOCPReactor's buffers' worth of data.
             N/A N/A N/A self assertTrue N/A protos N/A 0 N/A N/A N/A self assertTrue N/A protos N/A 1 N/A protos N/A N/A N/A protos N/A 0 N/A 1 N/A N/A protos N/A 1 N/A 1 N/A N/A N/A N/A N/A protos N/A 0 transport write N/A N/A x N/A 2 4096 N/A y N/A 2 4096 N/A N/A N/A N/A N/A N/A sf stop addCallback cleanup protos port addCallback N/A N/A N/A ign N/A N/A N/A reactor stop N/A cleanup N/A N/A data protos port N/A N/A N/A 
            Make sure IOCPReactor didn't start several WSARecv operations
            that clobbered each other's results.
             N/A N/A N/A self assertEqual data N/A N/A x N/A 2 4096 N/A y N/A 2 4096 did not get the right data N/A N/A DeferredList N/A N/A maybeDeferred N/A N/A N/A protos N/A 0 transport loseConnection N/A maybeDeferred N/A N/A N/A protos N/A 1 transport loseConnection N/A maybeDeferred N/A port stopListening N/A N/A cc N/A TCP4ClientEndpoint reactor 127.0.0.1 port N/A cf N/A ClientFactory N/A N/A cf protocol Protocol N/A d N/A N/A N/A DeferredList N/A N/A N/A cc connect cf N/A sf ready addCallback proceed p N/A N/A N/A d addErrback N/A log err N/A N/A N/A self runReactor reactor N/A test_resumeProducing N/A N/A self reactor server N/A N/A N/A 
        When a L{Server} is connected, its C{resumeProducing} method adds it as
        a reader to the reactor.
         N/A N/A N/A server pauseProducing N/A N/A assertNotReading self reactor server N/A N/A N/A server resumeProducing N/A N/A assertReading self reactor server N/A oneTransportTest test_resumeProducingWhileDisconnecting N/A N/A self reactor server N/A N/A N/A 
        When a L{Server} has already started disconnecting via
        C{loseConnection}, its C{resumeProducing} method does not add it as a
        reader to its reactor.
         N/A N/A N/A server loseConnection N/A N/A N/A server resumeProducing N/A N/A assertNotReading self reactor server N/A oneTransportTest test_resumeProducingWhileDisconnected N/A N/A self reactor server N/A N/A N/A 
        When a L{Server} has already lost its connection, its
        C{resumeProducing} method does not add it as a reader to its reactor.
         N/A N/A N/A server connectionLost N/A Failure N/A Exception dummy N/A N/A assertNotReading self reactor server N/A N/A N/A server resumeProducing N/A N/A assertNotReading self reactor server N/A oneTransportTest test_connectionLostAfterPausedTransport N/A N/A self N/A N/A N/A 
        Alice connects to Bob.  Alice writes some bytes and then shuts down the
        connection.  Bob receives the bytes from the connection and then pauses
        the transport object.  Shortly afterwards Bob resumes the transport
        object.  At that point, Bob is notified that the connection has been
        closed.

        This is no problem for most reactors.  The underlying event notification
        API will probably just remind them that the connection has been closed.
        It is a little tricky for win32eventreactor (MsgWaitForMultipleObjects).
        MsgWaitForMultipleObjects will only deliver the close notification once.
        The reactor needs to remember that notification until Bob resumes the
        transport.
         Pauser N/A ConnectableProtocol N/A __init__ N/A N/A self N/A N/A N/A N/A self events N/A N/A dataReceived N/A N/A self bytes N/A N/A N/A N/A N/A N/A self events append paused N/A N/A N/A N/A self transport pauseProducing N/A N/A N/A N/A self reactor callLater 0 N/A self resume N/A resume N/A N/A self N/A N/A N/A N/A N/A N/A self events append resumed N/A N/A N/A N/A self transport resumeProducing N/A connectionLost N/A N/A self reason N/A N/A N/A N/A N/A N/A self events append lost N/A N/A N/A ConnectableProtocol connectionLost self reason N/A N/A Client N/A ConnectableProtocol N/A connectionMade N/A N/A self N/A N/A N/A N/A N/A N/A self transport write some bytes for you N/A N/A N/A N/A self transport loseConnection N/A N/A N/A pauser N/A Pauser N/A N/A runProtocolsWithReactor self pauser N/A Client N/A TCPCreator N/A N/A N/A self assertEqual N/A pauser events N/A paused resumed lost N/A test_doubleHalfClose N/A N/A self N/A N/A N/A 
        If one side half-closes its connection, and then the other side of the
        connection calls C{loseWriteConnection}, and then C{loseConnection} in
        {writeConnectionLost}, the connection is closed correctly.

        This rather obscure case used to fail (see ticket #3037).
         ListenerProtocol N/A ConnectableProtocol N/A readConnectionLost N/A N/A self N/A N/A N/A N/A N/A N/A self transport loseWriteConnection N/A writeConnectionLost N/A N/A self N/A N/A N/A N/A N/A N/A self transport loseConnection N/A N/A N/A implementer IHalfCloseableProtocol Client N/A ConnectableProtocol N/A connectionMade N/A N/A self N/A N/A N/A N/A N/A N/A self transport loseConnection N/A N/A N/A N/A runProtocolsWithReactor self N/A ListenerProtocol N/A Client N/A TCPCreator N/A N/A WriteSequenceTestsMixin N/A object N/A N/A 
    Test for L{twisted.internet.abstract.FileDescriptor.writeSequence}.
     N/A requiredInterfaces N/A IReactorTCP setWriteBufferSize N/A N/A self transport value N/A N/A N/A 
        Set the write buffer size for the given transport, mananing possible
        differences (ie, IOCP). Bug #4322 should remove the need of that hack.
         N/A N/A N/A getattr transport writeBufferSize None None N/A N/A N/A transport writeBufferSize value N/A N/A N/A transport bufferSize value N/A test_writeSequeceWithoutWrite N/A N/A self N/A N/A N/A 
        C{writeSequence} sends the data even if C{write} hasn't been called.
         connected N/A N/A protocols N/A N/A N/A N/A client server port protocols dataReceived N/A N/A data N/A N/A N/A N/A N/A log msg N/A data received: %r data N/A N/A N/A self assertEqual data Some sequence splitted N/A N/A N/A N/A client transport loseConnection N/A N/A N/A server dataReceived dataReceived N/A N/A N/A N/A client transport writeSequence N/A Some  sequence  splitted N/A N/A reactor N/A N/A self buildReactor N/A d N/A N/A self getConnectedClientAndServer reactor 127.0.0.1 N/A socket AF_INET N/A N/A N/A d addCallback connected N/A N/A N/A d addErrback N/A log err N/A N/A N/A self runReactor reactor N/A test_writeSequenceWithUnicodeRaisesException N/A N/A self N/A N/A N/A 
        C{writeSequence} with an element in the sequence of type unicode raises
        C{TypeError}.
         connected N/A N/A protocols N/A N/A N/A N/A client server port protocols N/A exc N/A N/A self assertRaises TypeError N/A N/A server transport writeSequence N/A Unicode is not kosher N/A N/A N/A self assertEqual N/A str exc Data must not be unicode N/A N/A N/A N/A server transport loseConnection N/A N/A reactor N/A N/A self buildReactor N/A d N/A N/A self getConnectedClientAndServer reactor 127.0.0.1 N/A socket AF_INET N/A N/A N/A d addCallback connected N/A N/A N/A d addErrback N/A log err N/A N/A N/A self runReactor reactor N/A test_streamingProducer N/A N/A self N/A N/A N/A 
        C{writeSequence} pauses its streaming producer if too much data is
        buffered, and then resumes it.
         SaveActionProducer N/A object N/A N/A client None N/A server None __init__ N/A N/A self N/A N/A N/A N/A self actions N/A N/A pauseProducing N/A N/A self N/A N/A N/A N/A N/A N/A self actions append pause N/A resumeProducing N/A N/A self N/A N/A N/A N/A N/A N/A self actions append resume N/A N/A N/A N/A N/A self client transport unregisterProducer N/A N/A N/A N/A N/A self server transport loseConnection N/A stopProducing N/A N/A self N/A N/A N/A N/A N/A N/A self actions append stop N/A N/A N/A implementer IPushProducer N/A producer N/A SaveActionProducer connected N/A N/A protocols N/A N/A N/A N/A client server N/A protocols N/A 2 N/A N/A producer client client N/A N/A producer server server N/A N/A N/A N/A client transport registerProducer producer True N/A N/A N/A self assertEqual N/A producer actions N/A N/A N/A N/A self setWriteBufferSize N/A client transport 500 N/A N/A N/A N/A client transport writeSequence N/A N/A N/A x 50 20 N/A N/A N/A self assertEqual N/A producer actions N/A pause N/A N/A reactor N/A N/A self buildReactor N/A d N/A N/A self getConnectedClientAndServer reactor 127.0.0.1 N/A socket AF_INET N/A N/A N/A d addCallback connected N/A N/A N/A d addErrback N/A log err N/A N/A N/A self runReactor reactor N/A N/A N/A self assertEqual N/A producer actions N/A pause resume N/A test_nonStreamingProducer N/A N/A self N/A N/A N/A 
        C{writeSequence} pauses its producer if too much data is buffered only
        if this is a streaming producer.
         N/A test self SaveActionProducer N/A object N/A N/A client None __init__ N/A N/A self N/A N/A N/A N/A self actions N/A N/A resumeProducing N/A N/A self N/A N/A N/A N/A N/A N/A self actions append resume N/A N/A N/A N/A N/A self actions count resume 2 N/A N/A N/A N/A N/A N/A self client transport stopConsuming N/A N/A N/A N/A test setWriteBufferSize N/A N/A self client transport 500 N/A N/A N/A N/A N/A self client transport writeSequence N/A N/A N/A x 50 20 N/A stopProducing N/A N/A self N/A N/A N/A N/A N/A N/A self actions append stop N/A N/A N/A implementer IPullProducer N/A producer N/A SaveActionProducer connected N/A N/A protocols N/A N/A N/A client N/A protocols N/A 0 N/A N/A producer client client N/A N/A N/A N/A client transport registerProducer producer False N/A N/A N/A self assertEqual N/A producer actions N/A resume N/A N/A reactor N/A N/A self buildReactor N/A d N/A N/A self getConnectedClientAndServer reactor 127.0.0.1 N/A socket AF_INET N/A N/A N/A d addCallback connected N/A N/A N/A d addErrback N/A log err N/A N/A N/A self runReactor reactor N/A N/A N/A self assertEqual N/A producer actions N/A resume resume N/A N/A TCPTransportServerAddressTestMixin N/A object N/A N/A 
    Test mixing for TCP server address building and log prefix.
     getConnectedClientAndServer N/A N/A self reactor interface addressFamily N/A N/A N/A 
        Helper method returnine a L{Deferred} firing with a tuple of a client
        protocol, a server protocol, and a running TCP port.
         N/A N/A NotImplementedError N/A _testServerAddress N/A N/A self interface addressFamily adressClass N/A N/A N/A 
        Helper method to test TCP server addresses on either IPv4 or IPv6.
         connected N/A N/A protocols N/A N/A N/A N/A client server port protocols N/A N/A N/A N/A N/A self assertEqual N/A <AccumulatingProtocol #%s on %s> N/A N/A N/A server transport sessionno N/A N/A N/A port getHost port N/A str N/A server transport N/A N/A N/A self assertEqual N/A AccumulatingProtocol,%s,%s N/A N/A N/A server transport sessionno interface N/A N/A server transport logstr N/A N/A peerAddress N/A N/A server factory peerAddresses N/A N/A N/A self assertIsInstance peerAddress adressClass N/A N/A N/A self assertEqual TCP N/A peerAddress type N/A N/A N/A self assertEqual interface N/A peerAddress host N/A N/A N/A N/A N/A server transport loseConnection N/A N/A reactor N/A N/A self buildReactor N/A d N/A N/A self getConnectedClientAndServer reactor interface addressFamily N/A N/A N/A d addCallback connected N/A N/A N/A d addErrback N/A log err N/A N/A N/A self runReactor reactor N/A test_serverAddressTCP4 N/A N/A self N/A N/A N/A 
        L{Server} instances have a string representation indicating on which
        port they're running, and the connected address is stored on the
        C{peerAddresses} attribute of the factory.
         N/A N/A N/A self _testServerAddress 127.0.0.1 N/A socket AF_INET IPv4Address N/A test_serverAddressTCP6 N/A N/A self N/A N/A N/A 
        IPv6 L{Server} instances have a string representation indicating on
        which port they're running, and the connected address is stored on the
        C{peerAddresses} attribute of the factory.
         N/A N/A N/A self _testServerAddress N/A getLinkLocalIPv6Address N/A socket AF_INET6 IPv6Address N/A N/A ipv6Skip N/A N/A N/A test_serverAddressTCP6 skip ipv6Skip N/A TCPTransportTestsBuilder N/A TCPTransportServerAddressTestMixin WriteSequenceTestsMixin ReactorBuilder N/A N/A 
    Test standard L{ITCPTransport}s built with C{listenTCP} and C{connectTCP}.
     getConnectedClientAndServer N/A N/A self reactor interface addressFamily N/A N/A N/A 
        Return a L{Deferred} firing with a L{MyClientFactory} and
        L{MyServerFactory} connected pair, and the listening C{Port}.
         N/A server N/A MyServerFactory N/A N/A server protocolConnectionMade N/A Deferred N/A N/A server protocolConnectionLost N/A Deferred N/A client N/A MyClientFactory N/A N/A client protocolConnectionMade N/A Deferred N/A N/A client protocolConnectionLost N/A Deferred N/A port N/A N/A reactor listenTCP 0 server interface interface N/A lostDeferred N/A gatherResults N/A N/A client protocolConnectionLost N/A server protocolConnectionLost stop N/A N/A result N/A N/A N/A N/A N/A reactor stop N/A result N/A N/A N/A N/A lostDeferred addBoth stop N/A startDeferred N/A gatherResults N/A N/A client protocolConnectionMade N/A server protocolConnectionMade N/A deferred N/A Deferred start N/A N/A protocols N/A N/A N/A N/A client server protocols N/A N/A N/A log msg N/A client connected %s client N/A N/A N/A log msg N/A server connected %s server N/A N/A N/A deferred callback N/A client server port N/A N/A N/A N/A startDeferred addCallback start N/A N/A N/A reactor connectTCP interface N/A N/A N/A port getHost port client N/A deferred N/A N/A AdoptStreamConnectionTestsBuilder N/A TCPTransportServerAddressTestMixin WriteSequenceTestsMixin ReactorBuilder N/A N/A 
    Test server transports built using C{adoptStreamConnection}.
     N/A requiredInterfaces N/A IReactorFDSet IReactorSocket getConnectedClientAndServer N/A N/A self reactor interface addressFamily N/A N/A N/A 
        Return a L{Deferred} firing with a L{MyClientFactory} and
        L{MyServerFactory} connected pair, and the listening C{Port}. The
        particularity is that the server protocol has been obtained after doing
        a C{adoptStreamConnection} against the original server connection.
         N/A firstServer N/A MyServerFactory N/A N/A firstServer protocolConnectionMade N/A Deferred N/A server N/A MyServerFactory N/A N/A server protocolConnectionMade N/A Deferred N/A N/A server protocolConnectionLost N/A Deferred N/A client N/A MyClientFactory N/A N/A client protocolConnectionMade N/A Deferred N/A N/A client protocolConnectionLost N/A Deferred N/A port N/A N/A reactor listenTCP 0 firstServer interface interface firtServerConnected N/A N/A proto N/A N/A N/A N/A N/A reactor removeReader N/A proto transport N/A N/A N/A reactor removeWriter N/A proto transport N/A N/A N/A reactor adoptStreamConnection N/A N/A N/A proto transport fileno addressFamily server N/A N/A N/A N/A N/A firstServer protocolConnectionMade addCallback firtServerConnected N/A lostDeferred N/A gatherResults N/A N/A client protocolConnectionLost N/A server protocolConnectionLost stop N/A N/A result N/A N/A N/A N/A reactor running N/A N/A N/A N/A reactor stop N/A result N/A N/A N/A N/A lostDeferred addBoth stop N/A deferred N/A Deferred N/A N/A N/A deferred addErrback stop N/A startDeferred N/A gatherResults N/A N/A client protocolConnectionMade N/A server protocolConnectionMade start N/A N/A protocols N/A N/A N/A N/A client server protocols N/A N/A N/A log msg N/A client connected %s client N/A N/A N/A log msg N/A server connected %s server N/A N/A N/A deferred callback N/A client server port N/A N/A N/A N/A startDeferred addCallback start N/A N/A N/A reactor connectTCP interface N/A N/A N/A port getHost port client N/A deferred N/A N/A N/A N/A N/A N/A globals update N/A N/A TCP4ClientTestsBuilder makeTestCaseClasses N/A N/A N/A N/A globals update N/A N/A TCP6ClientTestsBuilder makeTestCaseClasses N/A N/A N/A N/A globals update N/A N/A TCPPortTestsBuilder makeTestCaseClasses N/A N/A N/A N/A globals update N/A N/A TCPFDPortTestsBuilder makeTestCaseClasses N/A N/A N/A N/A globals update N/A N/A TCPConnectionTestsBuilder makeTestCaseClasses N/A N/A N/A N/A globals update N/A N/A TCP4ConnectorTestsBuilder makeTestCaseClasses N/A N/A N/A N/A globals update N/A N/A TCP6ConnectorTestsBuilder makeTestCaseClasses N/A N/A N/A N/A globals update N/A N/A TCPTransportTestsBuilder makeTestCaseClasses N/A N/A N/A N/A globals update N/A N/A AdoptStreamConnectionTestsBuilder makeTestCaseClasses ServerAbortsTwice N/A ConnectableProtocol N/A N/A 
    Call abortConnection() twice.
     dataReceived N/A N/A self data N/A N/A N/A N/A N/A N/A self transport abortConnection N/A N/A N/A N/A self transport abortConnection N/A N/A ServerAbortsThenLoses N/A ConnectableProtocol N/A N/A 
    Call abortConnection() followed by loseConnection().
     dataReceived N/A N/A self data N/A N/A N/A N/A N/A N/A self transport abortConnection N/A N/A N/A N/A self transport loseConnection N/A N/A AbortServerWritingProtocol N/A ConnectableProtocol N/A N/A 
    Protocol that writes data upon connection.
     connectionMade N/A N/A self N/A N/A N/A 
        Tell the client that the connection is set up and it's time to abort.
         N/A N/A N/A N/A self transport write ready N/A N/A ReadAbortServerProtocol N/A AbortServerWritingProtocol N/A N/A 
    Server that should never receive any data, except 'X's which are written
    by the other side of the connection before abortConnection, and so might
    possibly arrive.
     dataReceived N/A N/A self data N/A N/A N/A N/A N/A data replace X N/A N/A N/A Exception Unexpectedly received data. N/A N/A NoReadServer N/A ConnectableProtocol N/A N/A 
    Stop reading immediately on connection.

    This simulates a lost connection that will cause the other side to time
    out, and therefore call abortConnection().
     connectionMade N/A N/A self N/A N/A N/A N/A N/A N/A self transport stopReading N/A N/A EventualNoReadServer N/A ConnectableProtocol N/A N/A 
    Like NoReadServer, except we Wait until some bytes have been delivered
    before stopping reading. This means TLS handshake has finished, where
    applicable.
     N/A gotData False N/A stoppedReading False dataReceived N/A N/A self data N/A N/A N/A N/A N/A self gotData N/A N/A N/A self gotData True N/A N/A N/A N/A self transport registerProducer self False N/A N/A N/A N/A self transport write hello N/A resumeProducing N/A N/A self N/A N/A N/A N/A self stoppedReading N/A N/A N/A N/A self stoppedReading True N/A N/A N/A N/A self transport stopReading N/A pauseProducing N/A N/A self N/A N/A N/A N/A stopProducing N/A N/A self N/A N/A N/A N/A N/A BaseAbortingClient N/A ConnectableProtocol N/A N/A 
    Base class for abort-testing clients.
     N/A inReactorMethod False connectionLost N/A N/A self reason N/A N/A N/A N/A self inReactorMethod N/A N/A N/A RuntimeError BUG: connectionLost was called re-entrantly! N/A N/A N/A ConnectableProtocol connectionLost self reason N/A N/A WritingButNotAbortingClient N/A BaseAbortingClient N/A N/A 
    Write data, but don't abort.
     connectionMade N/A N/A self N/A N/A N/A N/A N/A N/A self transport write hello N/A N/A AbortingClient N/A BaseAbortingClient N/A N/A 
    Call abortConnection() after writing some data.
     dataReceived N/A N/A self data N/A N/A N/A 
        Some data was received, so the connection is set up.
         N/A N/A self inReactorMethod True N/A N/A N/A self writeAndAbort N/A N/A self inReactorMethod False N/A writeAndAbort N/A N/A self N/A N/A N/A N/A N/A N/A self transport write N/A X 10000 N/A N/A N/A N/A self transport abortConnection N/A N/A N/A N/A self transport write N/A Y 10000 N/A N/A AbortingTwiceClient N/A AbortingClient N/A N/A 
    Call abortConnection() twice, after writing some data.
     writeAndAbort N/A N/A self N/A N/A N/A N/A N/A AbortingClient writeAndAbort self N/A N/A N/A N/A self transport abortConnection N/A N/A AbortingThenLosingClient N/A AbortingClient N/A N/A 
    Call abortConnection() and then loseConnection().
     writeAndAbort N/A N/A self N/A N/A N/A N/A N/A AbortingClient writeAndAbort self N/A N/A N/A N/A self transport loseConnection N/A N/A ProducerAbortingClient N/A ConnectableProtocol N/A N/A 
    Call abortConnection from doWrite, via resumeProducing.
     N/A inReactorMethod True N/A producerStopped False write N/A N/A self N/A N/A N/A N/A N/A N/A self transport write N/A lalala 127000 N/A N/A self inRegisterProducer True N/A N/A N/A N/A self transport registerProducer self False N/A N/A self inRegisterProducer False N/A connectionMade N/A N/A self N/A N/A N/A N/A N/A self write N/A resumeProducing N/A N/A self N/A N/A N/A N/A self inReactorMethod True N/A N/A N/A self inRegisterProducer N/A N/A N/A N/A N/A self transport abortConnection N/A N/A self inReactorMethod False N/A stopProducing N/A N/A self N/A N/A N/A N/A self producerStopped True N/A connectionLost N/A N/A self reason N/A N/A N/A N/A N/A self producerStopped N/A N/A N/A RuntimeError BUG: stopProducing() was never called. N/A N/A self inReactorMethod N/A N/A N/A RuntimeError BUG: connectionLost called re-entrantly! N/A N/A N/A ConnectableProtocol connectionLost self reason N/A N/A StreamingProducerClient N/A ConnectableProtocol N/A N/A 
    Call abortConnection() when the other side has stopped reading.

    In particular, we want to call abortConnection() only once our local
    socket hits a state where it is no longer writeable. This helps emulate
    the most common use case for abortConnection(), closing a connection after
    a timeout, with write buffers being full.

    Since it's very difficult to know when this actually happens, we just
    write a lot of data, and assume at that point no more writes will happen.
     N/A paused False N/A extraWrites 0 N/A inReactorMethod False connectionMade N/A N/A self N/A N/A N/A N/A N/A self write N/A write N/A N/A self N/A N/A N/A 
        Write large amount to transport, then wait for a while for buffers to
        fill up.
         N/A N/A N/A N/A self transport registerProducer self True N/A i N/A range 100 N/A N/A N/A N/A N/A self transport write N/A 1234567890 32000 N/A resumeProducing N/A N/A self N/A N/A N/A N/A self paused False N/A stopProducing N/A N/A self N/A N/A N/A N/A pauseProducing N/A N/A self N/A N/A N/A 
        Called when local buffer fills up.

        The goal is to hit the point where the local file descriptor is not
        writeable (or the moral equivalent). The fact that pauseProducing has
        been called is not sufficient, since that can happen when Twisted's
        buffers fill up but OS hasn't gotten any writes yet. We want to be as
        close as possible to every buffer (including OS buffers) being full.

        So, we wait a bit more after this for Twisted to write out a few
        chunks, then abortConnection.
         N/A N/A self paused N/A N/A N/A N/A self paused True N/A N/A N/A N/A self reactor callLater 0.01 N/A self doAbort N/A doAbort N/A N/A self N/A N/A N/A N/A N/A self paused N/A N/A N/A N/A log err N/A RuntimeError BUG: We should be paused a this point. N/A N/A self inReactorMethod True N/A N/A N/A N/A self transport abortConnection N/A N/A self inReactorMethod False N/A connectionLost N/A N/A self reason N/A N/A N/A N/A N/A N/A N/A self otherProtocol transport startReading N/A N/A N/A ConnectableProtocol connectionLost self reason N/A N/A StreamingProducerClientLater N/A StreamingProducerClient N/A N/A 
    Call abortConnection() from dataReceived, after bytes have been
    exchanged.
     connectionMade N/A N/A self N/A N/A N/A N/A N/A N/A self transport write hello N/A N/A self gotData False N/A dataReceived N/A N/A self data N/A N/A N/A N/A N/A self gotData N/A N/A N/A self gotData True N/A N/A N/A self write N/A N/A ProducerAbortingClientLater N/A ProducerAbortingClient N/A N/A 
    Call abortConnection from doWrite, via resumeProducing.

    Try to do so after some bytes have already been exchanged, so we
    don't interrupt SSL handshake.
     connectionMade N/A N/A self N/A N/A N/A N/A dataReceived N/A N/A self data N/A N/A N/A N/A N/A self write N/A N/A DataReceivedRaisingClient N/A AbortingClient N/A N/A 
    Call abortConnection(), and then throw exception, from dataReceived.
     dataReceived N/A N/A self data N/A N/A N/A N/A N/A N/A self transport abortConnection N/A N/A ZeroDivisionError ONO N/A N/A ResumeThrowsClient N/A ProducerAbortingClient N/A N/A 
    Call abortConnection() and throw exception from resumeProducing().
     resumeProducing N/A N/A self N/A N/A N/A N/A N/A self inRegisterProducer N/A N/A N/A N/A N/A self transport abortConnection N/A N/A ZeroDivisionError ono! N/A connectionLost N/A N/A self reason N/A N/A N/A N/A N/A ConnectableProtocol connectionLost self reason N/A N/A AbortConnectionMixin N/A object N/A N/A 
    Unit tests for L{ITransport.abortConnection}.
     N/A endpoints None runAbortTest N/A N/A self clientClass serverClass clientConnectionLostReason N/A None N/A N/A 
        A test runner utility function, which hooks up a matched pair of client
        and server protocols.

        We then run the reactor until both sides have disconnected, and then
        verify that the right exception resulted.
         N/A clientExpectedExceptions N/A ConnectionAborted ConnectionLost N/A serverExpectedExceptions N/A ConnectionLost ConnectionDone N/A useSSL N/A N/A clientExpectedExceptions N/A clientExpectedExceptions N/A N/A SSL Error N/A serverExpectedExceptions N/A serverExpectedExceptions N/A N/A SSL Error N/A client N/A clientClass N/A server N/A serverClass N/A N/A client otherProtocol server N/A N/A server otherProtocol client N/A reactor N/A runProtocolsWithReactor self server client N/A self endpoints N/A N/A N/A self assertEqual N/A N/A reactor removeAll N/A N/A N/A N/A self assertEqual N/A N/A reactor getDelayedCalls N/A N/A N/A clientConnectionLostReason None N/A N/A N/A N/A self assertIsInstance N/A N/A client disconnectReason value N/A N/A clientConnectionLostReason clientExpectedExceptions N/A N/A N/A N/A self assertIsInstance N/A N/A client disconnectReason value clientExpectedExceptions N/A N/A N/A self assertIsInstance N/A N/A server disconnectReason value serverExpectedExceptions N/A test_dataReceivedAbort N/A N/A self N/A N/A N/A 
        abortConnection() is called in dataReceived. The protocol should be
        disconnected, but connectionLost should not be called re-entrantly.
         N/A N/A N/A self runAbortTest AbortingClient ReadAbortServerProtocol N/A test_clientAbortsConnectionTwice N/A N/A self N/A N/A N/A 
        abortConnection() is called twice by client.

        No exception should be thrown, and the connection will be closed.
         N/A N/A N/A self runAbortTest AbortingTwiceClient ReadAbortServerProtocol N/A test_clientAbortsConnectionThenLosesConnection N/A N/A self N/A N/A N/A 
        Client calls abortConnection(), followed by loseConnection().

        No exception should be thrown, and the connection will be closed.
         N/A N/A N/A self runAbortTest AbortingThenLosingClient ReadAbortServerProtocol N/A test_serverAbortsConnectionTwice N/A N/A self N/A N/A N/A 
        abortConnection() is called twice by server.

        No exception should be thrown, and the connection will be closed.
         N/A N/A N/A self runAbortTest WritingButNotAbortingClient ServerAbortsTwice clientConnectionLostReason ConnectionLost N/A test_serverAbortsConnectionThenLosesConnection N/A N/A self N/A N/A N/A 
        Server calls abortConnection(), followed by loseConnection().

        No exception should be thrown, and the connection will be closed.
         N/A N/A N/A self runAbortTest WritingButNotAbortingClient ServerAbortsThenLoses clientConnectionLostReason ConnectionLost N/A test_resumeProducingAbort N/A N/A self N/A N/A N/A 
        abortConnection() is called in resumeProducing, before any bytes have
        been exchanged. The protocol should be disconnected, but
        connectionLost should not be called re-entrantly.
         N/A N/A N/A self runAbortTest ProducerAbortingClient ConnectableProtocol N/A test_resumeProducingAbortLater N/A N/A self N/A N/A N/A 
        abortConnection() is called in resumeProducing, after some
        bytes have been exchanged. The protocol should be disconnected.
         N/A N/A N/A self runAbortTest ProducerAbortingClientLater AbortServerWritingProtocol N/A test_fullWriteBuffer N/A N/A self N/A N/A N/A 
        abortConnection() triggered by the write buffer being full.

        In particular, the server side stops reading. This is supposed
        to simulate a realistic timeout scenario where the client
        notices the server is no longer accepting data.

        The protocol should be disconnected, but connectionLost should not be
        called re-entrantly.
         N/A N/A N/A self runAbortTest StreamingProducerClient NoReadServer N/A test_fullWriteBufferAfterByteExchange N/A N/A self N/A N/A N/A 
        abortConnection() is triggered by a write buffer being full.

        However, this buffer is filled after some bytes have been exchanged,
        allowing a TLS handshake if we're testing TLS. The connection will
        then be lost.
         N/A N/A N/A self runAbortTest StreamingProducerClientLater EventualNoReadServer N/A test_dataReceivedThrows N/A N/A self N/A N/A N/A 
        dataReceived calls abortConnection(), and then raises an exception.

        The connection will be lost, with the thrown exception
        (C{ZeroDivisionError}) as the reason on the client. The idea here is
        that bugs should not be masked by abortConnection, in particular
        unexpected exceptions.
         N/A N/A N/A self runAbortTest DataReceivedRaisingClient AbortServerWritingProtocol clientConnectionLostReason ZeroDivisionError N/A errors N/A N/A self flushLoggedErrors ZeroDivisionError N/A N/A N/A self assertEqual N/A len errors 1 N/A test_resumeProducingThrows N/A N/A self N/A N/A N/A 
        resumeProducing calls abortConnection(), and then raises an exception.

        The connection will be lost, with the thrown exception
        (C{ZeroDivisionError}) as the reason on the client. The idea here is
        that bugs should not be masked by abortConnection, in particular
        unexpected exceptions.
         N/A N/A N/A self runAbortTest ResumeThrowsClient ConnectableProtocol clientConnectionLostReason ZeroDivisionError N/A errors N/A N/A self flushLoggedErrors ZeroDivisionError N/A N/A N/A self assertEqual N/A len errors 1 N/A N/A AbortConnectionTestCase N/A ReactorBuilder AbortConnectionMixin N/A N/A 
    TCP-specific L{AbortConnectionMixin} tests.
     N/A requiredInterfaces N/A IReactorTCP N/A endpoints N/A TCPCreator N/A N/A N/A N/A N/A globals update N/A N/A AbortConnectionTestCase makeTestCaseClasses SimpleUtilityTestCase N/A TestCase N/A N/A 
    Simple, direct tests for helpers within L{twisted.internet.tcp}.
     N/A ipv6Skip N/A N/A skip ipv6Skip test_resolveNumericHost N/A N/A self N/A N/A N/A 
        L{_resolveIPv6} raises a L{socket.gaierror} (L{socket.EAI_NONAME}) when
        invoked with a non-numeric host.  (In other words, it is passing
        L{socket.AI_NUMERICHOST} to L{socket.getaddrinfo} and will not
        accidentally block if it receives bad input.)
         N/A err N/A N/A self assertRaises N/A socket gaierror _resolveIPv6 localhost 1 N/A N/A N/A self assertEqual N/A N/A err args N/A 0 N/A socket EAI_NONAME N/A test_resolveNumericService N/A N/A self N/A N/A N/A 
        L{_resolveIPv6} raises a L{socket.gaierror} (L{socket.EAI_NONAME}) when
        invoked with a non-numeric port.  (In other words, it is passing
        L{socket.AI_NUMERICSERV} to L{socket.getaddrinfo} and will not
        accidentally block if it receives bad input.)
         N/A err N/A N/A self assertRaises N/A socket gaierror _resolveIPv6 ::1 http N/A N/A N/A self assertEqual N/A N/A err args N/A 0 N/A socket EAI_NONAME N/A N/A N/A N/A platform isWindows N/A N/A N/A test_resolveNumericService skip The AI_NUMERICSERV flag is not supported by Microsoft providers. test_resolveIPv6 N/A N/A self N/A N/A N/A 
        L{_resolveIPv6} discovers the flow info and scope ID of an IPv6
        address.
         N/A result N/A _resolveIPv6 ::1 2 N/A N/A N/A self assertEqual N/A len result 4 N/A N/A N/A self assertIsInstance N/A result N/A 2 int N/A N/A N/A self assertIsInstance N/A result N/A 3 int N/A N/A N/A self assertEqual N/A result N/A 2 N/A ::1 2 N/A N/A