Module Expr Str ImportFrom alias alias Import alias Import alias Import alias Import alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias alias alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias If UnaryOpNot NameLoad body ImportFrom alias alias ImportFrom alias alias ImportFrom alias alias orelse ImportFrom alias ClassDef bases NameLoad body Pass decorator_list Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore ListLoad Str Str Str Str Str Str Str Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad For NameStore ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Return Call AttributeLoad AttributeLoad NameLoad attr attr Return AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIs NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr handlers ExceptHandler body Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr decorator_list decorator_list Call NameLoad AttributeLoad NameLoad attr ClassDef bases AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Str decorator_list ClassDef bases Call NameLoad NameLoad Str body Expr Str decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareEq NameLoad Num body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse If BoolOpAnd CompareEq NameLoad Num CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpAnd CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq AttributeLoad AttributeLoad NameLoad attr attr Num body Return Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad NameLoad attr orelse Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults TupleLoad Dict NameLoad NameLoad NameLoad Num NameLoad AttributeLoad NameLoad attr body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler body Return Call AttributeLoad NameLoad attr orelse Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list Call NameLoad AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list decorator_list Call NameLoad AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num Str body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad 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 Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr handlers ExceptHandler body Return Call AttributeLoad NameLoad attr decorator_list decorator_list Call NameLoad AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore Num FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr handlers ExceptHandler body Return Call AttributeLoad NameLoad attr decorator_list decorator_list Call NameLoad AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameLoad Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore SubscriptLoad NameLoad Slice body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str For TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad body If CompareIn NameLoad ListLoad NameLoad body Expr Yield Call NameLoad AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareIn NameLoad ListLoad NameLoad body Expr Yield Call NameLoad AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad For NameStore SubscriptLoad NameLoad Slice body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body If BoolOpAnd NameLoad UnaryOpNot NameLoad UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Num AttributeLoad NameLoad attr decorator_list decorator_list Call NameLoad AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Str body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list decorator_list Call NameLoad AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr handlers ExceptHandler body Return Call AttributeLoad NameLoad attr decorator_list decorator_list Call NameLoad AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num Num body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list decorator_list Call NameLoad AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num Num body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr handlers ExceptHandler body Return Call AttributeLoad NameLoad attr decorator_list decorator_list Call NameLoad AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler body Return Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str Num body Expr Str Return TupleLoad TupleLoad Call NameLoad NameLoad NameLoad Dict Str Str NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Str Num NameLoad body Expr Str Return TupleLoad TupleLoad NameLoad NameLoad Dict Str Str Str Call NameLoad NameLoad Num Call NameLoad NameLoad Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str NameLoad NameLoad Str Num NameLoad NameLoad body Expr Str ImportFrom alias If CompareIs NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore Dict If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad Call NameLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore ListComp AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr comprehension NameStore NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad orelse Assign NameStore NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad NameLoad Return TupleLoad TupleLoad Call NameLoad NameLoad NameLoad NameLoad Dict Str Str NameLoad Call NameLoad NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list Call NameLoad NameLoad NameLoad ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad Assign NameStore Call NameLoad NameLoad BinOpAdd Str NameLoad Return Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list decorator_list Call NameLoad NameLoad NameLoad ClassDef bases NameLoad body Expr Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num Str body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Return Call NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list decorator_list Call NameLoad NameLoad NameLoad Assign NameStore Dict Str Str Str NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore Call NameLoad Num FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Dict Str Str Str Str Assign NameStore Call NameLoad NameLoad For NameStore NameLoad body If CompareIn NameLoad NameLoad body Expr Yield TupleLoad NameLoad NameLoad Expr Yield TupleLoad NameLoad NameLoad Assign NameStore Str Assign NameStore SubscriptLoad NameLoad Index NameLoad orelse If CompareEq NameLoad Str body AugAssignAdd NameStore Call AttributeLoad NameLoad attr orelse AugAssignAdd NameStore NameLoad Expr Yield TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore TupleLoad ListLoad Dict FunctionDef arguments args NameParam defaults body If CompareEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num orelse Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num decorator_list Assign NameStore TupleLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareIs NameLoad NameLoad body AugAssignAdd NameStore TupleLoad NameLoad orelse If CompareEq NameLoad Str body Expr Call NameLoad NameLoad Assign NameStore TupleLoad Expr Call NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list Assign NameStore Dict Str Str Str NameLoad NameLoad NameLoad Assign NameStore Dict Str Str Str NameLoad NameLoad NameLoad Assign NameStore Call NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign TupleStore NameStore NameStore Call NameLoad NameLoad If BoolOpOr UnaryOpNot NameLoad BoolOpAnd CompareEq Call NameLoad NameLoad Num UnaryOpNot NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Num orelse If CompareIs NameLoad NameLoad body Raise Call NameLoad NameLoad Assign SubscriptStore NameLoad Slice Num Num ListLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body For NameStore Call NameLoad NameLoad body If CompareEq AttributeLoad NameLoad attr NameLoad body Return TupleLoad NameLoad SubscriptLoad NameLoad Slice Num NameLoad Raise Call NameLoad BinOpMod Str TupleLoad NameLoad Return BinOpAdd TupleLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad SubscriptLoad NameLoad Slice Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad If CompareIsNot Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse Assign NameStore NameLoad Assign NameStore BinOpAdd SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num Return Call SubscriptLoad NameLoad Index NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Str decorator_list FunctionDef arguments args defaults vararg kwarg body Expr Str If CompareEq Call NameLoad NameLoad Num body Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Num orelse If CompareEq Call NameLoad NameLoad Num body If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Num orelse Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Num TryExcept body Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Pass TryExcept body Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Pass TryExcept body Assign SubscriptStore NameLoad Index Str TupleLoad SubscriptLoad NameLoad Index Str Num handlers ExceptHandler type NameLoad body Pass Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias Assign NameStore Dict For NameStore Call AttributeLoad NameLoad attr body If UnaryOpNot CompareEq Call AttributeLoad SubscriptLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Index Num attr Str body Continue TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Continue TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr body Pass orelse Assign SubscriptStore NameLoad Index Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults vararg kwarg body Expr Str ImportFrom alias Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Call NameLoad NameLoad attr attr orelse Assign NameStore NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore AttributeLoad AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Call NameLoad NameLoad attr attr attr orelse Assign NameStore NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad orelse Assign NameStore NameLoad Assign NameStore NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults vararg kwarg body Expr Str If CompareEq Call NameLoad NameLoad Num body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Num TryExcept body Assign SubscriptStore NameLoad Index Str Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Pass TryExcept body Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Pass Return NameLoad decorator_list Assign NameStore Dict Str Str Str NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call NameLoad NameLoad body If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad For NameStore Call NameLoad NameLoad body If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareNotIn NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad Assign NameStore Call SubscriptLoad NameLoad Index NameLoad NameLoad NameLoad Return Call SubscriptLoad NameLoad Index NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return NameLoad decorator_list decorator_list Return Call AttributeLoad NameLoad attr Call NameLoad decorator_list If NameLoad body For NameStore SubscriptLoad NameLoad Slice body If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Delete SubscriptDel Call NameLoad Index NameLoad Delete NameDel NameDel
N/A N/A 
Implementations of L{IStreamServerEndpoint} and L{IStreamClientEndpoint} that
wrap the L{IReactorTCP}, L{IReactorSSL}, and L{IReactorUNIX} interfaces.

This also implements an extensible mini-language for describing endpoints,
parsed by the L{clientFromString} and L{serverFromString} functions.

@since: 10.1
 __future__ division absolute_import N/A os N/A re N/A socket N/A warnings socket AF_INET6 AF_INET zope.interface implementer directlyProvides twisted.python.compat _PY3 twisted.internet interfaces defer error fdesc threads twisted.internet.protocol ClientFactory Factory twisted.internet.protocol ProcessProtocol Protocol twisted.internet.interfaces IStreamServerEndpointStringParser IStreamClientEndpointStringParser IStreamClientEndpointStringParserWithReactor twisted.python.filepath FilePath twisted.python.systemd ListenFDs twisted.internet.abstract isIPv6Address twisted.python.failure Failure twisted.python log twisted.internet.address _ProcessAddress HostnameAddress twisted.python.components proxyForInterface twisted.internet.task LoopingCall N/A N/A _PY3 N/A twisted.plugin IPlugin getPlugins twisted.internet.stdio StandardIO PipeAddress twisted.python.constants NamedConstant Names N/A zope.interface Interface IPlugin N/A Interface N/A N/A N/A N/A NamedConstant object N/A Names object N/A StandardIO None N/A __all__ N/A clientFromString serverFromString TCP4ServerEndpoint TCP6ServerEndpoint TCP4ClientEndpoint TCP6ClientEndpoint UNIXServerEndpoint UNIXClientEndpoint SSL4ServerEndpoint SSL4ClientEndpoint AdoptedStreamServerEndpoint StandardIOEndpoint ProcessEndpoint HostnameEndpoint StandardErrorBehavior connectProtocol N/A __all3__ N/A TCP4ServerEndpoint TCP6ServerEndpoint TCP4ClientEndpoint TCP6ClientEndpoint SSL4ServerEndpoint SSL4ClientEndpoint connectProtocol HostnameEndpoint _WrappingProtocol N/A Protocol N/A N/A 
    Wrap another protocol in order to notify my user when a connection has
    been made.
     __init__ N/A N/A self connectedDeferred wrappedProtocol N/A N/A N/A 
        @param connectedDeferred: The L{Deferred} that will callback
            with the C{wrappedProtocol} when it is connected.

        @param wrappedProtocol: An L{IProtocol} provider that will be
            connected.
         N/A N/A self _connectedDeferred connectedDeferred N/A N/A self _wrappedProtocol wrappedProtocol N/A iface N/A N/A interfaces IHalfCloseableProtocol N/A interfaces IFileDescriptorReceiver N/A N/A N/A N/A iface providedBy N/A self _wrappedProtocol N/A N/A N/A directlyProvides self iface N/A logPrefix N/A N/A self N/A N/A N/A 
        Transparently pass through the wrapped protocol's log prefix.
         N/A N/A N/A N/A interfaces ILoggingContext providedBy N/A self _wrappedProtocol N/A N/A N/A N/A N/A self _wrappedProtocol logPrefix N/A N/A N/A N/A self _wrappedProtocol __class__ __name__ N/A connectionMade N/A N/A self N/A N/A N/A 
        Connect the C{self._wrappedProtocol} to our C{self.transport} and
        callback C{self._connectedDeferred} with the C{self._wrappedProtocol}
         N/A N/A N/A N/A self _wrappedProtocol makeConnection N/A self transport N/A N/A N/A N/A self _connectedDeferred callback N/A self _wrappedProtocol N/A dataReceived N/A N/A self data N/A N/A N/A 
        Proxy C{dataReceived} calls to our C{self._wrappedProtocol}
         N/A N/A N/A N/A self _wrappedProtocol dataReceived data N/A fileDescriptorReceived N/A N/A self descriptor N/A N/A N/A 
        Proxy C{fileDescriptorReceived} calls to our C{self._wrappedProtocol}
         N/A N/A N/A N/A self _wrappedProtocol fileDescriptorReceived descriptor N/A connectionLost N/A N/A self reason N/A N/A N/A 
        Proxy C{connectionLost} calls to our C{self._wrappedProtocol}
         N/A N/A N/A N/A self _wrappedProtocol connectionLost reason N/A readConnectionLost N/A N/A self N/A N/A N/A 
        Proxy L{IHalfCloseableProtocol.readConnectionLost} to our
        C{self._wrappedProtocol}
         N/A N/A N/A N/A self _wrappedProtocol readConnectionLost N/A writeConnectionLost N/A N/A self N/A N/A N/A 
        Proxy L{IHalfCloseableProtocol.writeConnectionLost} to our
        C{self._wrappedProtocol}
         N/A N/A N/A N/A self _wrappedProtocol writeConnectionLost N/A N/A _WrappingFactory N/A ClientFactory N/A N/A 
    Wrap a factory in order to wrap the protocols it builds.

    @ivar _wrappedFactory: A provider of I{IProtocolFactory} whose buildProtocol
        method will be called and whose resulting protocol will be wrapped.

    @ivar _onConnection: A L{Deferred} that fires when the protocol is
        connected

    @ivar _connector: A L{connector <twisted.internet.interfaces.IConnector>}
        that is managing the current or previous connection attempt.
     N/A protocol _WrappingProtocol __init__ N/A N/A self wrappedFactory N/A N/A N/A 
        @param wrappedFactory: A provider of I{IProtocolFactory} whose
            buildProtocol method will be called and whose resulting protocol
            will be wrapped.
         N/A N/A self _wrappedFactory wrappedFactory N/A N/A self _onConnection N/A N/A defer Deferred canceller N/A self _canceller N/A startedConnecting N/A N/A self connector N/A N/A N/A 
        A connection attempt was started.  Remember the connector which started
        said attempt, for use later.
         N/A N/A self _connector connector N/A _canceller N/A N/A self deferred N/A N/A N/A 
        The outgoing connection attempt was cancelled.  Fail that L{Deferred}
        with an L{error.ConnectingCancelledError}.

        @param deferred: The L{Deferred <defer.Deferred>} that was cancelled;
            should be the same as C{self._onConnection}.
        @type deferred: L{Deferred <defer.Deferred>}

        @note: This relies on startedConnecting having been called, so it may
            seem as though there's a race condition where C{_connector} may not
            have been set.  However, using public APIs, this condition is
            impossible to catch, because a connection API
            (C{connectTCP}/C{SSL}/C{UNIX}) is always invoked before a
            L{_WrappingFactory}'s L{Deferred <defer.Deferred>} is returned to
            C{connect()}'s caller.

        @return: C{None}
         N/A N/A N/A deferred errback N/A N/A error ConnectingCancelledError N/A N/A N/A self _connector getDestination N/A N/A N/A N/A self _connector stopConnecting N/A doStart N/A N/A self N/A N/A N/A 
        Start notifications are passed straight through to the wrapped factory.
         N/A N/A N/A N/A self _wrappedFactory doStart N/A doStop N/A N/A self N/A N/A N/A 
        Stop notifications are passed straight through to the wrapped factory.
         N/A N/A N/A N/A self _wrappedFactory doStop N/A buildProtocol N/A N/A self addr N/A N/A N/A 
        Proxy C{buildProtocol} to our C{self._wrappedFactory} or errback the
        C{self._onConnection} L{Deferred} if the wrapped factory raises an
        exception or returns C{None}.

        @return: An instance of L{_WrappingProtocol} or C{None}
         N/A N/A N/A proto N/A N/A N/A self _wrappedFactory buildProtocol addr N/A N/A proto None N/A N/A N/A N/A error NoProtocol N/A N/A N/A N/A N/A N/A N/A self _onConnection errback N/A N/A N/A N/A self protocol N/A self _onConnection proto N/A clientConnectionFailed N/A N/A self connector reason N/A N/A N/A 
        Errback the C{self._onConnection} L{Deferred} when the
        client connection fails.
         N/A N/A N/A N/A self _onConnection called N/A N/A N/A N/A N/A self _onConnection errback reason N/A N/A StandardIOEndpoint N/A object N/A N/A 
    A Standard Input/Output endpoint

    @ivar _stdio: a callable, like L{stdio.StandardIO}, which takes an
        L{IProtocol} provider and a C{reactor} keyword argument (interface
        dependent upon your platform).
     N/A _stdio StandardIO __init__ N/A N/A self reactor N/A N/A N/A 
        @param reactor: The reactor for the endpoint.
         N/A N/A self _reactor reactor N/A listen N/A N/A self stdioProtocolFactory N/A N/A N/A 
        Implement L{IStreamServerEndpoint.listen} to listen on stdin/stdout
         N/A N/A N/A defer execute N/A self _stdio N/A N/A stdioProtocolFactory buildProtocol N/A PipeAddress reactor N/A self _reactor N/A N/A N/A implementer N/A interfaces IStreamServerEndpoint _IProcessTransportWithConsumerAndProducer N/A N/A interfaces IProcessTransport N/A interfaces IConsumer N/A interfaces IPushProducer N/A N/A 
    An L{_IProcessTransportWithConsumerAndProducer} combines various interfaces
    to work around the issue that L{interfaces.IProcessTransport} is
    incompletely defined and doesn't specify flow-control interfaces, and that
    L{proxyForInterface} doesn't allow for multiple interfaces.
     N/A _ProcessEndpointTransport N/A N/A proxyForInterface _IProcessTransportWithConsumerAndProducer _process N/A N/A 
    An L{ITransport}, L{IProcessTransport}, L{IConsumer}, and L{IPushProducer}
    provider for the L{IProtocol} instance passed to the process endpoint.

    @ivar _process: An active process transport which will be used by write
        methods on this object to write data to a child process.
    @type _process: L{interfaces.IProcessTransport} provider
     N/A _WrapIProtocol N/A ProcessProtocol N/A N/A 
    An L{IProcessProtocol} provider that wraps an L{IProtocol}.

    @ivar transport: A L{_ProcessEndpointTransport} provider that is hooked to
        the wrapped L{IProtocol} provider.

    @see: L{protocol.ProcessProtocol}
     __init__ N/A N/A self proto executable errFlag N/A N/A N/A 
        @param proto: An L{IProtocol} provider.
        @param errFlag: A constant belonging to L{StandardErrorBehavior}
            that determines if stderr is logged or dropped.
        @param executable: The file name (full path) to spawn.
         N/A N/A self protocol proto N/A N/A self errFlag errFlag N/A N/A self executable executable N/A makeConnection N/A N/A self process N/A N/A N/A 
        Call L{IProtocol} provider's makeConnection method with an
        L{ITransport} provider.

        @param process: An L{IProcessTransport} provider.
         N/A N/A self transport N/A _ProcessEndpointTransport process N/A N/A N/A N/A self protocol makeConnection N/A self transport N/A childDataReceived N/A N/A self childFD data N/A N/A N/A 
        This is called with data from the process's stdout or stderr pipes. It
        checks the status of the errFlag to setermine if stderr should be
        logged (default) or dropped.
         N/A N/A childFD 1 N/A N/A N/A N/A N/A self protocol dataReceived data N/A N/A N/A N/A childFD 2 N/A N/A self errFlag N/A StandardErrorBehavior LOG N/A N/A N/A N/A log msg format Process %(executable)r wrote stderr unhandled by %(protocol)s: %(data)s executable N/A self executable protocol N/A self protocol data data N/A processEnded N/A N/A self reason N/A N/A N/A 
        If the process ends with L{error.ProcessDone}, this method calls the
        L{IProtocol} provider's L{connectionLost} with a
        L{error.ConnectionDone}

        @see: L{ProcessProtocol.processEnded}
         N/A N/A N/A N/A N/A reason check N/A error ProcessDone N/A error ProcessDone N/A N/A N/A reason value status 0 N/A N/A N/A N/A N/A self protocol connectionLost N/A Failure N/A N/A error ConnectionDone N/A N/A N/A N/A N/A self protocol connectionLost reason N/A N/A StandardErrorBehavior N/A Names N/A N/A 
    Constants used in ProcessEndpoint to decide what to do with stderr.

    @cvar LOG: Indicates that stderr is to be logged.
    @cvar DROP: Indicates that stderr is to be dropped (and not logged).

    @since: 13.1
     N/A LOG N/A NamedConstant N/A DROP N/A NamedConstant N/A ProcessEndpoint N/A object N/A N/A 
    An endpoint for child processes

    @ivar _spawnProcess: A hook used for testing the spawning of child process.

    @since: 13.1
     __init__ N/A N/A self reactor executable args env path uid gid usePTY childFDs errFlag N/A N/A N/A None None None 0 None N/A StandardErrorBehavior LOG N/A N/A 
        See L{IReactorProcess.spawnProcess}.

        @param errFlag: Determines if stderr should be logged.
        @type errFlag: L{endpoints.StandardErrorBehavior}
         N/A N/A self _reactor reactor N/A N/A self _executable executable N/A N/A self _args args N/A N/A self _env env N/A N/A self _path path N/A N/A self _uid uid N/A N/A self _gid gid N/A N/A self _usePTY usePTY N/A N/A self _childFDs childFDs N/A N/A self _errFlag errFlag N/A N/A self _spawnProcess N/A N/A self _reactor spawnProcess N/A connect N/A N/A self protocolFactory N/A N/A N/A 
        Implement L{IStreamClientEndpoint.connect} to launch a child process
        and connect it to a protocol created by C{protocolFactory}.

        @param protocolFactory: A factory for an L{IProtocol} provider which
            will be notified of all events related to the created process.
         N/A proto N/A N/A protocolFactory buildProtocol N/A _ProcessAddress N/A N/A N/A N/A N/A self _spawnProcess N/A _WrapIProtocol proto N/A self _executable N/A self _errFlag N/A self _executable N/A self _args N/A self _env N/A self _path N/A self _uid N/A self _gid N/A self _usePTY N/A self _childFDs N/A N/A N/A N/A N/A N/A defer fail N/A N/A N/A N/A defer succeed proto N/A N/A N/A implementer N/A interfaces IStreamClientEndpoint _TCPServerEndpoint N/A object N/A N/A 
    A TCP server endpoint interface
     __init__ N/A N/A self reactor port backlog interface N/A N/A N/A 
        @param reactor: An L{IReactorTCP} provider.

        @param port: The port number used for listening
        @type port: int

        @param backlog: Size of the listen queue
        @type backlog: int

        @param interface: The hostname to bind to
        @type interface: str
         N/A N/A self _reactor reactor N/A N/A self _port port N/A N/A self _backlog backlog N/A N/A self _interface interface N/A listen N/A N/A self protocolFactory N/A N/A N/A 
        Implement L{IStreamServerEndpoint.listen} to listen on a TCP
        socket
         N/A N/A N/A defer execute N/A N/A self _reactor listenTCP N/A self _port protocolFactory backlog N/A self _backlog interface N/A self _interface N/A N/A N/A implementer N/A interfaces IStreamServerEndpoint TCP4ServerEndpoint N/A _TCPServerEndpoint N/A N/A 
    Implements TCP server endpoint with an IPv4 configuration
     __init__ N/A N/A self reactor port backlog interface N/A 50 N/A N/A 
        @param reactor: An L{IReactorTCP} provider.

        @param port: The port number used for listening
        @type port: int

        @param backlog: Size of the listen queue
        @type backlog: int

        @param interface: The hostname to bind to, defaults to '' (all)
        @type interface: str
         N/A N/A N/A _TCPServerEndpoint __init__ self reactor port backlog interface N/A N/A TCP6ServerEndpoint N/A _TCPServerEndpoint N/A N/A 
    Implements TCP server endpoint with an IPv6 configuration
     __init__ N/A N/A self reactor port backlog interface N/A 50 :: N/A N/A 
        @param reactor: An L{IReactorTCP} provider.

        @param port: The port number used for listening
        @type port: int

        @param backlog: Size of the listen queue
        @type backlog: int

        @param interface: The hostname to bind to, defaults to '' (all)
        @type interface: str
         N/A N/A N/A _TCPServerEndpoint __init__ self reactor port backlog interface N/A N/A TCP4ClientEndpoint N/A object N/A N/A 
    TCP client endpoint with an IPv4 configuration.
     __init__ N/A N/A self reactor host port timeout bindAddress N/A 30 None N/A N/A 
        @param reactor: An L{IReactorTCP} provider

        @param host: A hostname, used when connecting
        @type host: str

        @param port: The port number, used when connecting
        @type port: int

        @param timeout: The number of seconds to wait before assuming the
            connection has failed.
        @type timeout: int

        @param bindAddress: A (host, port) tuple of local address to bind to,
            or None.
        @type bindAddress: tuple
         N/A N/A self _reactor reactor N/A N/A self _host host N/A N/A self _port port N/A N/A self _timeout timeout N/A N/A self _bindAddress bindAddress N/A connect N/A N/A self protocolFactory N/A N/A N/A 
        Implement L{IStreamClientEndpoint.connect} to connect via TCP.
         N/A N/A N/A wf N/A _WrappingFactory protocolFactory N/A N/A N/A N/A self _reactor connectTCP N/A self _host N/A self _port wf timeout N/A self _timeout bindAddress N/A self _bindAddress N/A N/A wf _onConnection N/A N/A N/A N/A N/A N/A defer fail N/A N/A N/A implementer N/A interfaces IStreamClientEndpoint TCP6ClientEndpoint N/A object N/A N/A 
    TCP client endpoint with an IPv6 configuration.

    @ivar _getaddrinfo: A hook used for testing name resolution.

    @ivar _deferToThread: A hook used for testing deferToThread.

    @ivar _GAI_ADDRESS: Index of the address portion in result of
        getaddrinfo to be used.

    @ivar _GAI_ADDRESS_HOST: Index of the actual host-address in the
        5-tuple L{_GAI_ADDRESS}.
     N/A _getaddrinfo N/A socket getaddrinfo N/A _deferToThread N/A staticmethod N/A threads deferToThread N/A _GAI_ADDRESS 4 N/A _GAI_ADDRESS_HOST 0 __init__ N/A N/A self reactor host port timeout bindAddress N/A 30 None N/A N/A 
        @param host: An IPv6 address literal or a hostname with an
            IPv6 address

        @see: L{twisted.internet.interfaces.IReactorTCP.connectTCP}
         N/A N/A self _reactor reactor N/A N/A self _host host N/A N/A self _port port N/A N/A self _timeout timeout N/A N/A self _bindAddress bindAddress N/A connect N/A N/A self protocolFactory N/A N/A N/A 
        Implement L{IStreamClientEndpoint.connect} to connect via TCP,
        once the hostname resolution is done.
         N/A N/A isIPv6Address N/A self _host N/A N/A d N/A N/A self _resolvedHostConnect N/A self _host protocolFactory N/A N/A d N/A N/A self _nameResolution N/A self _host N/A N/A N/A d addCallback N/A N/A N/A result N/A N/A N/A N/A result N/A 0 N/A N/A self _GAI_ADDRESS N/A N/A self _GAI_ADDRESS_HOST N/A N/A N/A d addCallback N/A self _resolvedHostConnect protocolFactory N/A d N/A _nameResolution N/A N/A self host N/A N/A N/A 
        Resolve the hostname string into a tuple containing the host
        IPv6 address.
         N/A N/A N/A self _deferToThread N/A self _getaddrinfo host 0 N/A socket AF_INET6 N/A _resolvedHostConnect N/A N/A self resolvedHost protocolFactory N/A N/A N/A 
        Connect to the server using the resolved hostname.
         N/A N/A N/A wf N/A _WrappingFactory protocolFactory N/A N/A N/A N/A self _reactor connectTCP resolvedHost N/A self _port wf timeout N/A self _timeout bindAddress N/A self _bindAddress N/A N/A wf _onConnection N/A N/A N/A N/A N/A N/A defer fail N/A N/A N/A implementer N/A interfaces IStreamClientEndpoint HostnameEndpoint N/A object N/A N/A 
    A name-based endpoint that connects to the fastest amongst the
    resolved host addresses.

    @ivar _getaddrinfo: A hook used for testing name resolution.

    @ivar _deferToThread: A hook used for testing deferToThread.
     N/A _getaddrinfo N/A socket getaddrinfo N/A _deferToThread N/A staticmethod N/A threads deferToThread __init__ N/A N/A self reactor host port timeout bindAddress N/A 30 None N/A N/A 
        @param host: A hostname to connect to.
        @type host: L{bytes}

        @param timeout: For each individual connection attempt, the number of
            seconds to wait before assuming the connection has failed.
        @type timeout: L{int}

        @see: L{twisted.internet.interfaces.IReactorTCP.connectTCP}
         N/A N/A self _reactor reactor N/A N/A self _host host N/A N/A self _port port N/A N/A self _timeout timeout N/A N/A self _bindAddress bindAddress N/A connect N/A N/A self protocolFactory N/A N/A N/A 
        Attempts a connection to each address returned by gai, and returns a
        connection which is established first.
         N/A wf protocolFactory N/A pending N/A _canceller N/A N/A d N/A N/A N/A 
            The outgoing connection attempt was cancelled.  Fail that L{Deferred}
            with an L{error.ConnectingCancelledError}.

            @param d: The L{Deferred <defer.Deferred>} that was cancelled
            @type d: L{Deferred <defer.Deferred>}

            @return: C{None}
             N/A N/A N/A d errback N/A N/A error ConnectingCancelledError N/A HostnameAddress N/A self _host N/A self _port N/A p N/A pending N/A N/A N/A N/A N/A p cancel N/A errbackForGai N/A N/A failure N/A N/A N/A 
            Errback for when L{_nameResolution} returns a Deferred that fires
            with failure.
             N/A N/A N/A defer fail N/A N/A error DNSLookupError N/A Couldn't find the hostname '%s' N/A N/A self _host N/A _endpoints N/A N/A gaiResult N/A N/A N/A 
            This method matches the host address family with an endpoint for
            every address returned by GAI.

            @param gaiResult: A list of 5-tuples as returned by GAI.
            @type gaiResult: list
             N/A N/A family socktype proto canonname sockaddr gaiResult N/A N/A N/A family N/A AF_INET6 N/A N/A N/A N/A TCP6ClientEndpoint N/A self _reactor N/A sockaddr N/A 0 N/A sockaddr N/A 1 N/A self _timeout N/A self _bindAddress N/A N/A N/A family N/A AF_INET N/A N/A N/A N/A TCP4ClientEndpoint N/A self _reactor N/A sockaddr N/A 0 N/A sockaddr N/A 1 N/A self _timeout N/A self _bindAddress N/A attemptConnection N/A N/A endpoints N/A N/A N/A 
            When L{endpoints} yields an endpoint, this method attempts to connect it.
             N/A endpointsListExhausted N/A N/A successful N/A N/A failures N/A N/A winner N/A N/A defer Deferred canceller _canceller usedEndpointRemoval N/A N/A connResult connAttempt N/A N/A N/A N/A N/A pending remove connAttempt N/A connResult N/A afterConnectionAttempt N/A N/A connResult N/A N/A N/A N/A lc running N/A N/A N/A N/A lc stop N/A N/A N/A successful append True N/A p N/A pending N/A N/A N/A N/A N/A p cancel N/A N/A N/A winner callback connResult N/A None N/A checkDone N/A N/A N/A N/A N/A N/A endpointsListExhausted N/A pending N/A successful N/A N/A N/A N/A winner errback N/A N/A failures pop N/A connectFailed N/A N/A reason N/A N/A N/A N/A N/A failures append reason N/A N/A checkDone N/A None N/A iterateEndpoint N/A N/A N/A N/A N/A N/A N/A endpoint N/A next endpoints N/A N/A N/A StopIteration N/A N/A N/A N/A endpointsListExhausted append True N/A N/A N/A lc stop N/A N/A checkDone N/A N/A dconn N/A N/A endpoint connect wf N/A N/A N/A pending append dconn N/A N/A N/A dconn addBoth usedEndpointRemoval dconn N/A N/A N/A dconn addCallback afterConnectionAttempt N/A N/A N/A dconn addErrback connectFailed N/A N/A lc N/A LoopingCall iterateEndpoint N/A N/A lc clock N/A self _reactor N/A N/A N/A lc start 0.3 N/A winner N/A N/A d N/A N/A self _nameResolution N/A self _host N/A self _port N/A N/A N/A d addErrback errbackForGai N/A N/A N/A d addCallback _endpoints N/A N/A N/A d addCallback attemptConnection N/A d N/A _nameResolution N/A N/A self host port N/A N/A N/A 
        Resolve the hostname string into a tuple containig the host
        address.
         N/A N/A N/A self _deferToThread N/A self _getaddrinfo host port 0 N/A socket SOCK_STREAM N/A N/A N/A implementer N/A interfaces IStreamClientEndpoint SSL4ServerEndpoint N/A object N/A N/A 
    SSL secured TCP server endpoint with an IPv4 configuration.
     __init__ N/A N/A self reactor port sslContextFactory backlog interface N/A 50 N/A N/A 
        @param reactor: An L{IReactorSSL} provider.

        @param port: The port number used for listening
        @type port: int

        @param sslContextFactory: An instance of
            L{twisted.internet.ssl.ContextFactory}.

        @param backlog: Size of the listen queue
        @type backlog: int

        @param interface: The hostname to bind to, defaults to '' (all)
        @type interface: str
         N/A N/A self _reactor reactor N/A N/A self _port port N/A N/A self _sslContextFactory sslContextFactory N/A N/A self _backlog backlog N/A N/A self _interface interface N/A listen N/A N/A self protocolFactory N/A N/A N/A 
        Implement L{IStreamServerEndpoint.listen} to listen for SSL on a
        TCP socket.
         N/A N/A N/A defer execute N/A N/A self _reactor listenSSL N/A self _port protocolFactory contextFactory N/A self _sslContextFactory backlog N/A self _backlog interface N/A self _interface N/A N/A N/A implementer N/A interfaces IStreamServerEndpoint SSL4ClientEndpoint N/A object N/A N/A 
    SSL secured TCP client endpoint with an IPv4 configuration
     __init__ N/A N/A self reactor host port sslContextFactory timeout bindAddress N/A 30 None N/A N/A 
        @param reactor: An L{IReactorSSL} provider.

        @param host: A hostname, used when connecting
        @type host: str

        @param port: The port number, used when connecting
        @type port: int

        @param sslContextFactory: SSL Configuration information as an instance
            of L{twisted.internet.ssl.ContextFactory}.

        @param timeout: Number of seconds to wait before assuming the
            connection has failed.
        @type timeout: int

        @param bindAddress: A (host, port) tuple of local address to bind to,
            or None.
        @type bindAddress: tuple
         N/A N/A self _reactor reactor N/A N/A self _host host N/A N/A self _port port N/A N/A self _sslContextFactory sslContextFactory N/A N/A self _timeout timeout N/A N/A self _bindAddress bindAddress N/A connect N/A N/A self protocolFactory N/A N/A N/A 
        Implement L{IStreamClientEndpoint.connect} to connect with SSL over
        TCP.
         N/A N/A N/A wf N/A _WrappingFactory protocolFactory N/A N/A N/A N/A self _reactor connectSSL N/A self _host N/A self _port wf N/A self _sslContextFactory timeout N/A self _timeout bindAddress N/A self _bindAddress N/A N/A wf _onConnection N/A N/A N/A N/A N/A N/A defer fail N/A N/A N/A implementer N/A interfaces IStreamClientEndpoint UNIXServerEndpoint N/A object N/A N/A 
    UnixSocket server endpoint.
     __init__ N/A N/A self reactor address backlog mode wantPID N/A 50 438 0 N/A N/A 
        @param reactor: An L{IReactorUNIX} provider.
        @param address: The path to the Unix socket file, used when listening
        @param backlog: number of connections to allow in backlog.
        @param mode: mode to set on the unix socket.  This parameter is
            deprecated.  Permissions should be set on the directory which
            contains the UNIX socket.
        @param wantPID: If True, create a pidfile for the socket.
         N/A N/A self _reactor reactor N/A N/A self _address address N/A N/A self _backlog backlog N/A N/A self _mode mode N/A N/A self _wantPID wantPID N/A listen N/A N/A self protocolFactory N/A N/A N/A 
        Implement L{IStreamServerEndpoint.listen} to listen on a UNIX socket.
         N/A N/A N/A defer execute N/A N/A self _reactor listenUNIX N/A self _address protocolFactory backlog N/A self _backlog mode N/A self _mode wantPID N/A self _wantPID N/A N/A N/A implementer N/A interfaces IStreamServerEndpoint UNIXClientEndpoint N/A object N/A N/A 
    UnixSocket client endpoint.
     __init__ N/A N/A self reactor path timeout checkPID N/A 30 0 N/A N/A 
        @param reactor: An L{IReactorUNIX} provider.

        @param path: The path to the Unix socket file, used when connecting
        @type path: str

        @param timeout: Number of seconds to wait before assuming the
            connection has failed.
        @type timeout: int

        @param checkPID: If True, check for a pid file to verify that a server
            is listening.
        @type checkPID: bool
         N/A N/A self _reactor reactor N/A N/A self _path path N/A N/A self _timeout timeout N/A N/A self _checkPID checkPID N/A connect N/A N/A self protocolFactory N/A N/A N/A 
        Implement L{IStreamClientEndpoint.connect} to connect via a
        UNIX Socket
         N/A N/A N/A wf N/A _WrappingFactory protocolFactory N/A N/A N/A N/A self _reactor connectUNIX N/A self _path wf timeout N/A self _timeout checkPID N/A self _checkPID N/A N/A wf _onConnection N/A N/A N/A N/A N/A N/A defer fail N/A N/A N/A implementer N/A interfaces IStreamClientEndpoint AdoptedStreamServerEndpoint N/A object N/A N/A 
    An endpoint for listening on a file descriptor initialized outside of
    Twisted.

    @ivar _used: A C{bool} indicating whether this endpoint has been used to
        listen with a factory yet.  C{True} if so.
     N/A _close N/A os close N/A _setNonBlocking N/A staticmethod N/A fdesc setNonBlocking __init__ N/A N/A self reactor fileno addressFamily N/A N/A N/A 
        @param reactor: An L{IReactorSocket} provider.

        @param fileno: An integer file descriptor corresponding to a listening
            I{SOCK_STREAM} socket.

        @param addressFamily: The address family of the socket given by
            C{fileno}.
         N/A N/A self reactor reactor N/A N/A self fileno fileno N/A N/A self addressFamily addressFamily N/A N/A self _used False N/A listen N/A N/A self factory N/A N/A N/A 
        Implement L{IStreamServerEndpoint.listen} to start listening on, and
        then close, C{self._fileno}.
         N/A N/A self _used N/A N/A N/A N/A defer fail N/A N/A error AlreadyListened N/A N/A self _used True N/A N/A N/A N/A N/A self _setNonBlocking N/A self fileno N/A port N/A N/A N/A self reactor adoptStreamPort N/A self fileno N/A self addressFamily factory N/A N/A N/A self _close N/A self fileno N/A N/A N/A N/A N/A N/A defer fail N/A N/A N/A defer succeed port N/A N/A N/A implementer N/A interfaces IStreamServerEndpoint _parseTCP N/A N/A factory port interface backlog N/A 50 N/A N/A 
    Internal parser function for L{_parseServer} to convert the string
    arguments for a TCP(IPv4) stream endpoint into the structured arguments.

    @param factory: the protocol factory being parsed, or C{None}.  (This was a
        leftover argument from when this code was in C{strports}, and is now
        mostly None and unused.)

    @type factory: L{IProtocolFactory} or C{NoneType}

    @param port: the integer port number to bind
    @type port: C{str}

    @param interface: the interface IP to listen on
    @param backlog: the length of the listen queue
    @type backlog: C{str}

    @return: a 2-tuple of (args, kwargs), describing  the parameters to
        L{IReactorTCP.listenTCP} (or, modulo argument 2, the factory, arguments
        to L{TCP4ServerEndpoint}.
     N/A N/A N/A N/A int port factory N/A interface backlog interface N/A int backlog N/A _parseUNIX N/A N/A factory address mode backlog lockfile N/A 666 50 True N/A N/A 
    Internal parser function for L{_parseServer} to convert the string
    arguments for a UNIX (AF_UNIX/SOCK_STREAM) stream endpoint into the
    structured arguments.

    @param factory: the protocol factory being parsed, or C{None}.  (This was a
        leftover argument from when this code was in C{strports}, and is now
        mostly None and unused.)

    @type factory: L{IProtocolFactory} or C{NoneType}

    @param address: the pathname of the unix socket
    @type address: C{str}

    @param backlog: the length of the listen queue
    @type backlog: C{str}

    @param lockfile: A string '0' or '1', mapping to True and False
        respectively.  See the C{wantPID} argument to C{listenUNIX}

    @return: a 2-tuple of (args, kwargs), describing  the parameters to
        L{IReactorTCP.listenUNIX} (or, modulo argument 2, the factory,
        arguments to L{UNIXServerEndpoint}.
     N/A N/A N/A address factory N/A mode backlog wantPID N/A int mode 8 N/A int backlog N/A bool N/A int lockfile N/A _parseSSL N/A N/A factory port privateKey certKey sslmethod interface backlog extraCertChain dhParameters N/A server.pem None None 50 None None N/A N/A 
    Internal parser function for L{_parseServer} to convert the string
    arguments for an SSL (over TCP/IPv4) stream endpoint into the structured
    arguments.

    @param factory: the protocol factory being parsed, or C{None}.  (This was a
        leftover argument from when this code was in C{strports}, and is now
        mostly None and unused.)
    @type factory: L{IProtocolFactory} or C{NoneType}

    @param port: the integer port number to bind
    @type port: C{str}

    @param interface: the interface IP to listen on
    @param backlog: the length of the listen queue
    @type backlog: C{str}

    @param privateKey: The file name of a PEM format private key file.
    @type privateKey: C{str}

    @param certKey: The file name of a PEM format certificate file.
    @type certKey: C{str}

    @param sslmethod: The string name of an SSL method, based on the name of a
        constant in C{OpenSSL.SSL}.  Must be one of: "SSLv23_METHOD",
        "SSLv2_METHOD", "SSLv3_METHOD", "TLSv1_METHOD".
    @type sslmethod: C{str}

    @param extraCertChain: The path of a file containing one or more
        certificates in PEM format that establish the chain from a root CA to
        the CA that signed your C{certKey}.
    @type extraCertChain: L{bytes}

    @param dhParameters: The file name of a file containing parameters that are
        required for Diffie-Hellman key exchange.  If this is not specified,
        the forward secret C{DHE} ciphers aren't available for servers.
    @type dhParameters: L{bytes}

    @return: a 2-tuple of (args, kwargs), describing  the parameters to
        L{IReactorSSL.listenSSL} (or, modulo argument 2, the factory, arguments
        to L{SSL4ServerEndpoint}.
     twisted.internet ssl N/A N/A certKey None N/A N/A certKey privateKey N/A kw N/A N/A N/A sslmethod None N/A N/A N/A kw N/A method N/A getattr N/A ssl SSL sslmethod N/A certPEM N/A N/A N/A FilePath certKey getContent N/A keyPEM N/A N/A N/A FilePath privateKey getContent N/A privateCertificate N/A N/A N/A ssl PrivateCertificate loadPEM N/A certPEM keyPEM N/A N/A extraCertChain None N/A N/A matches N/A N/A re findall (-----BEGIN CERTIFICATE-----\n.+?\n-----END CERTIFICATE-----) N/A N/A N/A FilePath extraCertChain getContent flags N/A re DOTALL N/A chainCertificates N/A N/A N/A N/A N/A ssl Certificate loadPEM chainCertPEM original N/A chainCertPEM matches N/A N/A chainCertificates N/A N/A N/A ValueError N/A Specified chain file '%s' doesn't contain any valid certificates in PEM format. N/A extraCertChain N/A N/A chainCertificates None N/A N/A dhParameters None N/A N/A dhParameters N/A N/A N/A ssl DiffieHellmanParameters fromFile N/A FilePath dhParameters N/A cf N/A N/A ssl CertificateOptions privateKey N/A N/A privateCertificate privateKey original certificate N/A privateCertificate original extraCertChain chainCertificates dhParameters dhParameters kw N/A N/A N/A N/A int port factory cf N/A interface backlog interface N/A int backlog N/A _StandardIOParser N/A object N/A N/A 
    Stream server endpoint string parser for the Standard I/O type.

    @ivar prefix: See L{IStreamClientEndpointStringParser.prefix}.
     N/A prefix stdio _parseServer N/A N/A self reactor N/A N/A N/A 
        Internal parser function for L{_parseServer} to convert the string
        arguments into structured arguments for the L{StandardIOEndpoint}

        @param reactor: Reactor for the endpoint
         N/A N/A StandardIOEndpoint reactor N/A parseStreamServer N/A N/A self reactor N/A args kwargs N/A N/A N/A N/A self _parseServer reactor N/A N/A N/A implementer IPlugin IStreamServerEndpointStringParser _SystemdParser N/A object N/A N/A 
    Stream server endpoint string parser for the I{systemd} endpoint type.

    @ivar prefix: See L{IStreamClientEndpointStringParser.prefix}.

    @ivar _sddaemon: A L{ListenFDs} instance used to translate an index into an
        actual file descriptor.
     N/A _sddaemon N/A N/A ListenFDs fromEnvironment N/A prefix systemd _parseServer N/A N/A self reactor domain index N/A N/A N/A 
        Internal parser function for L{_parseServer} to convert the string
        arguments for a systemd server endpoint into structured arguments for
        L{AdoptedStreamServerEndpoint}.

        @param reactor: An L{IReactorSocket} provider.

        @param domain: The domain (or address family) of the socket inherited
            from systemd.  This is a string like C{"INET"} or C{"UNIX"}, ie the
            name of an address family from the L{socket} module, without the
            C{"AF_"} prefix.
        @type domain: C{str}

        @param index: An offset into the list of file descriptors inherited from
            systemd.
        @type index: C{str}

        @return: A two-tuple of parsed positional arguments and parsed keyword
            arguments (a tuple and a dictionary).  These can be used to
            construct an L{AdoptedStreamServerEndpoint}.
         N/A index N/A int index N/A fileno N/A N/A N/A N/A self _sddaemon inheritedDescriptors N/A index N/A addressFamily N/A getattr socket N/A AF_ domain N/A N/A AdoptedStreamServerEndpoint reactor fileno addressFamily N/A parseStreamServer N/A N/A self reactor N/A args kwargs N/A N/A N/A N/A self _parseServer reactor args kwargs N/A N/A N/A implementer IPlugin IStreamServerEndpointStringParser _TCP6ServerParser N/A object N/A N/A 
    Stream server endpoint string parser for the TCP6ServerEndpoint type.

    @ivar prefix: See L{IStreamClientEndpointStringParser.prefix}.
     N/A prefix tcp6 _parseServer N/A N/A self reactor port backlog interface N/A 50 :: N/A N/A 
        Internal parser function for L{_parseServer} to convert the string
        arguments into structured arguments for the L{TCP6ServerEndpoint}

        @param reactor: An L{IReactorTCP} provider.

        @param port: The port number used for listening
        @type port: int

        @param backlog: Size of the listen queue
        @type backlog: int

        @param interface: The hostname to bind to
        @type interface: str
         N/A port N/A int port N/A backlog N/A int backlog N/A N/A TCP6ServerEndpoint reactor port backlog interface N/A parseStreamServer N/A N/A self reactor N/A args kwargs N/A N/A N/A N/A self _parseServer reactor args kwargs N/A N/A N/A implementer IPlugin IStreamServerEndpointStringParser N/A _serverParsers N/A tcp unix ssl _parseTCP _parseUNIX _parseSSL N/A N/A _OP _STRING N/A range 2 _tokenize N/A N/A description N/A N/A N/A 
    Tokenize a strports string and yield each token.

    @param description: a string as described by L{serverFromString} or
        L{clientFromString}.

    @return: an iterable of 2-tuples of (L{_OP} or L{_STRING}, string).  Tuples
        starting with L{_OP} will contain a second element of either ':' (i.e.
        'next parameter') or '=' (i.e. 'assign parameter value').  For example,
        the string 'hello:greet\=ing=world' would result in a generator
        yielding these values::

            _STRING, 'hello'
            _OP, ':'
            _STRING, 'greet=ing'
            _OP, '='
            _STRING, 'world'
     N/A current N/A ops := N/A nextOps N/A : = := : N/A description N/A iter description N/A n description N/A N/A N/A n ops N/A N/A N/A N/A _STRING current N/A N/A N/A _OP n N/A current N/A ops N/A nextOps N/A n N/A N/A N/A n \ N/A N/A current N/A N/A description next N/A N/A current n N/A N/A N/A _STRING current N/A _parse N/A N/A description N/A N/A N/A 
    Convert a description string into a list of positional and keyword
    parameters, using logic vaguely like what Python does.

    @param description: a string as described by L{serverFromString} or
        L{clientFromString}.

    @return: a 2-tuple of C{(args, kwargs)}, where 'args' is a list of all
        ':'-separated C{str}s not containing an '=' and 'kwargs' is a map of
        all C{str}s which do contain an '='.  For example, the result of
        C{_parse('a:b:d=1:c')} would be C{(['a', 'b', 'c'], {'d': '1'})}.
     N/A N/A args kw N/A N/A N/A add N/A N/A sofar N/A N/A N/A N/A N/A len sofar 1 N/A N/A N/A N/A args append N/A sofar N/A 0 N/A N/A N/A kw N/A N/A sofar N/A 0 N/A sofar N/A 1 N/A N/A sofar N/A N/A N/A type value N/A _tokenize description N/A N/A N/A type _STRING N/A N/A sofar N/A value N/A N/A N/A value : N/A N/A N/A add sofar N/A sofar N/A N/A N/A add sofar N/A N/A args kw N/A N/A _endpointServerFactories N/A TCP SSL UNIX TCP4ServerEndpoint SSL4ServerEndpoint UNIXServerEndpoint N/A _endpointClientFactories N/A TCP SSL UNIX TCP4ClientEndpoint SSL4ClientEndpoint UNIXClientEndpoint N/A _NO_DEFAULT N/A object _parseServer N/A N/A description factory default N/A None N/A N/A 
    Parse a strports description into a 2-tuple of arguments and keyword
    values.

    @param description: A description in the format explained by
        L{serverFromString}.
    @type description: C{str}

    @param factory: A 'factory' argument; this is left-over from
        twisted.application.strports, it's not really used.
    @type factory: L{IProtocolFactory} or L{None}

    @param default: Deprecated argument, specifying the default parser mode to
        use for unqualified description strings (those which do not have a ':'
        and prefix).
    @type default: C{str} or C{NoneType}

    @return: a 3-tuple of (plugin or name, arguments, keyword arguments)
     N/A N/A args kw N/A _parse description N/A N/A N/A args N/A N/A N/A len args 1 N/A kw N/A N/A deprecationMessage N/A Unqualified strport description passed to 'service'.Use qualified endpoint descriptions; for example, 'tcp:%s'. N/A description N/A N/A default None N/A N/A default tcp N/A N/A N/A warnings warn deprecationMessage category DeprecationWarning stacklevel 4 N/A N/A N/A default _NO_DEFAULT N/A N/A N/A ValueError deprecationMessage N/A N/A args N/A 0 0 N/A default N/A endpointType N/A args N/A 0 N/A parser N/A N/A _serverParsers get endpointType N/A N/A parser None N/A N/A plugin N/A getPlugins IStreamServerEndpointStringParser N/A N/A N/A N/A plugin prefix endpointType N/A N/A N/A plugin N/A args N/A 1 kw N/A N/A ValueError N/A Unknown endpoint type: '%s' N/A endpointType N/A N/A N/A N/A N/A endpointType upper N/A parser factory N/A args N/A 1 kw N/A _serverFromStringLegacy N/A N/A reactor description default N/A N/A N/A 
    Underlying implementation of L{serverFromString} which avoids exposing the
    deprecated 'default' argument to anything but L{strports.service}.
     N/A N/A nameOrPlugin args kw N/A _parseServer description None default N/A N/A N/A type nameOrPlugin str N/A N/A plugin nameOrPlugin N/A N/A N/A plugin parseStreamServer reactor args kw N/A N/A name nameOrPlugin N/A args N/A N/A args N/A 1 N/A args N/A 2 N/A N/A N/A _endpointServerFactories N/A name reactor args kw N/A serverFromString N/A N/A reactor description N/A N/A N/A 
    Construct a stream server endpoint from an endpoint description string.

    The format for server endpoint descriptions is a simple byte string.  It is
    a prefix naming the type of endpoint, then a colon, then the arguments for
    that endpoint.

    For example, you can call it like this to create an endpoint that will
    listen on TCP port 80::

        serverFromString(reactor, b"tcp:80")

    Additional arguments may be specified as keywords, separated with colons.
    For example, you can specify the interface for a TCP server endpoint to
    bind to like this::

        serverFromString(reactor, b"tcp:80:interface=127.0.0.1")

    SSL server endpoints may be specified with the 'ssl' prefix, and the
    private key and certificate files may be specified by the C{privateKey} and
    C{certKey} arguments::

        serverFromString(
            reactor, b"ssl:443:privateKey=key.pem:certKey=crt.pem")

    If a private key file name (C{privateKey}) isn't provided, a "server.pem"
    file is assumed to exist which contains the private key. If the certificate
    file name (C{certKey}) isn't provided, the private key file is assumed to
    contain the certificate as well.

    You may escape colons in arguments with a backslash, which you will need to
    use if you want to specify a full pathname argument on Windows::

        serverFromString(reactor,
            b"ssl:443:privateKey=C\:/key.pem:certKey=C\:/cert.pem")

    finally, the 'unix' prefix may be used to specify a filesystem UNIX socket,
    optionally with a 'mode' argument to specify the mode of the socket file
    created by C{listen}::

        serverFromString(reactor, b"unix:/var/run/finger")
        serverFromString(reactor, b"unix:/var/run/finger:mode=660")

    This function is also extensible; new endpoint types may be registered as
    L{IStreamServerEndpointStringParser} plugins.  See that interface for more
    information.

    @param reactor: The server endpoint will be constructed with this reactor.

    @param description: The strports description to parse.
    @type description: L{bytes}

    @return: A new endpoint which can be used to listen with the parameters
        given by C{description}.

    @rtype: L{IStreamServerEndpoint<twisted.internet.interfaces.IStreamServerEndpoint>}

    @raise ValueError: when the 'description' string cannot be parsed.

    @since: 10.2
     N/A N/A _serverFromStringLegacy reactor description _NO_DEFAULT N/A quoteStringArgument N/A N/A argument N/A N/A N/A 
    Quote an argument to L{serverFromString} and L{clientFromString}.  Since
    arguments are separated with colons and colons are escaped with
    backslashes, some care is necessary if, for example, you have a pathname,
    you may be tempted to interpolate into a string like this::

        serverFromString(reactor, b"ssl:443:privateKey=%s" % (myPathName,))

    This may appear to work, but will have portability issues (Windows
    pathnames, for example).  Usually you should just construct the appropriate
    endpoint type rather than interpolating strings, which in this case would
    be L{SSL4ServerEndpoint}.  There are some use-cases where you may need to
    generate such a string, though; for example, a tool to manipulate a
    configuration file which has strports descriptions in it.  To be correct in
    those cases, do this instead::

        serverFromString(reactor, b"ssl:443:privateKey=%s" %
                         (quoteStringArgument(myPathName),))

    @param argument: The part of the endpoint description string you want to
        pass through.

    @type argument: C{bytes}

    @return: The quoted argument.

    @rtype: C{bytes}
     N/A N/A N/A N/A N/A argument replace \ \\ replace : \: N/A _parseClientTCP N/A N/A N/A args kwargs N/A N/A 
    Perform any argument value coercion necessary for TCP client parameters.

    Valid positional arguments to this function are host and port.

    Valid keyword arguments to this function are all L{IReactorTCP.connectTCP}
    arguments.

    @return: The coerced values as a C{dict}.
     N/A N/A N/A len args 2 N/A N/A N/A kwargs N/A port N/A int N/A args N/A 1 N/A N/A kwargs N/A host N/A args N/A 0 N/A N/A N/A N/A len args 1 N/A N/A N/A host kwargs N/A N/A N/A kwargs N/A port N/A int N/A args N/A 0 N/A N/A N/A kwargs N/A host N/A args N/A 0 N/A N/A N/A N/A kwargs N/A port N/A int N/A kwargs N/A port N/A N/A N/A KeyError N/A N/A N/A N/A N/A N/A kwargs N/A timeout N/A int N/A kwargs N/A timeout N/A N/A N/A KeyError N/A N/A N/A N/A N/A N/A kwargs N/A bindAddress N/A N/A kwargs N/A bindAddress 0 N/A N/A N/A KeyError N/A N/A N/A kwargs N/A _loadCAsFromDir N/A N/A directoryPath N/A N/A N/A 
    Load certificate-authority certificate objects in a given directory.

    @param directoryPath: a L{FilePath} pointing at a directory to load .pem
        files from.

    @return: a C{list} of L{OpenSSL.crypto.X509} objects.
     twisted.internet ssl N/A caCerts N/A N/A child N/A N/A directoryPath children N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A child basename split . N/A -1 lower pem N/A N/A N/A N/A N/A data N/A N/A child getContent N/A N/A N/A IOError N/A N/A N/A N/A N/A theCert N/A N/A N/A ssl Certificate loadPEM data N/A N/A N/A N/A N/A ssl SSL Error N/A N/A N/A N/A N/A caCerts N/A N/A N/A theCert digest N/A theCert original N/A N/A N/A caCerts values N/A _parseClientSSL N/A N/A N/A args kwargs N/A N/A 
    Perform any argument value coercion necessary for SSL client parameters.

    Valid keyword arguments to this function are all L{IReactorSSL.connectSSL}
    arguments except for C{contextFactory}.  Instead, C{certKey} (the path name
    of the certificate file) C{privateKey} (the path name of the private key
    associated with the certificate) are accepted and used to construct a
    context factory.

    Valid positional arguments to this function are host and port.

    @param caCertsDir: The one parameter which is not part of
        L{IReactorSSL.connectSSL}'s signature, this is a path name used to
        construct a list of certificate authority certificates.  The directory
        will be scanned for files ending in C{.pem}, all of which will be
        considered valid certificate authorities for this connection.

    @type caCertsDir: C{str}

    @return: The coerced values as a C{dict}.
     twisted.internet ssl N/A kwargs N/A _parseClientTCP args kwargs N/A certKey N/A N/A kwargs pop certKey None N/A privateKey N/A N/A kwargs pop privateKey None N/A caCertsDir N/A N/A kwargs pop caCertsDir None N/A N/A certKey None N/A N/A certx509 N/A N/A N/A N/A ssl Certificate loadPEM N/A N/A N/A FilePath certKey getContent original N/A N/A certx509 None N/A N/A privateKey None N/A N/A privateKey N/A N/A N/A N/A N/A ssl PrivateCertificate loadPEM N/A N/A N/A FilePath privateKey getContent privateKey original N/A N/A privateKey None N/A N/A caCertsDir None N/A N/A verify True N/A caCerts N/A _loadCAsFromDir N/A FilePath caCertsDir N/A N/A verify False N/A caCerts None N/A N/A kwargs N/A sslContextFactory N/A N/A ssl CertificateOptions certificate certx509 privateKey privateKey verify verify caCerts caCerts N/A kwargs N/A _parseClientUNIX N/A N/A N/A args kwargs N/A N/A 
    Perform any argument value coercion necessary for UNIX client parameters.

    Valid keyword arguments to this function are all L{IReactorUNIX.connectUNIX}
    keyword arguments except for C{checkPID}.  Instead, C{lockfile} is accepted
    and has the same meaning.  Also C{path} is used instead of C{address}.

    Valid positional arguments to this function are C{path}.

    @return: The coerced values as a C{dict}.
     N/A N/A N/A len args 1 N/A N/A N/A kwargs N/A path N/A args N/A 0 N/A N/A N/A N/A kwargs N/A checkPID N/A bool N/A int N/A N/A kwargs pop lockfile N/A N/A N/A KeyError N/A N/A N/A N/A N/A N/A kwargs N/A timeout N/A int N/A kwargs N/A timeout N/A N/A N/A KeyError N/A N/A N/A kwargs N/A N/A _clientParsers N/A TCP SSL UNIX _parseClientTCP _parseClientSSL _parseClientUNIX clientFromString N/A N/A reactor description N/A N/A N/A 
    Construct a client endpoint from a description string.

    Client description strings are much like server description strings,
    although they take all of their arguments as keywords, aside from host and
    port.

    You can create a TCP client endpoint with the 'host' and 'port' arguments,
    like so::

        clientFromString(reactor, b"tcp:host=www.example.com:port=80")

    or, without specifying host and port keywords::

        clientFromString(reactor, b"tcp:www.example.com:80")

    Or you can specify only one or the other, as in the following 2 examples::

        clientFromString(reactor, b"tcp:host=www.example.com:80")
        clientFromString(reactor, b"tcp:www.example.com:port=80")

    or an SSL client endpoint with those arguments, plus the arguments used by
    the server SSL, for a client certificate::

        clientFromString(reactor, b"ssl:web.example.com:443:"
                                  b"privateKey=foo.pem:certKey=foo.pem")

    to specify your certificate trust roots, you can identify a directory with
    PEM files in it with the C{caCertsDir} argument::

        clientFromString(reactor, b"ssl:host=web.example.com:port=443:"
                                  b"caCertsDir=/etc/ssl/certs")

    Both TCP and SSL client endpoint description strings can include a
    'bindAddress' keyword argument, whose value should be a local IPv4
    address. This fixes the client socket to that IP address::

        clientFromString(reactor, b"tcp:www.example.com:80:"
                                  b"bindAddress=192.0.2.100")

    NB: Fixed client ports are not currently supported in TCP or SSL
    client endpoints. The client socket will always use an ephemeral
    port assigned by the operating system

    You can create a UNIX client endpoint with the 'path' argument and optional
    'lockfile' and 'timeout' arguments::

        clientFromString(
            reactor, b"unix:path=/var/foo/bar:lockfile=1:timeout=9")

    or, with the path as a positional argument with or without optional
    arguments as in the following 2 examples::

        clientFromString(reactor, b"unix:/var/foo/bar")
        clientFromString(reactor, b"unix:/var/foo/bar:lockfile=1:timeout=9")

    This function is also extensible; new endpoint types may be registered as
    L{IStreamClientEndpointStringParserWithReactor} plugins.  See that
    interface for more information.

    @param reactor: The client endpoint will be constructed with this reactor.

    @param description: The strports description to parse.
    @type description: L{bytes}

    @return: A new endpoint which can be used to connect with the parameters
        given by C{description}.
    @rtype: L{IStreamClientEndpoint<twisted.internet.interfaces.IStreamClientEndpoint>}

    @since: 10.2
     N/A N/A args kwargs N/A _parse description N/A aname N/A N/A args pop 0 N/A name N/A N/A aname upper N/A plugin N/A getPlugins IStreamClientEndpointStringParserWithReactor N/A N/A N/A N/A N/A N/A plugin prefix upper name N/A N/A N/A N/A plugin parseStreamClient reactor args kwargs N/A plugin N/A getPlugins IStreamClientEndpointStringParser N/A N/A N/A N/A N/A N/A plugin prefix upper name N/A N/A N/A N/A plugin parseStreamClient args kwargs N/A N/A name _clientParsers N/A N/A N/A ValueError N/A Unknown endpoint type: %r N/A aname N/A kwargs N/A N/A _clientParsers N/A name args kwargs N/A N/A N/A _endpointClientFactories N/A name reactor kwargs N/A connectProtocol N/A N/A endpoint protocol N/A N/A N/A 
    Connect a protocol instance to an endpoint.

    This allows using a client endpoint without having to create a factory.

    @param endpoint: A client endpoint to connect to.

    @param protocol: A protocol instance.

    @return: The result of calling C{connect} on the endpoint, i.e. a
        L{Deferred} that will fire with the protocol when connected, or an
        appropriate error.

    @since: 13.1
     OneShotFactory N/A Factory N/A buildProtocol N/A N/A self addr N/A N/A N/A protocol N/A N/A N/A N/A N/A endpoint connect N/A OneShotFactory N/A N/A _PY3 N/A N/A name N/A __all__ N/A N/A N/A N/A name __all3__ N/A N/A N/A N/A __all__ remove name N/A N/A N/A globals N/A name N/A name __all3__