Module Expr Str ImportFrom alias alias ImportFrom alias alias alias alias alias ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias alias alias alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias alias alias alias alias alias ImportFrom alias alias alias ImportFrom alias alias alias alias ImportFrom alias alias alias alias alias alias alias alias ImportFrom alias alias alias alias alias ImportFrom alias alias alias alias alias alias ImportFrom alias identifier ImportFrom alias alias alias alias ImportFrom alias alias alias alias alias alias alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad TryExcept body ImportFrom alias alias alias handlers ExceptHandler type NameLoad body Assign NameStore NameStore NameStore NameLoad ImportFrom alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareEq Call NameLoad NameLoad Call NameLoad NameLoad body Return Call NameLoad NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Return Call NameLoad NameLoad Call AttributeLoad NameLoad attr Call NameLoad orelse Return Call NameLoad NameLoad Call AttributeLoad NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Str Num Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Str SubscriptLoad Call AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Assert CompareEq Call AttributeLoad NameLoad attr Num Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Assert CompareEq Call AttributeLoad NameLoad attr Num Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad NameLoad NameLoad While NameLoad body For NameStore NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass orelse Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad Str NameLoad Call NameLoad Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call NameLoad Assign AttributeStore Call AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call NameLoad Assign AttributeStore Call AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call NameLoad Assign AttributeStore Call AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr ListLoad Call NameLoad Call NameLoad Str NameLoad Call NameLoad Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str Return ListLoad TupleLoad NameLoad NameLoad TupleLoad NameLoad NameLoad TupleLoad NameLoad NameLoad decorator_list ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore NameLoad While NameLoad body Assign NameStore NameLoad For TupleStore NameStore NameStore ListLoad TupleLoad NameLoad NameLoad TupleLoad NameLoad NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr BinOpPow Num Num handlers ExceptHandler type NameLoad body Pass orelse Return TupleLoad NameLoad NameLoad While NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Num handlers ExceptHandler type NameLoad body Break orelse Assign NameStore NameLoad 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 AttributeLoad NameLoad attr For NameStore ListLoad NameLoad NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict For NameStore ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list decorator_list ClassDef bases NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad NameLoad NameLoad NameLoad For NameStore NameLoad body Expr Call NameLoad NameLoad Assign NameStore ListLoad NameLoad NameLoad NameLoad For NameStore NameLoad body TryExcept body Expr Call NameLoad NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Pass Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num decorator_list If UnaryOpNot NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad Call AttributeLoad NameLoad attr attr Call NameLoad NameLoad NameLoad decorator_list If UnaryOpNot NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpAdd Call AttributeLoad Call AttributeLoad NameLoad attr attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list If UnaryOpNot NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpBitAnd NameLoad NameLoad decorator_list If UnaryOpNot NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpBitAnd NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num NameLoad decorator_list If CompareIsNot NameLoad NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpBitAnd NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list If UnaryOpNot NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpBitAnd NameLoad NameLoad decorator_list orelse Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list If UnaryOpNot NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list If UnaryOpNot NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call NameLoad NameLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Lambda arguments args defaults NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Raise Call NameLoad Str decorator_list Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Return Str decorator_list Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Return Num decorator_list Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpMult Call NameLoad Str Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assert CompareEq NameLoad Num Return BinOpAdd NameLoad Call NameLoad Str decorator_list Assign NameStore Call NameLoad NameLoad 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 Call NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad decorator_list Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad Assign NameStore ListComp NameLoad comprehension TupleStore NameStore NameStore NameStore NameLoad UnaryOpNot Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str Assign TupleStore NameStore NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Lambda arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad Call AttributeLoad NameLoad attr attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call NameLoad NameLoad For NameStore ListLoad Str Str body Assign NameStore Call NameLoad NameLoad NameLoad With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad Call AttributeLoad NameLoad attr attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list If CompareEq NameLoad Str body Expr Str Expr Str orelse FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Lambda arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Str Num Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call NameLoad Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr For NameStore Call NameLoad Num body For NameStore ListLoad NameLoad NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults vararg body Assign AttributeStore NameLoad attr NameLoad Return Num decorator_list decorator_list Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad FunctionDef arguments args defaults vararg body Raise Call NameLoad Str decorator_list Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign ListStore TupleStore NameStore NameStore TupleStore NameStore NameStore TupleStore NameStore NameStore NameLoad For TupleStore NameStore NameStore ListLoad TupleLoad NameLoad Str TupleLoad NameLoad Str TupleLoad NameLoad Str body Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore ListLoad TupleLoad NameLoad Str TupleLoad NameLoad Str TupleLoad NameLoad Str body Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpBitOr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign ListStore TupleStore NameStore NameStore TupleStore NameStore NameStore TupleStore NameStore NameStore NameLoad Expr Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call NameLoad NameLoad Str With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpBitOr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad Call AttributeLoad NameLoad attr attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr BinOpBitOr NameLoad NameLoad Lambda arguments args defaults vararg NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpBitOr NameLoad NameLoad decorator_list If UnaryOpNot NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpBitOr NameLoad NameLoad Lambda arguments args defaults vararg NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpBitOr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad Call AttributeLoad NameLoad attr attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad For NameStore Call NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr decorator_list If UnaryOpNot NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Delete NameDel Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Expr Call NameLoad Assign NameStore Call NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad If CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad Call AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Delete NameDel Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad Call AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad TupleLoad NameLoad Call NameLoad Str NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad body Expr Str If AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad Return ListLoad Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Return Str decorator_list Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad TupleLoad NameLoad ListLoad Str Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad Return ListLoad Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Return Str decorator_list Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad TupleLoad NameLoad ListLoad Str Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad Return ListLoad Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Raise NameLoad decorator_list Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Return Str decorator_list Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad NameLoad decorator_list orelse FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad body Expr Str If AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Return Str decorator_list Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad TupleLoad NameLoad ListLoad Str Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Return Str decorator_list Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad TupleLoad NameLoad ListLoad Str Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Return Str decorator_list Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad TupleLoad NameLoad ListLoad Str Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Raise Call NameLoad decorator_list Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad TupleLoad NameLoad ListLoad Str Str NameLoad decorator_list orelse FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Delete NameDel NameDel Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call NameLoad Str If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Str attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr TupleLoad Str Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr TupleLoad Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Str Num Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Call NameLoad NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Str SubscriptLoad Call AttributeLoad NameLoad attr Index Num decorator_list If CompareEq NameLoad Str body Expr Str orelse FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Str Num Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Call NameLoad NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareIn NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Str Num Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Call NameLoad NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Str SubscriptLoad Call AttributeLoad NameLoad attr Index Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpBitOr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpBitOr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad orelse Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list If UnaryOpNot NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign ListStore TupleStore NameStore NameStore TupleStore NameStore NameStore TupleStore NameStore NameStore NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Str AttributeLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad 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 TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr 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 NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call NameLoad Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call NameLoad Assign NameStore Str For NameStore Call NameLoad BinOpMult BinOpMult Num Num Num body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body If CompareEq AttributeLoad NameLoad attr NameLoad body Break Raise orelse Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr CompareGt Call NameLoad Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr CompareGt Call NameLoad Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr With Call NameLoad keyword NameLoad NameStore body Expr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str decorator_list TryExcept body Expr NameLoad handlers ExceptHandler type NameLoad body Expr Str orelse FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Call NameLoad Str decorator_list TryExcept body Expr NameLoad handlers ExceptHandler type NameLoad body Expr Str orelse FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Call NameLoad Str decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Call NameLoad NameLoad decorator_list ClassDef bases NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list TryExcept body Expr NameLoad handlers ExceptHandler type NameLoad body Expr Str orelse FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr With Call NameLoad keyword NameLoad NameStore body Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str decorator_list TryExcept body Expr NameLoad handlers ExceptHandler type NameLoad body Expr Str orelse FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Call NameLoad Str decorator_list TryExcept body Expr NameLoad handlers ExceptHandler type NameLoad body Expr Str orelse FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpMult Call NameLoad Str BinOpSub BinOpMult Num Num Num Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Assign NameStore Num While CompareLt NameLoad Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad Call NameLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad orelse Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str If CompareIsNot NameLoad NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list orelse Expr Str If CompareIsNot NameLoad NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list orelse Expr Str If CompareIsNot NameLoad NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list orelse Expr Str If CompareIsNot NameLoad NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list orelse Expr Str FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Num NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpBitOr BinOpBitOr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpBitOr BinOpBitOr NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpBitOr BinOpBitOr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpBitOr BinOpBitOr NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad NameLoad SubscriptLoad NameLoad Slice Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Slice Num Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore BinOpPow Num Num Assign NameStore Call AttributeLoad NameLoad attr BinOpMult Str NameLoad Expr Call AttributeLoad NameLoad attr CompareLt NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Num Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr ListLoad Return ListLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Return ListLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Return ListLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return ListLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Return ListLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return ListLoad NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return ListLoad NameLoad NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return ListLoad NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad decorator_list If UnaryOpNot NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Num Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str For NameStore ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A 
Unit tests for :py:obj:`OpenSSL.SSL`.
 gc collect get_referrers errno ECONNREFUSED EINPROGRESS EWOULDBLOCK EPIPE ESHUTDOWN sys platform getfilesystemencoding socket SHUT_RDWR error socket os makedirs os.path join unittest main weakref ref warnings catch_warnings simplefilter six PY3 text_type u OpenSSL.crypto TYPE_RSA FILETYPE_PEM OpenSSL.crypto PKey X509 X509Extension X509Store OpenSSL.crypto dump_privatekey load_privatekey OpenSSL.crypto dump_certificate load_certificate OpenSSL.crypto get_elliptic_curves OpenSSL.SSL OPENSSL_VERSION_NUMBER SSLEAY_VERSION SSLEAY_CFLAGS OpenSSL.SSL SSLEAY_PLATFORM SSLEAY_DIR SSLEAY_BUILT_ON OpenSSL.SSL SENT_SHUTDOWN RECEIVED_SHUTDOWN OpenSSL.SSL SSLv2_METHOD SSLv3_METHOD SSLv23_METHOD TLSv1_METHOD TLSv1_1_METHOD TLSv1_2_METHOD OpenSSL.SSL OP_SINGLE_DH_USE OP_NO_SSLv2 OP_NO_SSLv3 OpenSSL.SSL VERIFY_PEER VERIFY_FAIL_IF_NO_PEER_CERT VERIFY_CLIENT_ONCE VERIFY_NONE OpenSSL.SSL SESS_CACHE_OFF SESS_CACHE_CLIENT SESS_CACHE_SERVER SESS_CACHE_BOTH SESS_CACHE_NO_AUTO_CLEAR SESS_CACHE_NO_INTERNAL_LOOKUP SESS_CACHE_NO_INTERNAL_STORE SESS_CACHE_NO_INTERNAL OpenSSL.SSL Error SysCallError WantReadError WantWriteError ZeroReturnError OpenSSL.SSL Context ContextType Session Connection ConnectionType SSLeay_version OpenSSL._util lib _lib OpenSSL.test.util WARNING_TYPE_EXPECTED NON_ASCII TestCase b OpenSSL.test.test_crypto cleartextCertificatePEM cleartextPrivateKeyPEM client_cert_pem client_key_pem server_cert_pem server_key_pem root_cert_pem N/A N/A OpenSSL.SSL OP_NO_QUERY_MTU N/A N/A N/A ImportError N/A N/A OP_NO_QUERY_MTU None N/A N/A OpenSSL.SSL OP_COOKIE_EXCHANGE N/A N/A N/A ImportError N/A N/A OP_COOKIE_EXCHANGE None N/A N/A OpenSSL.SSL OP_NO_TICKET N/A N/A N/A ImportError N/A N/A OP_NO_TICKET None N/A N/A OpenSSL.SSL OP_NO_COMPRESSION N/A N/A N/A ImportError N/A N/A OP_NO_COMPRESSION None N/A N/A OpenSSL.SSL MODE_RELEASE_BUFFERS N/A N/A N/A ImportError N/A N/A MODE_RELEASE_BUFFERS None N/A N/A OpenSSL.SSL OP_NO_TLSv1 OP_NO_TLSv1_1 OP_NO_TLSv1_2 N/A N/A N/A ImportError N/A N/A OP_NO_TLSv1 OP_NO_TLSv1_1 OP_NO_TLSv1_2 None OpenSSL.SSL SSL_ST_CONNECT SSL_ST_ACCEPT SSL_ST_MASK SSL_ST_INIT SSL_ST_BEFORE SSL_ST_OK SSL_ST_RENEGOTIATE SSL_CB_LOOP SSL_CB_EXIT SSL_CB_READ SSL_CB_WRITE SSL_CB_ALERT SSL_CB_READ_ALERT SSL_CB_WRITE_ALERT SSL_CB_ACCEPT_LOOP SSL_CB_ACCEPT_EXIT SSL_CB_CONNECT_LOOP SSL_CB_CONNECT_EXIT SSL_CB_HANDSHAKE_START SSL_CB_HANDSHAKE_DONE N/A dhparam -----BEGIN DH PARAMETERS-----
MBYCEQCobsg29c9WZP/54oAPcwiDAgEC
-----END DH PARAMETERS-----
 join_bytes_or_unicode N/A N/A prefix suffix N/A N/A N/A 
    Join two path components of either ``bytes`` or ``unicode``.

    The return type is the same as the type of ``prefix``.
     N/A N/A N/A type prefix N/A type suffix N/A N/A N/A join prefix suffix N/A N/A isinstance prefix text_type N/A N/A N/A join prefix N/A N/A suffix decode N/A getfilesystemencoding N/A N/A N/A join prefix N/A N/A suffix encode N/A getfilesystemencoding N/A verify_cb N/A N/A conn cert errnum depth ok N/A N/A N/A ok N/A socket_pair N/A N/A N/A N/A N/A 
    Establish and return a pair of network sockets connected to each other.
     N/A port N/A socket N/A N/A N/A port bind N/A 0 N/A N/A N/A port listen 1 N/A client N/A socket N/A N/A N/A client setblocking False N/A N/A N/A client connect_ex N/A 127.0.0.1 N/A N/A N/A port getsockname N/A 1 N/A N/A N/A client setblocking True N/A server N/A N/A N/A port accept N/A 0 N/A N/A N/A server send N/A b x N/A N/A N/A N/A client recv 1024 N/A b x N/A N/A N/A client send N/A b y N/A N/A N/A N/A server recv 1024 N/A b y N/A N/A N/A server setblocking False N/A N/A N/A client setblocking False N/A N/A server client N/A handshake N/A N/A client server N/A N/A N/A conns N/A client server N/A conns N/A N/A conn conns N/A N/A N/A N/A N/A N/A conn do_handshake N/A N/A N/A WantReadError N/A N/A N/A N/A N/A N/A conns remove conn N/A _create_certificate_chain N/A N/A N/A N/A N/A 
    Construct and return a chain of certificates.

        1. A new self-signed certificate authority certificate (cacert)
        2. A new intermediate certificate signed by cacert (icert)
        3. A new server certificate signed by icert (scert)
     N/A caext N/A X509Extension N/A b basicConstraints False N/A b CA:true N/A cakey N/A PKey N/A N/A N/A cakey generate_key TYPE_RSA 512 N/A cacert N/A X509 N/A N/A N/A N/A cacert get_subject commonName Authority Certificate N/A N/A N/A cacert set_issuer N/A N/A cacert get_subject N/A N/A N/A cacert set_pubkey cakey N/A N/A N/A cacert set_notBefore N/A b 20000101000000Z N/A N/A N/A cacert set_notAfter N/A b 20200101000000Z N/A N/A N/A cacert add_extensions N/A caext N/A N/A N/A cacert set_serial_number 0 N/A N/A N/A cacert sign cakey sha1 N/A ikey N/A PKey N/A N/A N/A ikey generate_key TYPE_RSA 512 N/A icert N/A X509 N/A N/A N/A N/A icert get_subject commonName Intermediate Certificate N/A N/A N/A icert set_issuer N/A N/A cacert get_subject N/A N/A N/A icert set_pubkey ikey N/A N/A N/A icert set_notBefore N/A b 20000101000000Z N/A N/A N/A icert set_notAfter N/A b 20200101000000Z N/A N/A N/A icert add_extensions N/A caext N/A N/A N/A icert set_serial_number 0 N/A N/A N/A icert sign cakey sha1 N/A skey N/A PKey N/A N/A N/A skey generate_key TYPE_RSA 512 N/A scert N/A X509 N/A N/A N/A N/A scert get_subject commonName Server Certificate N/A N/A N/A scert set_issuer N/A N/A icert get_subject N/A N/A N/A scert set_pubkey skey N/A N/A N/A scert set_notBefore N/A b 20000101000000Z N/A N/A N/A scert set_notAfter N/A b 20200101000000Z N/A N/A N/A scert add_extensions N/A N/A X509Extension N/A b basicConstraints True N/A b CA:false N/A N/A N/A scert set_serial_number 0 N/A N/A N/A scert sign ikey sha1 N/A N/A N/A cakey cacert N/A ikey icert N/A skey scert N/A _LoopbackMixin N/A N/A N/A 
    Helper mixin which defines methods for creating a connected socket pair and
    for forcing two connected SSL sockets to talk to each other via memory BIOs.
     _loopbackClientFactory N/A N/A self socket N/A N/A N/A client N/A Connection N/A Context TLSv1_METHOD socket N/A N/A N/A client set_connect_state N/A client N/A _loopbackServerFactory N/A N/A self socket N/A N/A N/A ctx N/A Context TLSv1_METHOD N/A N/A N/A ctx use_privatekey N/A load_privatekey FILETYPE_PEM server_key_pem N/A N/A N/A ctx use_certificate N/A load_certificate FILETYPE_PEM server_cert_pem N/A server N/A Connection ctx socket N/A N/A N/A server set_accept_state N/A server N/A _loopback N/A N/A self serverFactory clientFactory N/A None None N/A N/A N/A serverFactory None N/A N/A serverFactory N/A self _loopbackServerFactory N/A N/A clientFactory None N/A N/A clientFactory N/A self _loopbackClientFactory N/A N/A server client N/A socket_pair N/A server N/A serverFactory server N/A client N/A clientFactory client N/A N/A handshake client server N/A N/A N/A server setblocking True N/A N/A N/A client setblocking True N/A N/A server client N/A _interactInMemory N/A N/A self client_conn server_conn N/A N/A N/A 
        Try to read application bytes from each of the two :py:obj:`Connection`
        objects.  Copy bytes back and forth between their send/receive buffers
        for as long as there is anything to copy.  When there is nothing more
        to copy, return :py:obj:`None`.  If one of them actually manages to deliver
        some application bytes, return a two-tuple of the connection from which
        the bytes were read and the bytes themselves.
         N/A wrote True N/A wrote N/A N/A wrote False N/A N/A read write N/A N/A client_conn server_conn N/A server_conn client_conn N/A N/A N/A N/A data N/A N/A read recv N/A 2 16 N/A N/A N/A WantReadError N/A N/A N/A N/A N/A read data N/A True N/A N/A N/A N/A dirty N/A N/A read bio_read 4096 N/A N/A N/A WantReadError N/A N/A N/A N/A wrote True N/A N/A N/A write bio_write dirty N/A _handshakeInMemory N/A N/A self client_conn server_conn N/A N/A N/A 
        Perform the TLS handshake between two :py:class:`Connection` instances
        connected to each other via memory BIOs.
         N/A N/A N/A client_conn set_connect_state N/A N/A N/A server_conn set_accept_state N/A conn N/A client_conn server_conn N/A N/A N/A N/A N/A N/A conn do_handshake N/A N/A N/A WantReadError N/A N/A N/A N/A N/A self _interactInMemory client_conn server_conn N/A N/A VersionTests N/A TestCase N/A N/A 
    Tests for version information exposed by
    :py:obj:`OpenSSL.SSL.SSLeay_version` and
    :py:obj:`OpenSSL.SSL.OPENSSL_VERSION_NUMBER`.
     test_OPENSSL_VERSION_NUMBER N/A N/A self N/A N/A N/A 
        :py:obj:`OPENSSL_VERSION_NUMBER` is an integer with status in the low
        byte and the patch, fix, minor, and major versions in the
        nibbles above that.
         N/A N/A N/A self assertTrue N/A isinstance OPENSSL_VERSION_NUMBER int N/A test_SSLeay_version N/A N/A self N/A N/A N/A 
        :py:obj:`SSLeay_version` takes a version type indicator and returns
        one of a number of version strings based on that indicator.
         N/A versions N/A N/A t N/A SSLEAY_VERSION SSLEAY_CFLAGS SSLEAY_BUILT_ON SSLEAY_PLATFORM SSLEAY_DIR N/A N/A version N/A SSLeay_version t N/A N/A versions N/A version t N/A N/A N/A self assertTrue N/A isinstance version bytes N/A N/A N/A self assertEqual N/A len versions 5 N/A N/A ContextTests N/A TestCase _LoopbackMixin N/A N/A 
    Unit tests for :py:obj:`OpenSSL.SSL.Context`.
     test_method N/A N/A self N/A N/A N/A 
        :py:obj:`Context` can be instantiated with one of :py:obj:`SSLv2_METHOD`,
        :py:obj:`SSLv3_METHOD`, :py:obj:`SSLv23_METHOD`, :py:obj:`TLSv1_METHOD`,
        :py:obj:`TLSv1_1_METHOD`, or :py:obj:`TLSv1_2_METHOD`.
         N/A methods N/A SSLv3_METHOD SSLv23_METHOD TLSv1_METHOD N/A meth methods N/A N/A N/A Context meth N/A maybe N/A SSLv2_METHOD TLSv1_1_METHOD TLSv1_2_METHOD N/A meth maybe N/A N/A N/A N/A N/A Context meth N/A N/A N/A N/A Error ValueError N/A N/A N/A N/A N/A self assertRaises TypeError Context N/A N/A N/A self assertRaises ValueError Context 10 N/A N/A N/A PY3 N/A test_method_long N/A N/A self N/A N/A N/A 
            On Python 2 :py:class:`Context` accepts values of type
            :py:obj:`long` as well as :py:obj:`int`.
             N/A N/A Context N/A long TLSv1_METHOD N/A test_type N/A N/A self N/A N/A N/A 
        :py:obj:`Context` and :py:obj:`ContextType` refer to the same type object and can be
        used to create instances of that type.
         N/A N/A N/A self assertIdentical Context ContextType N/A N/A N/A self assertConsistentType Context Context TLSv1_METHOD N/A test_use_privatekey N/A N/A self N/A N/A N/A 
        :py:obj:`Context.use_privatekey` takes an :py:obj:`OpenSSL.crypto.PKey` instance.
         N/A key N/A PKey N/A N/A N/A key generate_key TYPE_RSA 128 N/A ctx N/A Context TLSv1_METHOD N/A N/A N/A ctx use_privatekey key N/A N/A N/A self assertRaises TypeError N/A ctx use_privatekey N/A test_use_privatekey_file_missing N/A N/A self N/A N/A N/A 
        :py:obj:`Context.use_privatekey_file` raises :py:obj:`OpenSSL.SSL.Error`
        when passed the name of a file which does not exist.
         N/A ctx N/A Context TLSv1_METHOD N/A N/A N/A self assertRaises Error N/A ctx use_privatekey_file N/A N/A self mktemp N/A _use_privatekey_file_test N/A N/A self pemfile filetype N/A N/A N/A 
        Verify that calling ``Context.use_privatekey_file`` with the given
        arguments does not raise an exception.
         N/A key N/A PKey N/A N/A N/A key generate_key TYPE_RSA 128 N/A N/A open pemfile wt pem N/A N/A N/A N/A pem write N/A N/A N/A dump_privatekey FILETYPE_PEM key decode ascii N/A ctx N/A Context TLSv1_METHOD N/A N/A N/A ctx use_privatekey_file pemfile filetype N/A test_use_privatekey_file_bytes N/A N/A self N/A N/A N/A 
        A private key can be specified from a file by passing a ``bytes``
        instance giving the file name to ``Context.use_privatekey_file``.
         N/A N/A N/A self _use_privatekey_file_test N/A N/A N/A self mktemp N/A N/A NON_ASCII encode N/A getfilesystemencoding FILETYPE_PEM N/A test_use_privatekey_file_unicode N/A N/A self N/A N/A N/A 
        A private key can be specified from a file by passing a ``unicode``
        instance giving the file name to ``Context.use_privatekey_file``.
         N/A N/A N/A self _use_privatekey_file_test N/A N/A N/A N/A N/A self mktemp decode N/A getfilesystemencoding NON_ASCII FILETYPE_PEM N/A N/A N/A PY3 N/A test_use_privatekey_file_long N/A N/A self N/A N/A N/A 
            On Python 2 :py:obj:`Context.use_privatekey_file` accepts a
            filetype of type :py:obj:`long` as well as :py:obj:`int`.
             N/A N/A N/A self _use_privatekey_file_test N/A N/A self mktemp N/A long FILETYPE_PEM N/A test_use_certificate_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Context.use_certificate_wrong_args` raises :py:obj:`TypeError`
        when not passed exactly one :py:obj:`OpenSSL.crypto.X509` instance as an
        argument.
         N/A ctx N/A Context TLSv1_METHOD N/A N/A N/A self assertRaises TypeError N/A ctx use_certificate N/A N/A N/A self assertRaises TypeError N/A ctx use_certificate hello, world N/A N/A N/A self assertRaises TypeError N/A ctx use_certificate N/A X509 hello, world N/A test_use_certificate_uninitialized N/A N/A self N/A N/A N/A 
        :py:obj:`Context.use_certificate` raises :py:obj:`OpenSSL.SSL.Error`
        when passed a :py:obj:`OpenSSL.crypto.X509` instance which has not been
        initialized (ie, which does not actually have any certificate data).
         N/A ctx N/A Context TLSv1_METHOD N/A N/A N/A self assertRaises Error N/A ctx use_certificate N/A X509 N/A test_use_certificate N/A N/A self N/A N/A N/A 
        :py:obj:`Context.use_certificate` sets the certificate which will be
        used to identify connections created using the context.
         N/A ctx N/A Context TLSv1_METHOD N/A N/A N/A ctx use_certificate N/A load_certificate FILETYPE_PEM cleartextCertificatePEM N/A test_use_certificate_file_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Context.use_certificate_file` raises :py:obj:`TypeError` if
        called with zero arguments or more than two arguments, or if the first
        argument is not a byte string or the second argumnent is not an integer.
         N/A ctx N/A Context TLSv1_METHOD N/A N/A N/A self assertRaises TypeError N/A ctx use_certificate_file N/A N/A N/A self assertRaises TypeError N/A ctx use_certificate_file somefile N/A object N/A N/A N/A self assertRaises TypeError N/A ctx use_certificate_file somefile FILETYPE_PEM N/A object N/A N/A N/A self assertRaises TypeError N/A ctx use_certificate_file N/A object FILETYPE_PEM N/A N/A N/A self assertRaises TypeError N/A ctx use_certificate_file somefile N/A object N/A test_use_certificate_file_missing N/A N/A self N/A N/A N/A 
        :py:obj:`Context.use_certificate_file` raises
        `:py:obj:`OpenSSL.SSL.Error` if passed the name of a file which does not
        exist.
         N/A ctx N/A Context TLSv1_METHOD N/A N/A N/A self assertRaises Error N/A ctx use_certificate_file N/A N/A self mktemp N/A _use_certificate_file_test N/A N/A self certificate_file N/A N/A N/A 
        Verify that calling ``Context.use_certificate_file`` with the given
        filename doesn't raise an exception.
         N/A N/A open certificate_file wb pem_file N/A N/A N/A N/A pem_file write cleartextCertificatePEM N/A ctx N/A Context TLSv1_METHOD N/A N/A N/A ctx use_certificate_file certificate_file N/A test_use_certificate_file_bytes N/A N/A self N/A N/A N/A 
        :py:obj:`Context.use_certificate_file` sets the certificate (given as a
        ``bytes`` filename) which will be used to identify connections created
        using the context.
         N/A filename N/A N/A N/A self mktemp N/A N/A NON_ASCII encode N/A getfilesystemencoding N/A N/A N/A self _use_certificate_file_test filename N/A test_use_certificate_file_unicode N/A N/A self N/A N/A N/A 
        :py:obj:`Context.use_certificate_file` sets the certificate (given as a
        ``bytes`` filename) which will be used to identify connections created
        using the context.
         N/A filename N/A N/A N/A N/A N/A self mktemp decode N/A getfilesystemencoding NON_ASCII N/A N/A N/A self _use_certificate_file_test filename N/A N/A N/A PY3 N/A test_use_certificate_file_long N/A N/A self N/A N/A N/A 
            On Python 2 :py:obj:`Context.use_certificate_file` accepts a
            filetype of type :py:obj:`long` as well as :py:obj:`int`.
             N/A pem_filename N/A N/A self mktemp N/A N/A open pem_filename wb pem_file N/A N/A N/A N/A pem_file write cleartextCertificatePEM N/A ctx N/A Context TLSv1_METHOD N/A N/A N/A ctx use_certificate_file pem_filename N/A long FILETYPE_PEM N/A test_check_privatekey_valid N/A N/A self N/A N/A N/A 
        :py:obj:`Context.check_privatekey` returns :py:obj:`None` if the
        :py:obj:`Context` instance has been configured to use a matched key and
        certificate pair.
         N/A key N/A load_privatekey FILETYPE_PEM client_key_pem N/A cert N/A load_certificate FILETYPE_PEM client_cert_pem N/A context N/A Context TLSv1_METHOD N/A N/A N/A context use_privatekey key N/A N/A N/A context use_certificate cert N/A N/A N/A self assertIs None N/A N/A context check_privatekey N/A test_check_privatekey_invalid N/A N/A self N/A N/A N/A 
        :py:obj:`Context.check_privatekey` raises :py:obj:`Error` if the
        :py:obj:`Context` instance has been configured to use a key and
        certificate pair which don't relate to each other.
         N/A key N/A load_privatekey FILETYPE_PEM client_key_pem N/A cert N/A load_certificate FILETYPE_PEM server_cert_pem N/A context N/A Context TLSv1_METHOD N/A N/A N/A context use_privatekey key N/A N/A N/A context use_certificate cert N/A N/A N/A self assertRaises Error N/A context check_privatekey N/A test_check_privatekey_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Context.check_privatekey` raises :py:obj:`TypeError` if called
        with other than no arguments.
         N/A context N/A Context TLSv1_METHOD N/A N/A N/A self assertRaises TypeError N/A context check_privatekey N/A object N/A test_set_app_data_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Context.set_app_data` raises :py:obj:`TypeError` if called with other than
        one argument.
         N/A context N/A Context TLSv1_METHOD N/A N/A N/A self assertRaises TypeError N/A context set_app_data N/A N/A N/A self assertRaises TypeError N/A context set_app_data None None N/A test_get_app_data_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Context.get_app_data` raises :py:obj:`TypeError` if called with any
        arguments.
         N/A context N/A Context TLSv1_METHOD N/A N/A N/A self assertRaises TypeError N/A context get_app_data None N/A test_app_data N/A N/A self N/A N/A N/A 
        :py:obj:`Context.set_app_data` stores an object for later retrieval using
        :py:obj:`Context.get_app_data`.
         N/A app_data N/A object N/A context N/A Context TLSv1_METHOD N/A N/A N/A context set_app_data app_data N/A N/A N/A self assertIdentical N/A N/A context get_app_data app_data N/A test_set_options_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Context.set_options` raises :py:obj:`TypeError` if called with the wrong
        number of arguments or a non-:py:obj:`int` argument.
         N/A context N/A Context TLSv1_METHOD N/A N/A N/A self assertRaises TypeError N/A context set_options N/A N/A N/A self assertRaises TypeError N/A context set_options None N/A N/A N/A self assertRaises TypeError N/A context set_options 1 None N/A test_set_options N/A N/A self N/A N/A N/A 
        :py:obj:`Context.set_options` returns the new options value.
         N/A context N/A Context TLSv1_METHOD N/A options N/A N/A context set_options OP_NO_SSLv2 N/A N/A N/A self assertTrue N/A OP_NO_SSLv2 options N/A N/A N/A PY3 N/A test_set_options_long N/A N/A self N/A N/A N/A 
            On Python 2 :py:obj:`Context.set_options` accepts values of type
            :py:obj:`long` as well as :py:obj:`int`.
             N/A context N/A Context TLSv1_METHOD N/A options N/A N/A context set_options N/A long OP_NO_SSLv2 N/A N/A N/A self assertTrue N/A OP_NO_SSLv2 options N/A test_set_mode_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Context.set`mode} raises :py:obj:`TypeError` if called with the wrong
        number of arguments or a non-:py:obj:`int` argument.
         N/A context N/A Context TLSv1_METHOD N/A N/A N/A self assertRaises TypeError N/A context set_mode N/A N/A N/A self assertRaises TypeError N/A context set_mode None N/A N/A N/A self assertRaises TypeError N/A context set_mode 1 None N/A N/A N/A MODE_RELEASE_BUFFERS None N/A test_set_mode N/A N/A self N/A N/A N/A 
            :py:obj:`Context.set_mode` accepts a mode bitvector and returns the newly
            set mode.
             N/A context N/A Context TLSv1_METHOD N/A N/A N/A self assertTrue N/A MODE_RELEASE_BUFFERS N/A N/A context set_mode MODE_RELEASE_BUFFERS N/A N/A N/A PY3 N/A test_set_mode_long N/A N/A self N/A N/A N/A 
                On Python 2 :py:obj:`Context.set_mode` accepts values of type
                :py:obj:`long` as well as :py:obj:`int`.
                 N/A context N/A Context TLSv1_METHOD N/A mode N/A N/A context set_mode N/A long MODE_RELEASE_BUFFERS N/A N/A N/A self assertTrue N/A MODE_RELEASE_BUFFERS mode N/A N/A N/A MODE_RELEASE_BUFFERS unavailable - OpenSSL version may be too old test_set_timeout_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Context.set_timeout` raises :py:obj:`TypeError` if called with the wrong
        number of arguments or a non-:py:obj:`int` argument.
         N/A context N/A Context TLSv1_METHOD N/A N/A N/A self assertRaises TypeError N/A context set_timeout N/A N/A N/A self assertRaises TypeError N/A context set_timeout None N/A N/A N/A self assertRaises TypeError N/A context set_timeout 1 None N/A test_get_timeout_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Context.get_timeout` raises :py:obj:`TypeError` if called with any arguments.
         N/A context N/A Context TLSv1_METHOD N/A N/A N/A self assertRaises TypeError N/A context get_timeout None N/A test_timeout N/A N/A self N/A N/A N/A 
        :py:obj:`Context.set_timeout` sets the session timeout for all connections
        created using the context object.  :py:obj:`Context.get_timeout` retrieves this
        value.
         N/A context N/A Context TLSv1_METHOD N/A N/A N/A context set_timeout 1234 N/A N/A N/A self assertEquals N/A N/A context get_timeout 1234 N/A N/A N/A PY3 N/A test_timeout_long N/A N/A self N/A N/A N/A 
            On Python 2 :py:obj:`Context.set_timeout` accepts values of type
            `long` as well as int.
             N/A context N/A Context TLSv1_METHOD N/A N/A N/A context set_timeout N/A long 1234 N/A N/A N/A self assertEquals N/A N/A context get_timeout 1234 N/A test_set_verify_depth_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Context.set_verify_depth` raises :py:obj:`TypeError` if called with the wrong
        number of arguments or a non-:py:obj:`int` argument.
         N/A context N/A Context TLSv1_METHOD N/A N/A N/A self assertRaises TypeError N/A context set_verify_depth N/A N/A N/A self assertRaises TypeError N/A context set_verify_depth None N/A N/A N/A self assertRaises TypeError N/A context set_verify_depth 1 None N/A test_get_verify_depth_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Context.get_verify_depth` raises :py:obj:`TypeError` if called with any arguments.
         N/A context N/A Context TLSv1_METHOD N/A N/A N/A self assertRaises TypeError N/A context get_verify_depth None N/A test_verify_depth N/A N/A self N/A N/A N/A 
        :py:obj:`Context.set_verify_depth` sets the number of certificates in a chain
        to follow before giving up.  The value can be retrieved with
        :py:obj:`Context.get_verify_depth`.
         N/A context N/A Context TLSv1_METHOD N/A N/A N/A context set_verify_depth 11 N/A N/A N/A self assertEquals N/A N/A context get_verify_depth 11 N/A N/A N/A PY3 N/A test_verify_depth_long N/A N/A self N/A N/A N/A 
            On Python 2 :py:obj:`Context.set_verify_depth` accepts values of
            type `long` as well as int.
             N/A context N/A Context TLSv1_METHOD N/A N/A N/A context set_verify_depth N/A long 11 N/A N/A N/A self assertEquals N/A N/A context get_verify_depth 11 N/A _write_encrypted_pem N/A N/A self passphrase N/A N/A N/A 
        Write a new private key out to a new file, encrypted using the given
        passphrase.  Return the path to the new file.
         N/A key N/A PKey N/A N/A N/A key generate_key TYPE_RSA 128 N/A pemFile N/A N/A self mktemp N/A fObj N/A open pemFile w N/A pem N/A dump_privatekey FILETYPE_PEM key blowfish passphrase N/A N/A N/A fObj write N/A N/A pem decode ascii N/A N/A N/A fObj close N/A pemFile N/A test_set_passwd_cb_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Context.set_passwd_cb` raises :py:obj:`TypeError` if called with the
        wrong arguments or with a non-callable first argument.
         N/A context N/A Context TLSv1_METHOD N/A N/A N/A self assertRaises TypeError N/A context set_passwd_cb N/A N/A N/A self assertRaises TypeError N/A context set_passwd_cb None N/A N/A N/A self assertRaises TypeError N/A context set_passwd_cb N/A N/A N/A N/A None None None N/A test_set_passwd_cb N/A N/A self N/A N/A N/A 
        :py:obj:`Context.set_passwd_cb` accepts a callable which will be invoked when
        a private key is loaded from an encrypted PEM.
         N/A passphrase N/A b foobar N/A pemFile N/A N/A self _write_encrypted_pem passphrase N/A calledWith N/A passphraseCallback N/A N/A maxlen verify extra N/A N/A N/A N/A N/A calledWith append N/A maxlen verify extra N/A passphrase N/A N/A context N/A Context TLSv1_METHOD N/A N/A N/A context set_passwd_cb passphraseCallback N/A N/A N/A context use_privatekey_file pemFile N/A N/A N/A self assertTrue N/A len calledWith 1 N/A N/A N/A self assertTrue N/A isinstance N/A N/A calledWith N/A 0 N/A 0 int N/A N/A N/A self assertTrue N/A isinstance N/A N/A calledWith N/A 0 N/A 1 int N/A N/A N/A self assertEqual N/A N/A calledWith N/A 0 N/A 2 None N/A test_passwd_callback_exception N/A N/A self N/A N/A N/A 
        :py:obj:`Context.use_privatekey_file` propagates any exception raised by the
        passphrase callback.
         N/A pemFile N/A N/A self _write_encrypted_pem N/A b monkeys are nice passphraseCallback N/A N/A maxlen verify extra N/A N/A N/A N/A RuntimeError Sorry, I am a fail. N/A N/A context N/A Context TLSv1_METHOD N/A N/A N/A context set_passwd_cb passphraseCallback N/A N/A N/A self assertRaises RuntimeError N/A context use_privatekey_file pemFile N/A test_passwd_callback_false N/A N/A self N/A N/A N/A 
        :py:obj:`Context.use_privatekey_file` raises :py:obj:`OpenSSL.SSL.Error` if the
        passphrase callback returns a false value.
         N/A pemFile N/A N/A self _write_encrypted_pem N/A b monkeys are nice passphraseCallback N/A N/A maxlen verify extra N/A N/A N/A N/A N/A context N/A Context TLSv1_METHOD N/A N/A N/A context set_passwd_cb passphraseCallback N/A N/A N/A self assertRaises Error N/A context use_privatekey_file pemFile N/A test_passwd_callback_non_string N/A N/A self N/A N/A N/A 
        :py:obj:`Context.use_privatekey_file` raises :py:obj:`OpenSSL.SSL.Error` if the
        passphrase callback returns a true non-string value.
         N/A pemFile N/A N/A self _write_encrypted_pem N/A b monkeys are nice passphraseCallback N/A N/A maxlen verify extra N/A N/A N/A 10 N/A N/A context N/A Context TLSv1_METHOD N/A N/A N/A context set_passwd_cb passphraseCallback N/A N/A N/A self assertRaises ValueError N/A context use_privatekey_file pemFile N/A test_passwd_callback_too_long N/A N/A self N/A N/A N/A 
        If the passphrase returned by the passphrase callback returns a string
        longer than the indicated maximum length, it is truncated.
         N/A passphrase N/A N/A b x 1024 N/A pemFile N/A N/A self _write_encrypted_pem passphrase passphraseCallback N/A N/A maxlen verify extra N/A N/A N/A N/A maxlen 1024 N/A N/A passphrase N/A b y N/A N/A context N/A Context TLSv1_METHOD N/A N/A N/A context set_passwd_cb passphraseCallback N/A N/A N/A context use_privatekey_file pemFile N/A test_set_info_callback N/A N/A self N/A N/A N/A 
        :py:obj:`Context.set_info_callback` accepts a callable which will be invoked
        when certain information about an SSL connection is available.
         N/A N/A server client N/A socket_pair N/A clientSSL N/A Connection N/A Context TLSv1_METHOD client N/A N/A N/A clientSSL set_connect_state N/A called N/A info N/A N/A conn where ret N/A N/A N/A N/A N/A called append N/A conn where ret N/A N/A context N/A Context TLSv1_METHOD N/A N/A N/A context set_info_callback info N/A N/A N/A context use_certificate N/A load_certificate FILETYPE_PEM cleartextCertificatePEM N/A N/A N/A context use_privatekey N/A load_privatekey FILETYPE_PEM cleartextPrivateKeyPEM N/A serverSSL N/A Connection context server N/A N/A N/A serverSSL set_accept_state N/A N/A handshake clientSSL serverSSL N/A notConnections N/A conn N/A N/A conn where ret called N/A N/A isinstance conn Connection N/A N/A N/A self assertEqual N/A notConnections Some info callback arguments were not Connection instaces. N/A _load_verify_locations_test N/A N/A self N/A args N/A N/A 
        Create a client context which will verify the peer certificate and call
        its :py:obj:`load_verify_locations` method with the given arguments.
        Then connect it to a server and ensure that the handshake succeeds.
         N/A N/A server client N/A socket_pair N/A clientContext N/A Context TLSv1_METHOD N/A N/A N/A clientContext load_verify_locations args N/A N/A N/A clientContext set_verify VERIFY_PEER N/A N/A N/A conn cert errno depth preverify_ok N/A preverify_ok N/A clientSSL N/A Connection clientContext client N/A N/A N/A clientSSL set_connect_state N/A serverContext N/A Context TLSv1_METHOD N/A N/A N/A serverContext use_certificate N/A load_certificate FILETYPE_PEM cleartextCertificatePEM N/A N/A N/A serverContext use_privatekey N/A load_privatekey FILETYPE_PEM cleartextPrivateKeyPEM N/A serverSSL N/A Connection serverContext server N/A N/A N/A serverSSL set_accept_state N/A N/A handshake clientSSL serverSSL N/A cert N/A N/A clientSSL get_peer_certificate N/A N/A N/A self assertEqual N/A N/A N/A cert get_subject CN Testing Root CA N/A _load_verify_cafile N/A N/A self cafile N/A N/A N/A 
        Verify that if path to a file containing a certificate is passed to
        ``Context.load_verify_locations`` for the ``cafile`` parameter, that
        certificate is used as a trust root for the purposes of verifying
        connections created using that ``Context``.
         N/A fObj N/A open cafile w N/A N/A N/A fObj write N/A N/A cleartextCertificatePEM decode ascii N/A N/A N/A fObj close N/A N/A N/A self _load_verify_locations_test cafile N/A test_load_verify_bytes_cafile N/A N/A self N/A N/A N/A 
        :py:obj:`Context.load_verify_locations` accepts a file name as a
        ``bytes`` instance and uses the certificates within for verification
        purposes.
         N/A cafile N/A N/A N/A self mktemp N/A N/A NON_ASCII encode N/A getfilesystemencoding N/A N/A N/A self _load_verify_cafile cafile N/A test_load_verify_unicode_cafile N/A N/A self N/A N/A N/A 
        :py:obj:`Context.load_verify_locations` accepts a file name as a
        ``unicode`` instance and uses the certificates within for verification
        purposes.
         N/A N/A N/A self _load_verify_cafile N/A N/A N/A N/A N/A self mktemp decode N/A getfilesystemencoding NON_ASCII N/A test_load_verify_invalid_file N/A N/A self N/A N/A N/A 
        :py:obj:`Context.load_verify_locations` raises :py:obj:`Error` when passed a
        non-existent cafile.
         N/A clientContext N/A Context TLSv1_METHOD N/A N/A N/A self assertRaises Error N/A clientContext load_verify_locations N/A N/A self mktemp N/A _load_verify_directory_locations_capath N/A N/A self capath N/A N/A N/A 
        Verify that if path to a directory containing certificate files is
        passed to ``Context.load_verify_locations`` for the ``capath``
        parameter, those certificates are used as trust roots for the purposes
        of verifying connections created using that ``Context``.
         N/A N/A makedirs capath N/A name N/A c7adac82.0 c3705638.0 N/A N/A cafile N/A join_bytes_or_unicode capath name N/A N/A open cafile w fObj N/A N/A N/A N/A fObj write N/A N/A cleartextCertificatePEM decode ascii N/A N/A N/A self _load_verify_locations_test None capath N/A test_load_verify_directory_bytes_capath N/A N/A self N/A N/A N/A 
        :py:obj:`Context.load_verify_locations` accepts a directory name as a
        ``bytes`` instance and uses the certificates within for verification
        purposes.
         N/A N/A N/A self _load_verify_directory_locations_capath N/A N/A N/A self mktemp N/A N/A NON_ASCII encode N/A getfilesystemencoding N/A test_load_verify_directory_unicode_capath N/A N/A self N/A N/A N/A 
        :py:obj:`Context.load_verify_locations` accepts a directory name as a
        ``unicode`` instance and uses the certificates within for verification
        purposes.
         N/A N/A N/A self _load_verify_directory_locations_capath N/A N/A N/A N/A N/A self mktemp decode N/A getfilesystemencoding NON_ASCII N/A test_load_verify_locations_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Context.load_verify_locations` raises :py:obj:`TypeError` if called with
        the wrong number of arguments or with non-:py:obj:`str` arguments.
         N/A context N/A Context TLSv1_METHOD N/A N/A N/A self assertRaises TypeError N/A context load_verify_locations N/A N/A N/A self assertRaises TypeError N/A context load_verify_locations N/A object N/A N/A N/A self assertRaises TypeError N/A context load_verify_locations N/A object N/A object N/A N/A N/A self assertRaises TypeError N/A context load_verify_locations None None None N/A N/A N/A platform win32 N/A N/A set_default_verify_paths appears not to work on Windows.   N/A See LP#404343 and LP#404344. N/A test_set_default_verify_paths N/A N/A self N/A N/A N/A 
            :py:obj:`Context.set_default_verify_paths` causes the platform-specific CA
            certificate locations to be used for verification purposes.
             N/A context N/A Context TLSv1_METHOD N/A N/A N/A context set_default_verify_paths N/A N/A N/A context set_verify VERIFY_PEER N/A N/A N/A conn cert errno depth preverify_ok N/A preverify_ok N/A client N/A socket N/A N/A N/A client connect N/A verisign.com 443 N/A clientSSL N/A Connection context client N/A N/A N/A clientSSL set_connect_state N/A N/A N/A clientSSL do_handshake N/A N/A N/A clientSSL send GET / HTTP/1.0

 N/A N/A N/A self assertTrue N/A N/A clientSSL recv 1024 N/A test_set_default_verify_paths_signature N/A N/A self N/A N/A N/A 
        :py:obj:`Context.set_default_verify_paths` takes no arguments and raises
        :py:obj:`TypeError` if given any.
         N/A context N/A Context TLSv1_METHOD N/A N/A N/A self assertRaises TypeError N/A context set_default_verify_paths None N/A N/A N/A self assertRaises TypeError N/A context set_default_verify_paths 1 N/A N/A N/A self assertRaises TypeError N/A context set_default_verify_paths N/A test_add_extra_chain_cert_invalid_cert N/A N/A self N/A N/A N/A 
        :py:obj:`Context.add_extra_chain_cert` raises :py:obj:`TypeError` if called with
        other than one argument or if called with an object which is not an
        instance of :py:obj:`X509`.
         N/A context N/A Context TLSv1_METHOD N/A N/A N/A self assertRaises TypeError N/A context add_extra_chain_cert N/A N/A N/A self assertRaises TypeError N/A context add_extra_chain_cert N/A object N/A N/A N/A self assertRaises TypeError N/A context add_extra_chain_cert N/A object N/A object N/A _handshake_test N/A N/A self serverContext clientContext N/A N/A N/A 
        Verify that a client and server created with the given contexts can
        successfully handshake and communicate.
         N/A N/A serverSocket clientSocket N/A socket_pair N/A server N/A Connection serverContext serverSocket N/A N/A N/A server set_accept_state N/A client N/A Connection clientContext clientSocket N/A N/A N/A client set_connect_state N/A i N/A range 3 N/A N/A s N/A client server N/A N/A N/A N/A N/A N/A s do_handshake N/A N/A N/A WantReadError N/A N/A N/A test_set_verify_callback_connection_argument N/A N/A self N/A N/A N/A 
        The first argument passed to the verify callback is the
        :py:class:`Connection` instance for which verification is taking place.
         N/A serverContext N/A Context TLSv1_METHOD N/A N/A N/A serverContext use_privatekey N/A load_privatekey FILETYPE_PEM cleartextPrivateKeyPEM N/A N/A N/A serverContext use_certificate N/A load_certificate FILETYPE_PEM cleartextCertificatePEM N/A serverConnection N/A Connection serverContext None VerifyCallback N/A object N/A callback N/A N/A self connection N/A args N/A N/A N/A self connection connection N/A 1 N/A N/A N/A verify N/A VerifyCallback N/A clientContext N/A Context TLSv1_METHOD N/A N/A N/A clientContext set_verify VERIFY_PEER N/A verify callback N/A clientConnection N/A Connection clientContext None N/A N/A N/A clientConnection set_connect_state N/A N/A N/A self _handshakeInMemory clientConnection serverConnection N/A N/A N/A self assertIdentical N/A verify connection clientConnection N/A test_set_verify_callback_exception N/A N/A self N/A N/A N/A 
        If the verify callback passed to :py:obj:`Context.set_verify` raises an
        exception, verification fails and the exception is propagated to the
        caller of :py:obj:`Connection.do_handshake`.
         N/A serverContext N/A Context TLSv1_METHOD N/A N/A N/A serverContext use_privatekey N/A load_privatekey FILETYPE_PEM cleartextPrivateKeyPEM N/A N/A N/A serverContext use_certificate N/A load_certificate FILETYPE_PEM cleartextCertificatePEM N/A clientContext N/A Context TLSv1_METHOD verify_callback N/A N/A N/A args N/A N/A N/A Exception silly verify failure N/A N/A N/A N/A clientContext set_verify VERIFY_PEER verify_callback N/A exc N/A N/A self assertRaises Exception N/A self _handshake_test serverContext clientContext N/A N/A N/A self assertEqual silly verify failure N/A str exc N/A test_add_extra_chain_cert N/A N/A self N/A N/A N/A 
        :py:obj:`Context.add_extra_chain_cert` accepts an :py:obj:`X509` instance to add to
        the certificate chain.

        See :py:obj:`_create_certificate_chain` for the details of the certificate
        chain tested.

        The chain is tested by starting a server with scert and connecting
        to it with a client which trusts cacert and requires verification to
        succeed.
         N/A chain N/A _create_certificate_chain N/A N/A N/A cakey cacert N/A ikey icert N/A skey scert chain N/A N/A cert name N/A N/A cacert ca.pem N/A icert i.pem N/A scert s.pem N/A N/A fObj N/A open name w N/A N/A N/A fObj write N/A N/A N/A dump_certificate FILETYPE_PEM cert decode ascii N/A N/A N/A fObj close N/A N/A key name N/A N/A cakey ca.key N/A ikey i.key N/A skey s.key N/A N/A fObj N/A open name w N/A N/A N/A fObj write N/A N/A N/A dump_privatekey FILETYPE_PEM key decode ascii N/A N/A N/A fObj close N/A serverContext N/A Context TLSv1_METHOD N/A N/A N/A serverContext use_privatekey skey N/A N/A N/A serverContext use_certificate scert N/A N/A N/A serverContext add_extra_chain_cert icert N/A clientContext N/A Context TLSv1_METHOD N/A N/A N/A clientContext set_verify N/A VERIFY_PEER VERIFY_FAIL_IF_NO_PEER_CERT verify_cb N/A N/A N/A clientContext load_verify_locations ca.pem N/A N/A N/A self _handshake_test serverContext clientContext N/A _use_certificate_chain_file_test N/A N/A self certdir N/A N/A N/A 
        Verify that :py:obj:`Context.use_certificate_chain_file` reads a
        certificate chain from a specified file.

        The chain is tested by starting a server with scert and connecting to
        it with a client which trusts cacert and requires verification to
        succeed.
         N/A chain N/A _create_certificate_chain N/A N/A N/A cakey cacert N/A ikey icert N/A skey scert chain N/A N/A makedirs certdir N/A chainFile N/A join_bytes_or_unicode certdir chain.pem N/A caFile N/A join_bytes_or_unicode certdir ca.pem N/A N/A open chainFile wb fObj N/A N/A N/A N/A fObj write N/A dump_certificate FILETYPE_PEM scert N/A N/A N/A fObj write N/A dump_certificate FILETYPE_PEM icert N/A N/A N/A fObj write N/A dump_certificate FILETYPE_PEM cacert N/A N/A open caFile w fObj N/A N/A N/A N/A fObj write N/A N/A N/A dump_certificate FILETYPE_PEM cacert decode ascii N/A serverContext N/A Context TLSv1_METHOD N/A N/A N/A serverContext use_certificate_chain_file chainFile N/A N/A N/A serverContext use_privatekey skey N/A clientContext N/A Context TLSv1_METHOD N/A N/A N/A clientContext set_verify N/A VERIFY_PEER VERIFY_FAIL_IF_NO_PEER_CERT verify_cb N/A N/A N/A clientContext load_verify_locations caFile N/A N/A N/A self _handshake_test serverContext clientContext N/A test_use_certificate_chain_file_bytes N/A N/A self N/A N/A N/A 
        ``Context.use_certificate_chain_file`` accepts the name of a file (as
        an instance of ``bytes``) to specify additional certificates to use to
        construct and verify a trust chain.
         N/A N/A N/A self _use_certificate_chain_file_test N/A N/A N/A self mktemp N/A N/A NON_ASCII encode N/A getfilesystemencoding N/A test_use_certificate_chain_file_unicode N/A N/A self N/A N/A N/A 
        ``Context.use_certificate_chain_file`` accepts the name of a file (as
        an instance of ``unicode``) to specify additional certificates to use
        to construct and verify a trust chain.
         N/A N/A N/A self _use_certificate_chain_file_test N/A N/A N/A N/A N/A self mktemp decode N/A getfilesystemencoding NON_ASCII N/A test_use_certificate_chain_file_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Context.use_certificate_chain_file` raises :py:obj:`TypeError`
        if passed zero or more than one argument or when passed a non-byte
        string single argument.  It also raises :py:obj:`OpenSSL.SSL.Error` when
        passed a bad chain file name (for example, the name of a file which does
        not exist).
         N/A context N/A Context TLSv1_METHOD N/A N/A N/A self assertRaises TypeError N/A context use_certificate_chain_file N/A N/A N/A self assertRaises TypeError N/A context use_certificate_chain_file N/A object N/A N/A N/A self assertRaises TypeError N/A context use_certificate_chain_file foo N/A object N/A N/A N/A self assertRaises Error N/A context use_certificate_chain_file N/A N/A self mktemp N/A test_get_verify_mode_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Context.get_verify_mode` raises :py:obj:`TypeError` if called with any
        arguments.
         N/A context N/A Context TLSv1_METHOD N/A N/A N/A self assertRaises TypeError N/A context get_verify_mode None N/A test_set_verify_mode N/A N/A self N/A N/A N/A 
        :py:obj:`Context.get_verify_mode` returns the verify mode flags previously
        passed to :py:obj:`Context.set_verify`.
         N/A context N/A Context TLSv1_METHOD N/A N/A N/A self assertEquals N/A N/A context get_verify_mode 0 N/A N/A N/A context set_verify N/A VERIFY_PEER VERIFY_CLIENT_ONCE N/A N/A N/A N/A args None N/A N/A N/A self assertEquals N/A N/A context get_verify_mode N/A VERIFY_PEER VERIFY_CLIENT_ONCE N/A N/A N/A PY3 N/A test_set_verify_mode_long N/A N/A self N/A N/A N/A 
            On Python 2 :py:obj:`Context.set_verify_mode` accepts values of
            type :py:obj:`long` as well as :py:obj:`int`.
             N/A context N/A Context TLSv1_METHOD N/A N/A N/A self assertEquals N/A N/A context get_verify_mode 0 N/A N/A N/A context set_verify N/A long N/A VERIFY_PEER VERIFY_CLIENT_ONCE N/A N/A N/A N/A args None N/A N/A N/A self assertEquals N/A N/A context get_verify_mode N/A VERIFY_PEER VERIFY_CLIENT_ONCE N/A test_load_tmp_dh_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Context.load_tmp_dh` raises :py:obj:`TypeError` if called with the wrong
        number of arguments or with a non-:py:obj:`str` argument.
         N/A context N/A Context TLSv1_METHOD N/A N/A N/A self assertRaises TypeError N/A context load_tmp_dh N/A N/A N/A self assertRaises TypeError N/A context load_tmp_dh foo None N/A N/A N/A self assertRaises TypeError N/A context load_tmp_dh N/A object N/A test_load_tmp_dh_missing_file N/A N/A self N/A N/A N/A 
        :py:obj:`Context.load_tmp_dh` raises :py:obj:`OpenSSL.SSL.Error` if the specified file
        does not exist.
         N/A context N/A Context TLSv1_METHOD N/A N/A N/A self assertRaises Error N/A context load_tmp_dh hello N/A _load_tmp_dh_test N/A N/A self dhfilename N/A N/A N/A 
        Verify that calling ``Context.load_tmp_dh`` with the given filename
        does not raise an exception.
         N/A context N/A Context TLSv1_METHOD N/A N/A open dhfilename w dhfile N/A N/A N/A N/A dhfile write dhparam N/A N/A N/A context load_tmp_dh dhfilename N/A test_load_tmp_dh_bytes N/A N/A self N/A N/A N/A 
        :py:obj:`Context.load_tmp_dh` loads Diffie-Hellman parameters from the
        specified file (given as ``bytes``).
         N/A N/A N/A self _load_tmp_dh_test N/A N/A N/A self mktemp N/A N/A NON_ASCII encode N/A getfilesystemencoding N/A test_load_tmp_dh_unicode N/A N/A self N/A N/A N/A 
        :py:obj:`Context.load_tmp_dh` loads Diffie-Hellman parameters from the
        specified file (given as ``unicode``).
         N/A N/A N/A self _load_tmp_dh_test N/A N/A N/A N/A N/A self mktemp decode N/A getfilesystemencoding NON_ASCII N/A test_set_tmp_ecdh N/A N/A self N/A N/A N/A 
        :py:obj:`Context.set_tmp_ecdh` sets the elliptic curve for
        Diffie-Hellman to the specified curve.
         N/A context N/A Context TLSv1_METHOD N/A curve N/A get_elliptic_curves N/A N/A N/A N/A context set_tmp_ecdh curve N/A test_set_cipher_list_bytes N/A N/A self N/A N/A N/A 
        :py:obj:`Context.set_cipher_list` accepts a :py:obj:`bytes` naming the
        ciphers which connections created with the context object will be able
        to choose from.
         N/A context N/A Context TLSv1_METHOD N/A N/A N/A context set_cipher_list hello world:EXP-RC4-MD5 N/A conn N/A Connection context None N/A N/A N/A self assertEquals N/A N/A conn get_cipher_list N/A EXP-RC4-MD5 N/A test_set_cipher_list_text N/A N/A self N/A N/A N/A 
        :py:obj:`Context.set_cipher_list` accepts a :py:obj:`unicode` naming
        the ciphers which connections created with the context object will be
        able to choose from.
         N/A context N/A Context TLSv1_METHOD N/A N/A N/A context set_cipher_list N/A u hello world:EXP-RC4-MD5 N/A conn N/A Connection context None N/A N/A N/A self assertEquals N/A N/A conn get_cipher_list N/A EXP-RC4-MD5 N/A test_set_cipher_list_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Context.set_cipher_list` raises :py:obj:`TypeError` when
        passed zero arguments or more than one argument or when passed a
        non-string single argument and raises :py:obj:`OpenSSL.SSL.Error` when
        passed an incorrect cipher list string.
         N/A context N/A Context TLSv1_METHOD N/A N/A N/A self assertRaises TypeError N/A context set_cipher_list N/A N/A N/A self assertRaises TypeError N/A context set_cipher_list N/A object N/A N/A N/A self assertRaises TypeError N/A context set_cipher_list EXP-RC4-MD5 N/A object N/A N/A N/A self assertRaises Error N/A context set_cipher_list imaginary-cipher N/A test_set_session_cache_mode_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Context.set_session_cache_mode` raises :py:obj:`TypeError` if
        called with other than one integer argument.
         N/A context N/A Context TLSv1_METHOD N/A N/A N/A self assertRaises TypeError N/A context set_session_cache_mode N/A N/A N/A self assertRaises TypeError N/A context set_session_cache_mode N/A object N/A test_get_session_cache_mode_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Context.get_session_cache_mode` raises :py:obj:`TypeError` if
        called with any arguments.
         N/A context N/A Context TLSv1_METHOD N/A N/A N/A self assertRaises TypeError N/A context get_session_cache_mode 1 N/A test_session_cache_mode N/A N/A self N/A N/A N/A 
        :py:obj:`Context.set_session_cache_mode` specifies how sessions are
        cached.  The setting can be retrieved via
        :py:obj:`Context.get_session_cache_mode`.
         N/A context N/A Context TLSv1_METHOD N/A N/A N/A context set_session_cache_mode SESS_CACHE_OFF N/A off N/A N/A context set_session_cache_mode SESS_CACHE_BOTH N/A N/A N/A self assertEqual SESS_CACHE_OFF off N/A N/A N/A self assertEqual SESS_CACHE_BOTH N/A N/A context get_session_cache_mode N/A N/A N/A PY3 N/A test_session_cache_mode_long N/A N/A self N/A N/A N/A 
            On Python 2 :py:obj:`Context.set_session_cache_mode` accepts values
            of type :py:obj:`long` as well as :py:obj:`int`.
             N/A context N/A Context TLSv1_METHOD N/A N/A N/A context set_session_cache_mode N/A long SESS_CACHE_BOTH N/A N/A N/A self assertEqual SESS_CACHE_BOTH N/A N/A context get_session_cache_mode N/A test_get_cert_store N/A N/A self N/A N/A N/A 
        :py:obj:`Context.get_cert_store` returns a :py:obj:`X509Store` instance.
         N/A context N/A Context TLSv1_METHOD N/A store N/A N/A context get_cert_store N/A N/A N/A self assertIsInstance store X509Store N/A N/A ServerNameCallbackTests N/A TestCase _LoopbackMixin N/A N/A 
    Tests for :py:obj:`Context.set_tlsext_servername_callback` and its interaction with
    :py:obj:`Connection`.
     test_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Context.set_tlsext_servername_callback` raises :py:obj:`TypeError` if called
        with other than one argument.
         N/A context N/A Context TLSv1_METHOD N/A N/A N/A self assertRaises TypeError N/A context set_tlsext_servername_callback N/A N/A N/A self assertRaises TypeError N/A context set_tlsext_servername_callback 1 2 N/A test_old_callback_forgotten N/A N/A self N/A N/A N/A 
        If :py:obj:`Context.set_tlsext_servername_callback` is used to specify a new
        callback, the one it replaces is dereferenced.
         callback N/A N/A connection N/A N/A N/A N/A replacement N/A N/A connection N/A N/A N/A N/A N/A context N/A Context TLSv1_METHOD N/A N/A N/A context set_tlsext_servername_callback callback N/A tracker N/A ref callback N/A callback N/A N/A N/A context set_tlsext_servername_callback replacement N/A N/A collect N/A N/A collect N/A callback N/A tracker N/A N/A callback None N/A N/A referrers N/A get_referrers callback N/A N/A N/A len referrers 1 N/A N/A N/A N/A self fail N/A Some references remain: %r N/A referrers N/A test_no_servername N/A N/A self N/A N/A N/A 
        When a client specifies no server name, the callback passed to
        :py:obj:`Context.set_tlsext_servername_callback` is invoked and the result of
        :py:obj:`Connection.get_servername` is :py:obj:`None`.
         N/A args N/A servername N/A N/A conn N/A N/A N/A N/A N/A args append N/A conn N/A N/A conn get_servername N/A N/A context N/A Context TLSv1_METHOD N/A N/A N/A context set_tlsext_servername_callback servername N/A servername N/A N/A collect N/A N/A N/A context use_privatekey N/A load_privatekey FILETYPE_PEM server_key_pem N/A N/A N/A context use_certificate N/A load_certificate FILETYPE_PEM server_cert_pem N/A server N/A Connection context None N/A N/A N/A server set_accept_state N/A client N/A Connection N/A Context TLSv1_METHOD None N/A N/A N/A client set_connect_state N/A N/A N/A self _interactInMemory server client N/A N/A N/A self assertEqual N/A N/A server None args N/A test_servername N/A N/A self N/A N/A N/A 
        When a client specifies a server name in its hello message, the callback
        passed to :py:obj:`Contexts.set_tlsext_servername_callback` is invoked and the
        result of :py:obj:`Connection.get_servername` is that server name.
         N/A args N/A servername N/A N/A conn N/A N/A N/A N/A N/A args append N/A conn N/A N/A conn get_servername N/A N/A context N/A Context TLSv1_METHOD N/A N/A N/A context set_tlsext_servername_callback servername N/A N/A N/A context use_privatekey N/A load_privatekey FILETYPE_PEM server_key_pem N/A N/A N/A context use_certificate N/A load_certificate FILETYPE_PEM server_cert_pem N/A server N/A Connection context None N/A N/A N/A server set_accept_state N/A client N/A Connection N/A Context TLSv1_METHOD None N/A N/A N/A client set_connect_state N/A N/A N/A client set_tlsext_host_name N/A b foo1.example.com N/A N/A N/A self _interactInMemory server client N/A N/A N/A self assertEqual N/A N/A server N/A b foo1.example.com args N/A N/A NextProtoNegotiationTests N/A TestCase _LoopbackMixin N/A N/A 
    Test for Next Protocol Negotiation in PyOpenSSL.
     N/A N/A _lib Cryptography_HAS_NEXTPROTONEG N/A test_npn_success N/A N/A self N/A N/A N/A 
            Tests that clients and servers that agree on the negotiated next
            protocol can correct establish a connection, and that the agreed
            protocol is reported by the connections.
             N/A advertise_args N/A N/A select_args N/A advertise N/A N/A conn N/A N/A N/A N/A N/A advertise_args append N/A conn N/A N/A http/1.1 spdy/2 N/A select N/A N/A conn options N/A N/A N/A N/A N/A select_args append N/A conn options N/A spdy/2 N/A N/A server_context N/A Context TLSv1_METHOD N/A N/A N/A server_context set_npn_advertise_callback advertise N/A client_context N/A Context TLSv1_METHOD N/A N/A N/A client_context set_npn_select_callback select N/A N/A N/A server_context use_privatekey N/A load_privatekey FILETYPE_PEM server_key_pem N/A N/A N/A server_context use_certificate N/A load_certificate FILETYPE_PEM server_cert_pem N/A server N/A Connection server_context None N/A N/A N/A server set_accept_state N/A client N/A Connection client_context None N/A N/A N/A client set_connect_state N/A N/A N/A self _interactInMemory server client N/A N/A N/A self assertEqual N/A N/A server advertise_args N/A N/A N/A self assertEqual N/A N/A client N/A http/1.1 spdy/2 select_args N/A N/A N/A self assertEqual N/A N/A server get_next_proto_negotiated spdy/2 N/A N/A N/A self assertEqual N/A N/A client get_next_proto_negotiated spdy/2 N/A test_npn_client_fail N/A N/A self N/A N/A N/A 
            Tests that when clients and servers cannot agree on what protocol
            to use next that the TLS connection does not get established.
             N/A advertise_args N/A N/A select_args N/A advertise N/A N/A conn N/A N/A N/A N/A N/A advertise_args append N/A conn N/A N/A http/1.1 spdy/2 N/A select N/A N/A conn options N/A N/A N/A N/A N/A select_args append N/A conn options N/A N/A N/A server_context N/A Context TLSv1_METHOD N/A N/A N/A server_context set_npn_advertise_callback advertise N/A client_context N/A Context TLSv1_METHOD N/A N/A N/A client_context set_npn_select_callback select N/A N/A N/A server_context use_privatekey N/A load_privatekey FILETYPE_PEM server_key_pem N/A N/A N/A server_context use_certificate N/A load_certificate FILETYPE_PEM server_cert_pem N/A server N/A Connection server_context None N/A N/A N/A server set_accept_state N/A client N/A Connection client_context None N/A N/A N/A client set_connect_state N/A N/A N/A self assertRaises Error N/A self _interactInMemory server client N/A N/A N/A self assertEqual N/A N/A server advertise_args N/A N/A N/A self assertEqual N/A N/A client N/A http/1.1 spdy/2 select_args N/A test_npn_select_error N/A N/A self N/A N/A N/A 
            Test that we can handle exceptions in the select callback. If
            select fails it should be fatal to the connection.
             N/A advertise_args N/A advertise N/A N/A conn N/A N/A N/A N/A N/A advertise_args append N/A conn N/A N/A http/1.1 spdy/2 N/A select N/A N/A conn options N/A N/A N/A TypeError N/A N/A server_context N/A Context TLSv1_METHOD N/A N/A N/A server_context set_npn_advertise_callback advertise N/A client_context N/A Context TLSv1_METHOD N/A N/A N/A client_context set_npn_select_callback select N/A N/A N/A server_context use_privatekey N/A load_privatekey FILETYPE_PEM server_key_pem N/A N/A N/A server_context use_certificate N/A load_certificate FILETYPE_PEM server_cert_pem N/A server N/A Connection server_context None N/A N/A N/A server set_accept_state N/A client N/A Connection client_context None N/A N/A N/A client set_connect_state N/A N/A N/A self assertRaises TypeError N/A self _interactInMemory server client N/A N/A N/A self assertEqual N/A N/A server advertise_args N/A test_npn_advertise_error N/A N/A self N/A N/A N/A 
            Test that we can handle exceptions in the advertise callback. If
            advertise fails no NPN is advertised to the client.
             N/A select_args N/A advertise N/A N/A conn N/A N/A N/A TypeError N/A select N/A N/A conn options N/A N/A N/A N/A N/A select_args append N/A conn options N/A N/A N/A server_context N/A Context TLSv1_METHOD N/A N/A N/A server_context set_npn_advertise_callback advertise N/A client_context N/A Context TLSv1_METHOD N/A N/A N/A client_context set_npn_select_callback select N/A N/A N/A server_context use_privatekey N/A load_privatekey FILETYPE_PEM server_key_pem N/A N/A N/A server_context use_certificate N/A load_certificate FILETYPE_PEM server_cert_pem N/A server N/A Connection server_context None N/A N/A N/A server set_accept_state N/A client N/A Connection client_context None N/A N/A N/A client set_connect_state N/A N/A N/A self assertRaises TypeError N/A self _interactInMemory server client N/A N/A N/A self assertEqual N/A select_args N/A N/A test_npn_not_implemented N/A N/A self N/A N/A N/A context N/A Context TLSv1_METHOD N/A fail_methods N/A N/A context set_npn_advertise_callback N/A context set_npn_select_callback N/A method fail_methods N/A N/A N/A N/A self assertRaises NotImplementedError method None N/A conn N/A Connection context N/A fail_methods N/A N/A conn get_next_proto_negotiated N/A method fail_methods N/A N/A N/A N/A self assertRaises NotImplementedError method N/A N/A ApplicationLayerProtoNegotiationTests N/A TestCase _LoopbackMixin N/A N/A 
    Tests for ALPN in PyOpenSSL.
     N/A N/A _lib Cryptography_HAS_ALPN N/A test_alpn_success N/A N/A self N/A N/A N/A 
            Clients and servers that agree on the negotiated ALPN protocol can
            correct establish a connection, and the agreed protocol is reported
            by the connections.
             N/A select_args N/A select N/A N/A conn options N/A N/A N/A N/A N/A select_args append N/A conn options N/A spdy/2 N/A N/A client_context N/A Context TLSv1_METHOD N/A N/A N/A client_context set_alpn_protos N/A http/1.1 spdy/2 N/A server_context N/A Context TLSv1_METHOD N/A N/A N/A server_context set_alpn_select_callback select N/A N/A N/A server_context use_privatekey N/A load_privatekey FILETYPE_PEM server_key_pem N/A N/A N/A server_context use_certificate N/A load_certificate FILETYPE_PEM server_cert_pem N/A server N/A Connection server_context None N/A N/A N/A server set_accept_state N/A client N/A Connection client_context None N/A N/A N/A client set_connect_state N/A N/A N/A self _interactInMemory server client N/A N/A N/A self assertEqual N/A N/A server N/A http/1.1 spdy/2 select_args N/A N/A N/A self assertEqual N/A N/A server get_alpn_proto_negotiated spdy/2 N/A N/A N/A self assertEqual N/A N/A client get_alpn_proto_negotiated spdy/2 N/A test_alpn_set_on_connection N/A N/A self N/A N/A N/A 
            The same as test_alpn_success, but setting the ALPN protocols on
            the connection rather than the context.
             N/A select_args N/A select N/A N/A conn options N/A N/A N/A N/A N/A select_args append N/A conn options N/A spdy/2 N/A N/A client_context N/A Context TLSv1_METHOD N/A server_context N/A Context TLSv1_METHOD N/A N/A N/A server_context set_alpn_select_callback select N/A N/A N/A server_context use_privatekey N/A load_privatekey FILETYPE_PEM server_key_pem N/A N/A N/A server_context use_certificate N/A load_certificate FILETYPE_PEM server_cert_pem N/A server N/A Connection server_context None N/A N/A N/A server set_accept_state N/A client N/A Connection client_context None N/A N/A N/A client set_alpn_protos N/A http/1.1 spdy/2 N/A N/A N/A client set_connect_state N/A N/A N/A self _interactInMemory server client N/A N/A N/A self assertEqual N/A N/A server N/A http/1.1 spdy/2 select_args N/A N/A N/A self assertEqual N/A N/A server get_alpn_proto_negotiated spdy/2 N/A N/A N/A self assertEqual N/A N/A client get_alpn_proto_negotiated spdy/2 N/A test_alpn_server_fail N/A N/A self N/A N/A N/A 
            When clients and servers cannot agree on what protocol to use next
            the TLS connection does not get established.
             N/A select_args N/A select N/A N/A conn options N/A N/A N/A N/A N/A select_args append N/A conn options N/A N/A N/A client_context N/A Context TLSv1_METHOD N/A N/A N/A client_context set_alpn_protos N/A http/1.1 spdy/2 N/A server_context N/A Context TLSv1_METHOD N/A N/A N/A server_context set_alpn_select_callback select N/A N/A N/A server_context use_privatekey N/A load_privatekey FILETYPE_PEM server_key_pem N/A N/A N/A server_context use_certificate N/A load_certificate FILETYPE_PEM server_cert_pem N/A server N/A Connection server_context None N/A N/A N/A server set_accept_state N/A client N/A Connection client_context None N/A N/A N/A client set_connect_state N/A N/A N/A self assertRaises Error N/A self _interactInMemory server client N/A N/A N/A self assertEqual N/A N/A server N/A http/1.1 spdy/2 select_args N/A test_alpn_no_server N/A N/A self N/A N/A N/A 
            When clients and servers cannot agree on what protocol to use next
            because the server doesn't offer ALPN, no protocol is negotiated.
             N/A client_context N/A Context TLSv1_METHOD N/A N/A N/A client_context set_alpn_protos N/A http/1.1 spdy/2 N/A server_context N/A Context TLSv1_METHOD N/A N/A N/A server_context use_privatekey N/A load_privatekey FILETYPE_PEM server_key_pem N/A N/A N/A server_context use_certificate N/A load_certificate FILETYPE_PEM server_cert_pem N/A server N/A Connection server_context None N/A N/A N/A server set_accept_state N/A client N/A Connection client_context None N/A N/A N/A client set_connect_state N/A N/A N/A self _interactInMemory server client N/A N/A N/A self assertEqual N/A N/A client get_alpn_proto_negotiated N/A test_alpn_callback_exception N/A N/A self N/A N/A N/A 
            We can handle exceptions in the ALPN select callback.
             N/A select_args N/A select N/A N/A conn options N/A N/A N/A N/A N/A select_args append N/A conn options N/A N/A TypeError N/A N/A client_context N/A Context TLSv1_METHOD N/A N/A N/A client_context set_alpn_protos N/A http/1.1 spdy/2 N/A server_context N/A Context TLSv1_METHOD N/A N/A N/A server_context set_alpn_select_callback select N/A N/A N/A server_context use_privatekey N/A load_privatekey FILETYPE_PEM server_key_pem N/A N/A N/A server_context use_certificate N/A load_certificate FILETYPE_PEM server_cert_pem N/A server N/A Connection server_context None N/A N/A N/A server set_accept_state N/A client N/A Connection client_context None N/A N/A N/A client set_connect_state N/A N/A N/A self assertRaises TypeError N/A self _interactInMemory server client N/A N/A N/A self assertEqual N/A N/A server N/A http/1.1 spdy/2 select_args N/A N/A test_alpn_not_implemented N/A N/A self N/A N/A N/A 
            If ALPN is not in OpenSSL, we should raise NotImplementedError.
             N/A context N/A Context TLSv1_METHOD N/A N/A N/A self assertRaises NotImplementedError N/A context set_alpn_protos None N/A N/A N/A self assertRaises NotImplementedError N/A context set_alpn_select_callback None N/A conn N/A Connection context N/A N/A N/A self assertRaises NotImplementedError N/A context set_alpn_protos None N/A N/A SessionTests N/A TestCase N/A N/A 
    Unit tests for :py:obj:`OpenSSL.SSL.Session`.
     test_construction N/A N/A self N/A N/A N/A 
        :py:class:`Session` can be constructed with no arguments, creating a new
        instance of that type.
         N/A new_session N/A Session N/A N/A N/A self assertTrue N/A isinstance new_session Session N/A test_construction_wrong_args N/A N/A self N/A N/A N/A 
        If any arguments are passed to :py:class:`Session`, :py:obj:`TypeError`
        is raised.
         N/A N/A N/A self assertRaises TypeError Session 123 N/A N/A N/A self assertRaises TypeError Session hello N/A N/A N/A self assertRaises TypeError Session N/A object N/A N/A ConnectionTests N/A TestCase _LoopbackMixin N/A N/A 
    Unit tests for :py:obj:`OpenSSL.SSL.Connection`.
     test_type N/A N/A self N/A N/A N/A 
        :py:obj:`Connection` and :py:obj:`ConnectionType` refer to the same type object and
        can be used to create instances of that type.
         N/A N/A N/A self assertIdentical Connection ConnectionType N/A ctx N/A Context TLSv1_METHOD N/A N/A N/A self assertConsistentType Connection Connection ctx None N/A test_get_context N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.get_context` returns the :py:obj:`Context` instance used to
        construct the :py:obj:`Connection` instance.
         N/A context N/A Context TLSv1_METHOD N/A connection N/A Connection context None N/A N/A N/A self assertIdentical N/A N/A connection get_context context N/A test_get_context_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.get_context` raises :py:obj:`TypeError` if called with any
        arguments.
         N/A connection N/A Connection N/A Context TLSv1_METHOD None N/A N/A N/A self assertRaises TypeError N/A connection get_context None N/A test_set_context_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.set_context` raises :py:obj:`TypeError` if called with a
        non-:py:obj:`Context` instance argument or with any number of arguments other
        than 1.
         N/A ctx N/A Context TLSv1_METHOD N/A connection N/A Connection ctx None N/A N/A N/A self assertRaises TypeError N/A connection set_context N/A N/A N/A self assertRaises TypeError N/A connection set_context N/A object N/A N/A N/A self assertRaises TypeError N/A connection set_context hello N/A N/A N/A self assertRaises TypeError N/A connection set_context 1 N/A N/A N/A self assertRaises TypeError N/A connection set_context 1 2 N/A N/A N/A self assertRaises TypeError N/A connection set_context N/A Context TLSv1_METHOD 2 N/A N/A N/A self assertIdentical ctx N/A N/A connection get_context N/A test_set_context N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.set_context` specifies a new :py:obj:`Context` instance to be used
        for the connection.
         N/A original N/A Context SSLv23_METHOD N/A replacement N/A Context TLSv1_METHOD N/A connection N/A Connection original None N/A N/A N/A connection set_context replacement N/A N/A N/A self assertIdentical replacement N/A N/A connection get_context N/A original replacement N/A N/A collect N/A test_set_tlsext_host_name_wrong_args N/A N/A self N/A N/A N/A 
        If :py:obj:`Connection.set_tlsext_host_name` is called with a non-byte string
        argument or a byte string with an embedded NUL or other than one
        argument, :py:obj:`TypeError` is raised.
         N/A conn N/A Connection N/A Context TLSv1_METHOD None N/A N/A N/A self assertRaises TypeError N/A conn set_tlsext_host_name N/A N/A N/A self assertRaises TypeError N/A conn set_tlsext_host_name N/A object N/A N/A N/A self assertRaises TypeError N/A conn set_tlsext_host_name 123 456 N/A N/A N/A self assertRaises TypeError N/A conn set_tlsext_host_name N/A b withnull N/A PY3 N/A N/A N/A N/A self assertRaises TypeError N/A conn set_tlsext_host_name N/A N/A N/A b example.com decode ascii N/A test_get_servername_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.get_servername` raises :py:obj:`TypeError` if called with any
        arguments.
         N/A connection N/A Connection N/A Context TLSv1_METHOD None N/A N/A N/A self assertRaises TypeError N/A connection get_servername N/A object N/A N/A N/A self assertRaises TypeError N/A connection get_servername 1 N/A N/A N/A self assertRaises TypeError N/A connection get_servername hello N/A test_pending N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.pending` returns the number of bytes available for
        immediate read.
         N/A connection N/A Connection N/A Context TLSv1_METHOD None N/A N/A N/A self assertEquals N/A N/A connection pending 0 N/A test_pending_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.pending` raises :py:obj:`TypeError` if called with any arguments.
         N/A connection N/A Connection N/A Context TLSv1_METHOD None N/A N/A N/A self assertRaises TypeError N/A connection pending None N/A test_connect_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.connect` raises :py:obj:`TypeError` if called with a non-address
        argument or with the wrong number of arguments.
         N/A connection N/A Connection N/A Context TLSv1_METHOD N/A socket N/A N/A N/A self assertRaises TypeError N/A connection connect None N/A N/A N/A self assertRaises TypeError N/A connection connect N/A N/A N/A self assertRaises TypeError N/A connection connect N/A 127.0.0.1 1 None N/A test_connect_refused N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.connect` raises :py:obj:`socket.error` if the underlying socket
        connect method raises it.
         N/A client N/A socket N/A context N/A Context TLSv1_METHOD N/A clientSSL N/A Connection context client N/A exc N/A N/A self assertRaises error N/A clientSSL connect N/A 127.0.0.1 1 N/A N/A N/A self assertEquals N/A N/A exc args N/A 0 ECONNREFUSED N/A test_connect N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.connect` establishes a connection to the specified address.
         N/A port N/A socket N/A N/A N/A port bind N/A 0 N/A N/A N/A port listen 3 N/A clientSSL N/A Connection N/A Context TLSv1_METHOD N/A socket N/A N/A N/A clientSSL connect N/A 127.0.0.1 N/A N/A N/A port getsockname N/A 1 N/A N/A N/A platform darwin N/A N/A connect_ex sometimes causes a kernel panic on OS X 10.6.4 N/A test_connect_ex N/A N/A self N/A N/A N/A 
            If there is a connection error, :py:obj:`Connection.connect_ex` returns the
            errno instead of raising an exception.
             N/A port N/A socket N/A N/A N/A port bind N/A 0 N/A N/A N/A port listen 3 N/A clientSSL N/A Connection N/A Context TLSv1_METHOD N/A socket N/A N/A N/A clientSSL setblocking False N/A result N/A N/A clientSSL connect_ex N/A N/A port getsockname N/A expected N/A EINPROGRESS EWOULDBLOCK N/A N/A N/A self assertTrue N/A result expected N/A %r not in %r N/A result expected N/A test_accept_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.accept` raises :py:obj:`TypeError` if called with any arguments.
         N/A connection N/A Connection N/A Context TLSv1_METHOD N/A socket N/A N/A N/A self assertRaises TypeError N/A connection accept None N/A test_accept N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.accept` accepts a pending connection attempt and returns a
        tuple of a new :py:obj:`Connection` (the accepted client) and the address the
        connection originated from.
         N/A ctx N/A Context TLSv1_METHOD N/A N/A N/A ctx use_privatekey N/A load_privatekey FILETYPE_PEM server_key_pem N/A N/A N/A ctx use_certificate N/A load_certificate FILETYPE_PEM server_cert_pem N/A port N/A socket N/A portSSL N/A Connection ctx port N/A N/A N/A portSSL bind N/A 0 N/A N/A N/A portSSL listen 3 N/A clientSSL N/A Connection N/A Context TLSv1_METHOD N/A socket N/A N/A N/A clientSSL connect N/A 127.0.0.1 N/A N/A N/A portSSL getsockname N/A 1 N/A N/A serverSSL address N/A N/A portSSL accept N/A N/A N/A self assertTrue N/A isinstance serverSSL Connection N/A N/A N/A self assertIdentical N/A N/A serverSSL get_context ctx N/A N/A N/A self assertEquals address N/A N/A clientSSL getsockname N/A test_shutdown_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.shutdown` raises :py:obj:`TypeError` if called with the wrong
        number of arguments or with arguments other than integers.
         N/A connection N/A Connection N/A Context TLSv1_METHOD None N/A N/A N/A self assertRaises TypeError N/A connection shutdown None N/A N/A N/A self assertRaises TypeError N/A connection get_shutdown None N/A N/A N/A self assertRaises TypeError N/A connection set_shutdown N/A N/A N/A self assertRaises TypeError N/A connection set_shutdown None N/A N/A N/A self assertRaises TypeError N/A connection set_shutdown 0 1 N/A test_shutdown N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.shutdown` performs an SSL-level connection shutdown.
         N/A N/A server client N/A N/A self _loopback N/A N/A N/A self assertFalse N/A N/A server shutdown N/A N/A N/A self assertEquals N/A N/A server get_shutdown SENT_SHUTDOWN N/A N/A N/A self assertRaises ZeroReturnError N/A client recv 1024 N/A N/A N/A self assertEquals N/A N/A client get_shutdown RECEIVED_SHUTDOWN N/A N/A N/A client shutdown N/A N/A N/A self assertEquals N/A N/A client get_shutdown N/A SENT_SHUTDOWN RECEIVED_SHUTDOWN N/A N/A N/A self assertRaises ZeroReturnError N/A server recv 1024 N/A N/A N/A self assertEquals N/A N/A server get_shutdown N/A SENT_SHUTDOWN RECEIVED_SHUTDOWN N/A test_shutdown_closed N/A N/A self N/A N/A N/A 
        If the underlying socket is closed, :py:obj:`Connection.shutdown` propagates the
        write error from the low level write call.
         N/A N/A server client N/A N/A self _loopback N/A N/A N/A server sock_shutdown 2 N/A exc N/A N/A self assertRaises SysCallError N/A server shutdown N/A N/A platform win32 N/A N/A N/A N/A self assertEqual N/A N/A exc args N/A 0 ESHUTDOWN N/A N/A N/A N/A self assertEqual N/A N/A exc args N/A 0 EPIPE N/A test_shutdown_truncated N/A N/A self N/A N/A N/A 
        If the underlying connection is truncated, :obj:`Connection.shutdown`
        raises an :obj:`Error`.
         N/A server_ctx N/A Context TLSv1_METHOD N/A client_ctx N/A Context TLSv1_METHOD N/A N/A N/A server_ctx use_privatekey N/A load_privatekey FILETYPE_PEM server_key_pem N/A N/A N/A server_ctx use_certificate N/A load_certificate FILETYPE_PEM server_cert_pem N/A server N/A Connection server_ctx None N/A client N/A Connection client_ctx None N/A N/A N/A self _handshakeInMemory client server N/A N/A N/A self assertEqual N/A N/A server shutdown False N/A N/A N/A self assertRaises WantReadError N/A server shutdown N/A N/A N/A server bio_shutdown N/A N/A N/A self assertRaises Error N/A server shutdown N/A test_set_shutdown N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.set_shutdown` sets the state of the SSL connection shutdown
        process.
         N/A connection N/A Connection N/A Context TLSv1_METHOD N/A socket N/A N/A N/A connection set_shutdown RECEIVED_SHUTDOWN N/A N/A N/A self assertEquals N/A N/A connection get_shutdown RECEIVED_SHUTDOWN N/A N/A N/A PY3 N/A test_set_shutdown_long N/A N/A self N/A N/A N/A 
            On Python 2 :py:obj:`Connection.set_shutdown` accepts an argument
            of type :py:obj:`long` as well as :py:obj:`int`.
             N/A connection N/A Connection N/A Context TLSv1_METHOD N/A socket N/A N/A N/A connection set_shutdown N/A long RECEIVED_SHUTDOWN N/A N/A N/A self assertEquals N/A N/A connection get_shutdown RECEIVED_SHUTDOWN N/A test_app_data_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.set_app_data` raises :py:obj:`TypeError` if called with other than
        one argument.  :py:obj:`Connection.get_app_data` raises :py:obj:`TypeError` if called
        with any arguments.
         N/A conn N/A Connection N/A Context TLSv1_METHOD None N/A N/A N/A self assertRaises TypeError N/A conn get_app_data None N/A N/A N/A self assertRaises TypeError N/A conn set_app_data N/A N/A N/A self assertRaises TypeError N/A conn set_app_data None None N/A test_app_data N/A N/A self N/A N/A N/A 
        Any object can be set as app data by passing it to
        :py:obj:`Connection.set_app_data` and later retrieved with
        :py:obj:`Connection.get_app_data`.
         N/A conn N/A Connection N/A Context TLSv1_METHOD None N/A app_data N/A object N/A N/A N/A conn set_app_data app_data N/A N/A N/A self assertIdentical N/A N/A conn get_app_data app_data N/A test_makefile N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.makefile` is not implemented and calling that method raises
        :py:obj:`NotImplementedError`.
         N/A conn N/A Connection N/A Context TLSv1_METHOD None N/A N/A N/A self assertRaises NotImplementedError N/A conn makefile N/A test_get_peer_cert_chain_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.get_peer_cert_chain` raises :py:obj:`TypeError` if called with any
        arguments.
         N/A conn N/A Connection N/A Context TLSv1_METHOD None N/A N/A N/A self assertRaises TypeError N/A conn get_peer_cert_chain 1 N/A N/A N/A self assertRaises TypeError N/A conn get_peer_cert_chain foo N/A N/A N/A self assertRaises TypeError N/A conn get_peer_cert_chain N/A object N/A N/A N/A self assertRaises TypeError N/A conn get_peer_cert_chain N/A N/A test_get_peer_cert_chain N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.get_peer_cert_chain` returns a list of certificates which
        the connected server returned for the certification verification.
         N/A chain N/A _create_certificate_chain N/A N/A N/A cakey cacert N/A ikey icert N/A skey scert chain N/A serverContext N/A Context TLSv1_METHOD N/A N/A N/A serverContext use_privatekey skey N/A N/A N/A serverContext use_certificate scert N/A N/A N/A serverContext add_extra_chain_cert icert N/A N/A N/A serverContext add_extra_chain_cert cacert N/A server N/A Connection serverContext None N/A N/A N/A server set_accept_state N/A clientContext N/A Context TLSv1_METHOD N/A N/A N/A clientContext set_verify VERIFY_NONE verify_cb N/A client N/A Connection clientContext None N/A N/A N/A client set_connect_state N/A N/A N/A self _interactInMemory client server N/A chain N/A N/A client get_peer_cert_chain N/A N/A N/A self assertEqual N/A len chain 3 N/A N/A N/A self assertEqual Server Certificate N/A N/A N/A N/A chain N/A 0 get_subject CN N/A N/A N/A self assertEqual Intermediate Certificate N/A N/A N/A N/A chain N/A 1 get_subject CN N/A N/A N/A self assertEqual Authority Certificate N/A N/A N/A N/A chain N/A 2 get_subject CN N/A test_get_peer_cert_chain_none N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.get_peer_cert_chain` returns :py:obj:`None` if the peer sends no
        certificate chain.
         N/A ctx N/A Context TLSv1_METHOD N/A N/A N/A ctx use_privatekey N/A load_privatekey FILETYPE_PEM server_key_pem N/A N/A N/A ctx use_certificate N/A load_certificate FILETYPE_PEM server_cert_pem N/A server N/A Connection ctx None N/A N/A N/A server set_accept_state N/A client N/A Connection N/A Context TLSv1_METHOD None N/A N/A N/A client set_connect_state N/A N/A N/A self _interactInMemory client server N/A N/A N/A self assertIdentical None N/A N/A server get_peer_cert_chain N/A test_get_session_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.get_session` raises :py:obj:`TypeError` if called
        with any arguments.
         N/A ctx N/A Context TLSv1_METHOD N/A server N/A Connection ctx None N/A N/A N/A self assertRaises TypeError N/A server get_session 123 N/A N/A N/A self assertRaises TypeError N/A server get_session hello N/A N/A N/A self assertRaises TypeError N/A server get_session N/A object N/A test_get_session_unconnected N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.get_session` returns :py:obj:`None` when used with
        an object which has not been connected.
         N/A ctx N/A Context TLSv1_METHOD N/A server N/A Connection ctx None N/A session N/A N/A server get_session N/A N/A N/A self assertIdentical None session N/A test_server_get_session N/A N/A self N/A N/A N/A 
        On the server side of a connection, :py:obj:`Connection.get_session`
        returns a :py:class:`Session` instance representing the SSL session for
        that connection.
         N/A N/A server client N/A N/A self _loopback N/A session N/A N/A server get_session N/A N/A N/A self assertIsInstance session Session N/A test_client_get_session N/A N/A self N/A N/A N/A 
        On the client side of a connection, :py:obj:`Connection.get_session`
        returns a :py:class:`Session` instance representing the SSL session for
        that connection.
         N/A N/A server client N/A N/A self _loopback N/A session N/A N/A client get_session N/A N/A N/A self assertIsInstance session Session N/A test_set_session_wrong_args N/A N/A self N/A N/A N/A 
        If called with an object that is not an instance of :py:class:`Session`,
        or with other than one argument, :py:obj:`Connection.set_session` raises
        :py:obj:`TypeError`.
         N/A ctx N/A Context TLSv1_METHOD N/A connection N/A Connection ctx None N/A N/A N/A self assertRaises TypeError N/A connection set_session N/A N/A N/A self assertRaises TypeError N/A connection set_session 123 N/A N/A N/A self assertRaises TypeError N/A connection set_session hello N/A N/A N/A self assertRaises TypeError N/A connection set_session N/A object N/A N/A N/A self assertRaises TypeError N/A connection set_session N/A Session N/A Session N/A test_client_set_session N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.set_session`, when used prior to a connection being
        established, accepts a :py:class:`Session` instance and causes an
        attempt to re-use the session it represents when the SSL handshake is
        performed.
         N/A key N/A load_privatekey FILETYPE_PEM server_key_pem N/A cert N/A load_certificate FILETYPE_PEM server_cert_pem N/A ctx N/A Context TLSv1_METHOD N/A N/A N/A ctx use_privatekey key N/A N/A N/A ctx use_certificate cert N/A N/A N/A ctx set_session_id unity-test makeServer N/A N/A socket N/A N/A N/A server N/A Connection ctx socket N/A N/A N/A server set_accept_state N/A server N/A N/A N/A originalServer originalClient N/A N/A self _loopback serverFactory makeServer N/A originalSession N/A N/A originalClient get_session makeClient N/A N/A socket N/A N/A N/A client N/A N/A self _loopbackClientFactory socket N/A N/A N/A client set_session originalSession N/A client N/A N/A N/A resumedServer resumedClient N/A N/A self _loopback serverFactory makeServer clientFactory makeClient N/A N/A N/A self assertEqual N/A N/A originalServer master_key N/A N/A resumedServer master_key N/A test_set_session_wrong_method N/A N/A self N/A N/A N/A 
        If :py:obj:`Connection.set_session` is passed a :py:class:`Session`
        instance associated with a context using a different SSL method than the
        :py:obj:`Connection` is using, a :py:class:`OpenSSL.SSL.Error` is
        raised.
         N/A key N/A load_privatekey FILETYPE_PEM server_key_pem N/A cert N/A load_certificate FILETYPE_PEM server_cert_pem N/A ctx N/A Context TLSv1_METHOD N/A N/A N/A ctx use_privatekey key N/A N/A N/A ctx use_certificate cert N/A N/A N/A ctx set_session_id unity-test makeServer N/A N/A socket N/A N/A N/A server N/A Connection ctx socket N/A N/A N/A server set_accept_state N/A server N/A N/A N/A originalServer originalClient N/A N/A self _loopback serverFactory makeServer N/A originalSession N/A N/A originalClient get_session makeClient N/A N/A socket N/A N/A N/A client N/A Connection N/A Context SSLv3_METHOD socket N/A N/A N/A client set_connect_state N/A N/A N/A client set_session originalSession N/A client N/A N/A N/A N/A self assertRaises Error N/A self _loopback clientFactory makeClient serverFactory makeServer N/A test_wantWriteError N/A N/A self N/A N/A N/A 
        :py:obj:`Connection` methods which generate output raise
        :py:obj:`OpenSSL.SSL.WantWriteError` if writing to the connection's BIO
        fail indicating a should-write state.
         N/A N/A client_socket server_socket N/A socket_pair N/A msg x N/A i N/A range N/A N/A 1024 1024 4 N/A N/A N/A N/A N/A N/A client_socket send msg N/A N/A N/A error N/A e N/A N/A N/A N/A e errno EWOULDBLOCK N/A N/A N/A N/A N/A N/A N/A self fail Failed to fill socket buffer, cannot test BIO want write N/A ctx N/A Context TLSv1_METHOD N/A conn N/A Connection ctx client_socket N/A N/A N/A conn set_connect_state N/A N/A N/A self assertRaises WantWriteError N/A conn do_handshake N/A test_get_finished_before_connect N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.get_finished` returns :py:obj:`None` before TLS
        handshake is completed.
         N/A ctx N/A Context TLSv1_METHOD N/A connection N/A Connection ctx None N/A N/A N/A self assertEqual N/A N/A connection get_finished None N/A test_get_peer_finished_before_connect N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.get_peer_finished` returns :py:obj:`None` before
        TLS handshake is completed.
         N/A ctx N/A Context TLSv1_METHOD N/A connection N/A Connection ctx None N/A N/A N/A self assertEqual N/A N/A connection get_peer_finished None N/A test_get_finished N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.get_finished` method returns the TLS Finished
        message send from client, or server. Finished messages are send during
        TLS handshake.
         N/A N/A server client N/A N/A self _loopback N/A N/A N/A self assertNotEqual N/A N/A server get_finished None N/A N/A N/A self assertTrue N/A N/A len N/A N/A server get_finished 0 N/A test_get_peer_finished N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.get_peer_finished` method returns the TLS Finished
        message received from client, or server. Finished messages are send
        during TLS handshake.
         N/A N/A server client N/A N/A self _loopback N/A N/A N/A self assertNotEqual N/A N/A server get_peer_finished None N/A N/A N/A self assertTrue N/A N/A len N/A N/A server get_peer_finished 0 N/A test_tls_finished_message_symmetry N/A N/A self N/A N/A N/A 
        The TLS Finished message send by server must be the TLS Finished message
        received by client.

        The TLS Finished message send by client must be the TLS Finished message
        received by server.
         N/A N/A server client N/A N/A self _loopback N/A N/A N/A self assertEqual N/A N/A server get_finished N/A N/A client get_peer_finished N/A N/A N/A self assertEqual N/A N/A client get_finished N/A N/A server get_peer_finished N/A test_get_cipher_name_before_connect N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.get_cipher_name` returns :py:obj:`None` if no
        connection has been established.
         N/A ctx N/A Context TLSv1_METHOD N/A conn N/A Connection ctx None N/A N/A N/A self assertIdentical N/A N/A conn get_cipher_name None N/A test_get_cipher_name N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.get_cipher_name` returns a :py:class:`unicode`
        string giving the name of the currently used cipher.
         N/A N/A server client N/A N/A self _loopback N/A N/A server_cipher_name client_cipher_name N/A N/A N/A server get_cipher_name N/A N/A client get_cipher_name N/A N/A N/A self assertIsInstance server_cipher_name text_type N/A N/A N/A self assertIsInstance client_cipher_name text_type N/A N/A N/A self assertEqual server_cipher_name client_cipher_name N/A test_get_cipher_version_before_connect N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.get_cipher_version` returns :py:obj:`None` if no
        connection has been established.
         N/A ctx N/A Context TLSv1_METHOD N/A conn N/A Connection ctx None N/A N/A N/A self assertIdentical N/A N/A conn get_cipher_version None N/A test_get_cipher_version N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.get_cipher_version` returns a :py:class:`unicode`
        string giving the protocol name of the currently used cipher.
         N/A N/A server client N/A N/A self _loopback N/A N/A server_cipher_version client_cipher_version N/A N/A N/A server get_cipher_version N/A N/A client get_cipher_version N/A N/A N/A self assertIsInstance server_cipher_version text_type N/A N/A N/A self assertIsInstance client_cipher_version text_type N/A N/A N/A self assertEqual server_cipher_version client_cipher_version N/A test_get_cipher_bits_before_connect N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.get_cipher_bits` returns :py:obj:`None` if no
        connection has been established.
         N/A ctx N/A Context TLSv1_METHOD N/A conn N/A Connection ctx None N/A N/A N/A self assertIdentical N/A N/A conn get_cipher_bits None N/A test_get_cipher_bits N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.get_cipher_bits` returns the number of secret bits
        of the currently used cipher.
         N/A N/A server client N/A N/A self _loopback N/A N/A server_cipher_bits client_cipher_bits N/A N/A N/A server get_cipher_bits N/A N/A client get_cipher_bits N/A N/A N/A self assertIsInstance server_cipher_bits int N/A N/A N/A self assertIsInstance client_cipher_bits int N/A N/A N/A self assertEqual server_cipher_bits client_cipher_bits N/A N/A ConnectionGetCipherListTests N/A TestCase N/A N/A 
    Tests for :py:obj:`Connection.get_cipher_list`.
     test_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.get_cipher_list` raises :py:obj:`TypeError` if called with any
        arguments.
         N/A connection N/A Connection N/A Context TLSv1_METHOD None N/A N/A N/A self assertRaises TypeError N/A connection get_cipher_list None N/A test_result N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.get_cipher_list` returns a :py:obj:`list` of
        :py:obj:`bytes` giving the names of the ciphers which might be used.
         N/A connection N/A Connection N/A Context TLSv1_METHOD None N/A ciphers N/A N/A connection get_cipher_list N/A N/A N/A self assertTrue N/A isinstance ciphers list N/A cipher ciphers N/A N/A N/A N/A self assertTrue N/A isinstance cipher str N/A N/A ConnectionSendTests N/A TestCase _LoopbackMixin N/A N/A 
    Tests for :py:obj:`Connection.send`
     test_wrong_args N/A N/A self N/A N/A N/A 
        When called with arguments other than string argument for its first
        parameter or more than two arguments, :py:obj:`Connection.send` raises
        :py:obj:`TypeError`.
         N/A connection N/A Connection N/A Context TLSv1_METHOD None N/A N/A N/A self assertRaises TypeError N/A connection send N/A N/A N/A self assertRaises TypeError N/A connection send N/A object N/A N/A N/A self assertRaises TypeError N/A connection send foo N/A object bar N/A test_short_bytes N/A N/A self N/A N/A N/A 
        When passed a short byte string, :py:obj:`Connection.send` transmits all of it
        and returns the number of bytes sent.
         N/A N/A server client N/A N/A self _loopback N/A count N/A N/A server send N/A b xy N/A N/A N/A self assertEquals count 2 N/A N/A N/A self assertEquals N/A N/A client recv 2 N/A b xy N/A test_text N/A N/A self N/A N/A N/A 
        When passed a text, :py:obj:`Connection.send` transmits all of it and
        returns the number of bytes sent. It also raises a DeprecationWarning.
         N/A N/A server client N/A N/A self _loopback N/A N/A catch_warnings record True w N/A N/A N/A simplefilter always N/A count N/A N/A server send N/A N/A xy decode ascii N/A N/A N/A self assertEqual N/A N/A {0} for buf is no longer accepted, use bytes format WARNING_TYPE_EXPECTED N/A str N/A N/A w N/A -1 message N/A N/A N/A self assertIs N/A N/A w N/A -1 category DeprecationWarning N/A N/A N/A self assertEquals count 2 N/A N/A N/A self assertEquals N/A N/A client recv 2 xy N/A N/A N/A N/A memoryview N/A N/A N/A NameError N/A N/A cannot test sending memoryview without memoryview N/A test_short_memoryview N/A N/A self N/A N/A N/A 
            When passed a memoryview onto a small number of bytes,
            :py:obj:`Connection.send` transmits all of them and returns the number of
            bytes sent.
             N/A N/A server client N/A N/A self _loopback N/A count N/A N/A server send N/A memoryview N/A b xy N/A N/A N/A self assertEquals count 2 N/A N/A N/A self assertEquals N/A N/A client recv 2 N/A b xy N/A N/A N/A N/A buffer N/A N/A N/A NameError N/A N/A cannot test sending buffer without buffer N/A test_short_buffer N/A N/A self N/A N/A N/A 
            When passed a buffer containing a small number of bytes,
            :py:obj:`Connection.send` transmits all of them and returns the number of
            bytes sent.
             N/A N/A server client N/A N/A self _loopback N/A count N/A N/A server send N/A buffer N/A b xy N/A N/A N/A self assertEquals count 2 N/A N/A N/A self assertEquals N/A N/A client recv 2 N/A b xy N/A N/A _make_memoryview N/A N/A size N/A N/A N/A 
    Create a new ``memoryview`` wrapped around a ``bytearray`` of the given
    size.
     N/A N/A memoryview N/A bytearray size N/A ConnectionRecvIntoTests N/A TestCase _LoopbackMixin N/A N/A 
    Tests for :py:obj:`Connection.recv_into`
     _no_length_test N/A N/A self factory N/A N/A N/A 
        Assert that when the given buffer is passed to
        ``Connection.recv_into``, whatever bytes are available to be received
        that fit into that buffer are written into that buffer.
         N/A output_buffer N/A factory 5 N/A N/A server client N/A N/A self _loopback N/A N/A N/A server send N/A b xy N/A N/A N/A self assertEqual N/A N/A client recv_into output_buffer 2 N/A N/A N/A self assertEqual output_buffer N/A bytearray N/A b xy N/A test_bytearray_no_length N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.recv_into` can be passed a ``bytearray`` instance
        and data in the receive buffer is written to it.
         N/A N/A N/A self _no_length_test bytearray N/A _respects_length_test N/A N/A self factory N/A N/A N/A 
        Assert that when the given buffer is passed to ``Connection.recv_into``
        along with a value for ``nbytes`` that is less than the size of that
        buffer, only ``nbytes`` bytes are written into the buffer.
         N/A output_buffer N/A factory 10 N/A N/A server client N/A N/A self _loopback N/A N/A N/A server send N/A b abcdefghij N/A N/A N/A self assertEqual N/A N/A client recv_into output_buffer 5 5 N/A N/A N/A self assertEqual output_buffer N/A bytearray N/A b abcde N/A test_bytearray_respects_length N/A N/A self N/A N/A N/A 
        When called with a ``bytearray`` instance,
        :py:obj:`Connection.recv_into` respects the ``nbytes`` parameter and
        doesn't copy in more than that number of bytes.
         N/A N/A N/A self _respects_length_test bytearray N/A _doesnt_overfill_test N/A N/A self factory N/A N/A N/A 
        Assert that if there are more bytes available to be read from the
        receive buffer than would fit into the buffer passed to
        :py:obj:`Connection.recv_into`, only as many as fit are written into
        it.
         N/A output_buffer N/A factory 5 N/A N/A server client N/A N/A self _loopback N/A N/A N/A server send N/A b abcdefghij N/A N/A N/A self assertEqual N/A N/A client recv_into output_buffer 5 N/A N/A N/A self assertEqual output_buffer N/A bytearray N/A b abcde N/A rest N/A N/A client recv 5 N/A N/A N/A self assertEqual N/A b fghij rest N/A test_bytearray_doesnt_overfill N/A N/A self N/A N/A N/A 
        When called with a ``bytearray`` instance,
        :py:obj:`Connection.recv_into` respects the size of the array and
        doesn't write more bytes into it than will fit.
         N/A N/A N/A self _doesnt_overfill_test bytearray N/A _really_doesnt_overfill_test N/A N/A self factory N/A N/A N/A 
        Assert that if the value given by ``nbytes`` is greater than the actual
        size of the output buffer passed to :py:obj:`Connection.recv_into`, the
        behavior is as if no value was given for ``nbytes`` at all.
         N/A output_buffer N/A factory 5 N/A N/A server client N/A N/A self _loopback N/A N/A N/A server send N/A b abcdefghij N/A N/A N/A self assertEqual N/A N/A client recv_into output_buffer 50 5 N/A N/A N/A self assertEqual output_buffer N/A bytearray N/A b abcde N/A rest N/A N/A client recv 5 N/A N/A N/A self assertEqual N/A b fghij rest N/A test_bytearray_really_doesnt_overfill N/A N/A self N/A N/A N/A 
        When called with a ``bytearray`` instance and an ``nbytes`` value that
        is too large, :py:obj:`Connection.recv_into` respects the size of the
        array and not the ``nbytes`` value and doesn't write more bytes into
        the buffer than will fit.
         N/A N/A N/A self _doesnt_overfill_test bytearray N/A N/A N/A N/A memoryview N/A N/A N/A NameError N/A N/A cannot test recv_into memoryview without memoryview N/A test_memoryview_no_length N/A N/A self N/A N/A N/A 
            :py:obj:`Connection.recv_into` can be passed a ``memoryview``
            instance and data in the receive buffer is written to it.
             N/A N/A N/A self _no_length_test _make_memoryview N/A test_memoryview_respects_length N/A N/A self N/A N/A N/A 
            When called with a ``memoryview`` instance,
            :py:obj:`Connection.recv_into` respects the ``nbytes`` parameter
            and doesn't copy more than that number of bytes in.
             N/A N/A N/A self _respects_length_test _make_memoryview N/A test_memoryview_doesnt_overfill N/A N/A self N/A N/A N/A 
            When called with a ``memoryview`` instance,
            :py:obj:`Connection.recv_into` respects the size of the array and
            doesn't write more bytes into it than will fit.
             N/A N/A N/A self _doesnt_overfill_test _make_memoryview N/A test_memoryview_really_doesnt_overfill N/A N/A self N/A N/A N/A 
            When called with a ``memoryview`` instance and an ``nbytes`` value
            that is too large, :py:obj:`Connection.recv_into` respects the size
            of the array and not the ``nbytes`` value and doesn't write more
            bytes into the buffer than will fit.
             N/A N/A N/A self _doesnt_overfill_test _make_memoryview N/A N/A ConnectionSendallTests N/A TestCase _LoopbackMixin N/A N/A 
    Tests for :py:obj:`Connection.sendall`.
     test_wrong_args N/A N/A self N/A N/A N/A 
        When called with arguments other than a string argument for its first
        parameter or with more than two arguments, :py:obj:`Connection.sendall`
        raises :py:obj:`TypeError`.
         N/A connection N/A Connection N/A Context TLSv1_METHOD None N/A N/A N/A self assertRaises TypeError N/A connection sendall N/A N/A N/A self assertRaises TypeError N/A connection sendall N/A object N/A N/A N/A self assertRaises TypeError N/A connection sendall foo N/A object bar N/A test_short N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.sendall` transmits all of the bytes in the string passed to
        it.
         N/A N/A server client N/A N/A self _loopback N/A N/A N/A server sendall N/A b x N/A N/A N/A self assertEquals N/A N/A client recv 1 N/A b x N/A test_text N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.sendall` transmits all the content in the string
        passed to it raising a DeprecationWarning in case of this being a text.
         N/A N/A server client N/A N/A self _loopback N/A N/A catch_warnings record True w N/A N/A N/A simplefilter always N/A N/A N/A server sendall N/A N/A x decode ascii N/A N/A N/A self assertEqual N/A N/A {0} for buf is no longer accepted, use bytes format WARNING_TYPE_EXPECTED N/A str N/A N/A w N/A -1 message N/A N/A N/A self assertIs N/A N/A w N/A -1 category DeprecationWarning N/A N/A N/A self assertEquals N/A N/A client recv 1 x N/A N/A N/A N/A memoryview N/A N/A N/A NameError N/A N/A cannot test sending memoryview without memoryview N/A test_short_memoryview N/A N/A self N/A N/A N/A 
            When passed a memoryview onto a small number of bytes,
            :py:obj:`Connection.sendall` transmits all of them.
             N/A N/A server client N/A N/A self _loopback N/A N/A N/A server sendall N/A memoryview N/A b x N/A N/A N/A self assertEquals N/A N/A client recv 1 N/A b x N/A N/A N/A N/A buffer N/A N/A N/A NameError N/A N/A cannot test sending buffers without buffers N/A test_short_buffers N/A N/A self N/A N/A N/A 
            When passed a buffer containing a small number of bytes,
            :py:obj:`Connection.sendall` transmits all of them.
             N/A N/A server client N/A N/A self _loopback N/A N/A N/A server sendall N/A buffer N/A b x N/A N/A N/A self assertEquals N/A N/A client recv 1 N/A b x N/A test_long N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.sendall` transmits all of the bytes in the string passed to
        it even if this requires multiple calls of an underlying write function.
         N/A N/A server client N/A N/A self _loopback N/A message N/A N/A N/A b x N/A N/A 1024 32 1 N/A b y N/A N/A N/A server sendall message N/A accum N/A N/A received 0 N/A N/A received N/A len message N/A N/A data N/A N/A client recv 1024 N/A N/A N/A accum append data N/A received N/A len data N/A N/A N/A self assertEquals message N/A N/A N/A b join accum N/A test_closed N/A N/A self N/A N/A N/A 
        If the underlying socket is closed, :py:obj:`Connection.sendall` propagates the
        write error from the low level write call.
         N/A N/A server client N/A N/A self _loopback N/A N/A N/A server sock_shutdown 2 N/A exc N/A N/A self assertRaises SysCallError N/A server sendall hello, world N/A N/A platform win32 N/A N/A N/A N/A self assertEqual N/A N/A exc args N/A 0 ESHUTDOWN N/A N/A N/A N/A self assertEqual N/A N/A exc args N/A 0 EPIPE N/A N/A ConnectionRenegotiateTests N/A TestCase _LoopbackMixin N/A N/A 
    Tests for SSL renegotiation APIs.
     test_renegotiate_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.renegotiate` raises :py:obj:`TypeError` if called with any
        arguments.
         N/A connection N/A Connection N/A Context TLSv1_METHOD None N/A N/A N/A self assertRaises TypeError N/A connection renegotiate None N/A test_total_renegotiations_wrong_args N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.total_renegotiations` raises :py:obj:`TypeError` if called with
        any arguments.
         N/A connection N/A Connection N/A Context TLSv1_METHOD None N/A N/A N/A self assertRaises TypeError N/A connection total_renegotiations None N/A test_total_renegotiations N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.total_renegotiations` returns :py:obj:`0` before any
        renegotiations have happened.
         N/A connection N/A Connection N/A Context TLSv1_METHOD None N/A N/A N/A self assertEquals N/A N/A connection total_renegotiations 0 N/A N/A ErrorTests N/A TestCase N/A N/A 
    Unit tests for :py:obj:`OpenSSL.SSL.Error`.
     test_type N/A N/A self N/A N/A N/A 
        :py:obj:`Error` is an exception type.
         N/A N/A N/A self assertTrue N/A issubclass Error Exception N/A N/A N/A self assertEqual N/A Error __name__ Error N/A N/A ConstantsTests N/A TestCase N/A N/A 
    Tests for the values of constants exposed in :py:obj:`OpenSSL.SSL`.

    These are values defined by OpenSSL intended only to be used as flags to
    OpenSSL APIs.  The only assertions it seems can be made about them is
    their values.
     N/A N/A OP_NO_QUERY_MTU None N/A test_op_no_query_mtu N/A N/A self N/A N/A N/A 
            The value of :py:obj:`OpenSSL.SSL.OP_NO_QUERY_MTU` is 0x1000, the value of
            :py:const:`SSL_OP_NO_QUERY_MTU` defined by :file:`openssl/ssl.h`.
             N/A N/A N/A self assertEqual OP_NO_QUERY_MTU 4096 N/A N/A N/A OP_NO_QUERY_MTU unavailable - OpenSSL version may be too old N/A N/A OP_COOKIE_EXCHANGE None N/A test_op_cookie_exchange N/A N/A self N/A N/A N/A 
            The value of :py:obj:`OpenSSL.SSL.OP_COOKIE_EXCHANGE` is 0x2000, the value
            of :py:const:`SSL_OP_COOKIE_EXCHANGE` defined by :file:`openssl/ssl.h`.
             N/A N/A N/A self assertEqual OP_COOKIE_EXCHANGE 8192 N/A N/A N/A OP_COOKIE_EXCHANGE unavailable - OpenSSL version may be too old N/A N/A OP_NO_TICKET None N/A test_op_no_ticket N/A N/A self N/A N/A N/A 
            The value of :py:obj:`OpenSSL.SSL.OP_NO_TICKET` is 0x4000, the value of
            :py:const:`SSL_OP_NO_TICKET` defined by :file:`openssl/ssl.h`.
             N/A N/A N/A self assertEqual OP_NO_TICKET 16384 N/A N/A N/A OP_NO_TICKET unavailable - OpenSSL version may be too old N/A N/A OP_NO_COMPRESSION None N/A test_op_no_compression N/A N/A self N/A N/A N/A 
            The value of :py:obj:`OpenSSL.SSL.OP_NO_COMPRESSION` is 0x20000, the value
            of :py:const:`SSL_OP_NO_COMPRESSION` defined by :file:`openssl/ssl.h`.
             N/A N/A N/A self assertEqual OP_NO_COMPRESSION 131072 N/A N/A N/A OP_NO_COMPRESSION unavailable - OpenSSL version may be too old test_sess_cache_off N/A N/A self N/A N/A N/A 
        The value of :py:obj:`OpenSSL.SSL.SESS_CACHE_OFF` 0x0, the value of
        :py:obj:`SSL_SESS_CACHE_OFF` defined by ``openssl/ssl.h``.
         N/A N/A N/A self assertEqual 0 SESS_CACHE_OFF N/A test_sess_cache_client N/A N/A self N/A N/A N/A 
        The value of :py:obj:`OpenSSL.SSL.SESS_CACHE_CLIENT` 0x1, the value of
        :py:obj:`SSL_SESS_CACHE_CLIENT` defined by ``openssl/ssl.h``.
         N/A N/A N/A self assertEqual 1 SESS_CACHE_CLIENT N/A test_sess_cache_server N/A N/A self N/A N/A N/A 
        The value of :py:obj:`OpenSSL.SSL.SESS_CACHE_SERVER` 0x2, the value of
        :py:obj:`SSL_SESS_CACHE_SERVER` defined by ``openssl/ssl.h``.
         N/A N/A N/A self assertEqual 2 SESS_CACHE_SERVER N/A test_sess_cache_both N/A N/A self N/A N/A N/A 
        The value of :py:obj:`OpenSSL.SSL.SESS_CACHE_BOTH` 0x3, the value of
        :py:obj:`SSL_SESS_CACHE_BOTH` defined by ``openssl/ssl.h``.
         N/A N/A N/A self assertEqual 3 SESS_CACHE_BOTH N/A test_sess_cache_no_auto_clear N/A N/A self N/A N/A N/A 
        The value of :py:obj:`OpenSSL.SSL.SESS_CACHE_NO_AUTO_CLEAR` 0x80, the
        value of :py:obj:`SSL_SESS_CACHE_NO_AUTO_CLEAR` defined by
        ``openssl/ssl.h``.
         N/A N/A N/A self assertEqual 128 SESS_CACHE_NO_AUTO_CLEAR N/A test_sess_cache_no_internal_lookup N/A N/A self N/A N/A N/A 
        The value of :py:obj:`OpenSSL.SSL.SESS_CACHE_NO_INTERNAL_LOOKUP` 0x100,
        the value of :py:obj:`SSL_SESS_CACHE_NO_INTERNAL_LOOKUP` defined by
        ``openssl/ssl.h``.
         N/A N/A N/A self assertEqual 256 SESS_CACHE_NO_INTERNAL_LOOKUP N/A test_sess_cache_no_internal_store N/A N/A self N/A N/A N/A 
        The value of :py:obj:`OpenSSL.SSL.SESS_CACHE_NO_INTERNAL_STORE` 0x200,
        the value of :py:obj:`SSL_SESS_CACHE_NO_INTERNAL_STORE` defined by
        ``openssl/ssl.h``.
         N/A N/A N/A self assertEqual 512 SESS_CACHE_NO_INTERNAL_STORE N/A test_sess_cache_no_internal N/A N/A self N/A N/A N/A 
        The value of :py:obj:`OpenSSL.SSL.SESS_CACHE_NO_INTERNAL` 0x300, the
        value of :py:obj:`SSL_SESS_CACHE_NO_INTERNAL` defined by
        ``openssl/ssl.h``.
         N/A N/A N/A self assertEqual 768 SESS_CACHE_NO_INTERNAL N/A N/A MemoryBIOTests N/A TestCase _LoopbackMixin N/A N/A 
    Tests for :py:obj:`OpenSSL.SSL.Connection` using a memory BIO.
     _server N/A N/A self sock N/A N/A N/A 
        Create a new server-side SSL :py:obj:`Connection` object wrapped around
        :py:obj:`sock`.
         N/A server_ctx N/A Context TLSv1_METHOD N/A N/A N/A server_ctx set_options N/A N/A OP_NO_SSLv2 OP_NO_SSLv3 OP_SINGLE_DH_USE N/A N/A N/A server_ctx set_verify N/A N/A VERIFY_PEER VERIFY_FAIL_IF_NO_PEER_CERT VERIFY_CLIENT_ONCE verify_cb N/A server_store N/A N/A server_ctx get_cert_store N/A N/A N/A server_ctx use_privatekey N/A load_privatekey FILETYPE_PEM server_key_pem N/A N/A N/A server_ctx use_certificate N/A load_certificate FILETYPE_PEM server_cert_pem N/A N/A N/A server_ctx check_privatekey N/A N/A N/A server_store add_cert N/A load_certificate FILETYPE_PEM root_cert_pem N/A server_conn N/A Connection server_ctx sock N/A N/A N/A server_conn set_accept_state N/A server_conn N/A _client N/A N/A self sock N/A N/A N/A 
        Create a new client-side SSL :py:obj:`Connection` object wrapped around
        :py:obj:`sock`.
         N/A client_ctx N/A Context TLSv1_METHOD N/A N/A N/A client_ctx set_options N/A N/A OP_NO_SSLv2 OP_NO_SSLv3 OP_SINGLE_DH_USE N/A N/A N/A client_ctx set_verify N/A N/A VERIFY_PEER VERIFY_FAIL_IF_NO_PEER_CERT VERIFY_CLIENT_ONCE verify_cb N/A client_store N/A N/A client_ctx get_cert_store N/A N/A N/A client_ctx use_privatekey N/A load_privatekey FILETYPE_PEM client_key_pem N/A N/A N/A client_ctx use_certificate N/A load_certificate FILETYPE_PEM client_cert_pem N/A N/A N/A client_ctx check_privatekey N/A N/A N/A client_store add_cert N/A load_certificate FILETYPE_PEM root_cert_pem N/A client_conn N/A Connection client_ctx sock N/A N/A N/A client_conn set_connect_state N/A client_conn N/A test_memoryConnect N/A N/A self N/A N/A N/A 
        Two :py:obj:`Connection`s which use memory BIOs can be manually connected by
        reading from the output of each and writing those bytes to the input of
        the other and in this way establish a connection and exchange
        application-level bytes with each other.
         N/A server_conn N/A N/A self _server None N/A client_conn N/A N/A self _client None N/A N/A N/A self assertIdentical N/A N/A server_conn master_key None N/A N/A N/A self assertIdentical N/A N/A server_conn client_random None N/A N/A N/A self assertIdentical N/A N/A server_conn server_random None N/A N/A N/A self assertIdentical N/A N/A self _interactInMemory client_conn server_conn None N/A N/A N/A self assertNotIdentical N/A N/A server_conn master_key None N/A N/A N/A self assertNotIdentical N/A N/A server_conn client_random None N/A N/A N/A self assertNotIdentical N/A N/A server_conn server_random None N/A N/A N/A self assertEquals N/A N/A server_conn client_random N/A N/A client_conn client_random N/A N/A N/A self assertEquals N/A N/A server_conn server_random N/A N/A client_conn server_random N/A N/A N/A self assertNotEquals N/A N/A server_conn client_random N/A N/A server_conn server_random N/A N/A N/A self assertNotEquals N/A N/A client_conn client_random N/A N/A client_conn server_random N/A important_message N/A b One if by land, two if by sea. N/A N/A N/A server_conn write important_message N/A N/A N/A self assertEquals N/A N/A self _interactInMemory client_conn server_conn N/A client_conn important_message N/A N/A N/A client_conn write N/A important_message N/A -1 N/A N/A N/A self assertEquals N/A N/A self _interactInMemory client_conn server_conn N/A server_conn N/A important_message N/A -1 N/A test_socketConnect N/A N/A self N/A N/A N/A 
        Just like :py:obj:`test_memoryConnect` but with an actual socket.

        This is primarily to rule out the memory BIO code as the source of
        any problems encountered while passing data over a :py:obj:`Connection` (if
        this test fails, there must be a problem outside the memory BIO
        code, as no memory BIO is involved here).  Even though this isn't a
        memory BIO test, it's convenient to have it here.
         N/A N/A server_conn client_conn N/A N/A self _loopback N/A important_message N/A b Help me Obi Wan Kenobi, you're my only hope. N/A N/A N/A client_conn send important_message N/A msg N/A N/A server_conn recv 1024 N/A N/A N/A self assertEqual msg important_message N/A important_message N/A important_message N/A -1 N/A N/A N/A server_conn send important_message N/A msg N/A N/A client_conn recv 1024 N/A N/A N/A self assertEqual msg important_message N/A test_socketOverridesMemory N/A N/A self N/A N/A N/A 
        Test that :py:obj:`OpenSSL.SSL.bio_read` and :py:obj:`OpenSSL.SSL.bio_write` don't
        work on :py:obj:`OpenSSL.SSL.Connection`() that use sockets.
         N/A context N/A Context SSLv3_METHOD N/A client N/A socket N/A clientSSL N/A Connection context client N/A N/A N/A self assertRaises TypeError N/A clientSSL bio_read 100 N/A N/A N/A self assertRaises TypeError N/A clientSSL bio_write foo N/A N/A N/A self assertRaises TypeError N/A clientSSL bio_shutdown N/A test_outgoingOverflow N/A N/A self N/A N/A N/A 
        If more bytes than can be written to the memory BIO are passed to
        :py:obj:`Connection.send` at once, the number of bytes which were written is
        returned and that many bytes from the beginning of the input can be
        read from the other end of the connection.
         N/A server N/A N/A self _server None N/A client N/A N/A self _client None N/A N/A N/A self _interactInMemory client server N/A size N/A 2 15 N/A sent N/A N/A client send N/A x size N/A N/A N/A self assertTrue N/A sent size N/A N/A receiver received N/A N/A self _interactInMemory client server N/A N/A N/A self assertIdentical receiver server N/A N/A N/A self assertEquals N/A len received sent N/A test_shutdown N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.bio_shutdown` signals the end of the data stream from
        which the :py:obj:`Connection` reads.
         N/A server N/A N/A self _server None N/A N/A N/A server bio_shutdown N/A e N/A N/A self assertRaises Error N/A server recv 1024 N/A N/A N/A self assertEquals N/A e __class__ Error N/A test_unexpectedEndOfFile N/A N/A self N/A N/A N/A 
        If the connection is lost before an orderly SSL shutdown occurs,
        :py:obj:`OpenSSL.SSL.SysCallError` is raised with a message of
        "Unexpected EOF".
         N/A N/A server_conn client_conn N/A N/A self _loopback N/A N/A N/A client_conn sock_shutdown SHUT_RDWR N/A exc N/A N/A self assertRaises SysCallError N/A server_conn recv 1024 N/A N/A N/A self assertEqual N/A exc args N/A -1 Unexpected EOF N/A _check_client_ca_list N/A N/A self func N/A N/A N/A 
        Verify the return value of the :py:obj:`get_client_ca_list` method for server and client connections.

        :param func: A function which will be called with the server context
            before the client and server are connected to each other.  This
            function should specify a list of CAs for the server to send to the
            client and return that same list.  The list will be used to verify
            that :py:obj:`get_client_ca_list` returns the proper value at various
            times.
         N/A server N/A N/A self _server None N/A client N/A N/A self _client None N/A N/A N/A self assertEqual N/A N/A client get_client_ca_list N/A N/A N/A N/A self assertEqual N/A N/A server get_client_ca_list N/A N/A ctx N/A N/A server get_context N/A expected N/A func ctx N/A N/A N/A self assertEqual N/A N/A client get_client_ca_list N/A N/A N/A N/A self assertEqual N/A N/A server get_client_ca_list expected N/A N/A N/A self _interactInMemory client server N/A N/A N/A self assertEqual N/A N/A client get_client_ca_list expected N/A N/A N/A self assertEqual N/A N/A server get_client_ca_list expected N/A test_set_client_ca_list_errors N/A N/A self N/A N/A N/A 
        :py:obj:`Context.set_client_ca_list` raises a :py:obj:`TypeError` if called with a
        non-list or a list that contains objects other than X509Names.
         N/A ctx N/A Context TLSv1_METHOD N/A N/A N/A self assertRaises TypeError N/A ctx set_client_ca_list spam N/A N/A N/A self assertRaises TypeError N/A ctx set_client_ca_list N/A spam N/A N/A N/A self assertIdentical N/A N/A ctx set_client_ca_list N/A None N/A test_set_empty_ca_list N/A N/A self N/A N/A N/A 
        If passed an empty list, :py:obj:`Context.set_client_ca_list` configures the
        context to send no CA names to the client and, on both the server and
        client sides, :py:obj:`Connection.get_client_ca_list` returns an empty list
        after the connection is set up.
         no_ca N/A N/A ctx N/A N/A N/A N/A N/A ctx set_client_ca_list N/A N/A N/A N/A N/A N/A N/A self _check_client_ca_list no_ca N/A test_set_one_ca_list N/A N/A self N/A N/A N/A 
        If passed a list containing a single X509Name,
        :py:obj:`Context.set_client_ca_list` configures the context to send that CA
        name to the client and, on both the server and client sides,
        :py:obj:`Connection.get_client_ca_list` returns a list containing that
        X509Name after the connection is set up.
         N/A cacert N/A load_certificate FILETYPE_PEM root_cert_pem N/A cadesc N/A N/A cacert get_subject single_ca N/A N/A ctx N/A N/A N/A N/A N/A ctx set_client_ca_list N/A cadesc N/A N/A cadesc N/A N/A N/A N/A self _check_client_ca_list single_ca N/A test_set_multiple_ca_list N/A N/A self N/A N/A N/A 
        If passed a list containing multiple X509Name objects,
        :py:obj:`Context.set_client_ca_list` configures the context to send those CA
        names to the client and, on both the server and client sides,
        :py:obj:`Connection.get_client_ca_list` returns a list containing those
        X509Names after the connection is set up.
         N/A secert N/A load_certificate FILETYPE_PEM server_cert_pem N/A clcert N/A load_certificate FILETYPE_PEM server_cert_pem N/A sedesc N/A N/A secert get_subject N/A cldesc N/A N/A clcert get_subject multiple_ca N/A N/A ctx N/A N/A N/A L N/A sedesc cldesc N/A N/A N/A ctx set_client_ca_list L N/A L N/A N/A N/A N/A self _check_client_ca_list multiple_ca N/A test_reset_ca_list N/A N/A self N/A N/A N/A 
        If called multiple times, only the X509Names passed to the final call
        of :py:obj:`Context.set_client_ca_list` are used to configure the CA names
        sent to the client.
         N/A cacert N/A load_certificate FILETYPE_PEM root_cert_pem N/A secert N/A load_certificate FILETYPE_PEM server_cert_pem N/A clcert N/A load_certificate FILETYPE_PEM server_cert_pem N/A cadesc N/A N/A cacert get_subject N/A sedesc N/A N/A secert get_subject N/A cldesc N/A N/A clcert get_subject changed_ca N/A N/A ctx N/A N/A N/A N/A N/A ctx set_client_ca_list N/A sedesc cldesc N/A N/A N/A ctx set_client_ca_list N/A cadesc N/A N/A cadesc N/A N/A N/A N/A self _check_client_ca_list changed_ca N/A test_mutated_ca_list N/A N/A self N/A N/A N/A 
        If the list passed to :py:obj:`Context.set_client_ca_list` is mutated
        afterwards, this does not affect the list of CA names sent to the
        client.
         N/A cacert N/A load_certificate FILETYPE_PEM root_cert_pem N/A secert N/A load_certificate FILETYPE_PEM server_cert_pem N/A cadesc N/A N/A cacert get_subject N/A sedesc N/A N/A secert get_subject mutated_ca N/A N/A ctx N/A N/A N/A L N/A cadesc N/A N/A N/A ctx set_client_ca_list N/A cadesc N/A N/A N/A L append sedesc N/A N/A cadesc N/A N/A N/A N/A self _check_client_ca_list mutated_ca N/A test_add_client_ca_errors N/A N/A self N/A N/A N/A 
        :py:obj:`Context.add_client_ca` raises :py:obj:`TypeError` if called with a non-X509
        object or with a number of arguments other than one.
         N/A ctx N/A Context TLSv1_METHOD N/A cacert N/A load_certificate FILETYPE_PEM root_cert_pem N/A N/A N/A self assertRaises TypeError N/A ctx add_client_ca N/A N/A N/A self assertRaises TypeError N/A ctx add_client_ca spam N/A N/A N/A self assertRaises TypeError N/A ctx add_client_ca cacert cacert N/A test_one_add_client_ca N/A N/A self N/A N/A N/A 
        A certificate's subject can be added as a CA to be sent to the client
        with :py:obj:`Context.add_client_ca`.
         N/A cacert N/A load_certificate FILETYPE_PEM root_cert_pem N/A cadesc N/A N/A cacert get_subject single_ca N/A N/A ctx N/A N/A N/A N/A N/A ctx add_client_ca cacert N/A N/A cadesc N/A N/A N/A N/A self _check_client_ca_list single_ca N/A test_multiple_add_client_ca N/A N/A self N/A N/A N/A 
        Multiple CA names can be sent to the client by calling
        :py:obj:`Context.add_client_ca` with multiple X509 objects.
         N/A cacert N/A load_certificate FILETYPE_PEM root_cert_pem N/A secert N/A load_certificate FILETYPE_PEM server_cert_pem N/A cadesc N/A N/A cacert get_subject N/A sedesc N/A N/A secert get_subject multiple_ca N/A N/A ctx N/A N/A N/A N/A N/A ctx add_client_ca cacert N/A N/A N/A ctx add_client_ca secert N/A N/A cadesc sedesc N/A N/A N/A N/A self _check_client_ca_list multiple_ca N/A test_set_and_add_client_ca N/A N/A self N/A N/A N/A 
        A call to :py:obj:`Context.set_client_ca_list` followed by a call to
        :py:obj:`Context.add_client_ca` results in using the CA names from the first
        call and the CA name from the second call.
         N/A cacert N/A load_certificate FILETYPE_PEM root_cert_pem N/A secert N/A load_certificate FILETYPE_PEM server_cert_pem N/A clcert N/A load_certificate FILETYPE_PEM server_cert_pem N/A cadesc N/A N/A cacert get_subject N/A sedesc N/A N/A secert get_subject N/A cldesc N/A N/A clcert get_subject mixed_set_add_ca N/A N/A ctx N/A N/A N/A N/A N/A ctx set_client_ca_list N/A cadesc sedesc N/A N/A N/A ctx add_client_ca clcert N/A N/A cadesc sedesc cldesc N/A N/A N/A N/A self _check_client_ca_list mixed_set_add_ca N/A test_set_after_add_client_ca N/A N/A self N/A N/A N/A 
        A call to :py:obj:`Context.set_client_ca_list` after a call to
        :py:obj:`Context.add_client_ca` replaces the CA name specified by the former
        call with the names specified by the latter cal.
         N/A cacert N/A load_certificate FILETYPE_PEM root_cert_pem N/A secert N/A load_certificate FILETYPE_PEM server_cert_pem N/A clcert N/A load_certificate FILETYPE_PEM server_cert_pem N/A cadesc N/A N/A cacert get_subject N/A sedesc N/A N/A secert get_subject set_replaces_add_ca N/A N/A ctx N/A N/A N/A N/A N/A ctx add_client_ca clcert N/A N/A N/A ctx set_client_ca_list N/A cadesc N/A N/A N/A ctx add_client_ca secert N/A N/A cadesc sedesc N/A N/A N/A N/A self _check_client_ca_list set_replaces_add_ca N/A N/A ConnectionBIOTests N/A TestCase N/A N/A 
    Tests for :py:obj:`Connection.bio_read` and :py:obj:`Connection.bio_write`.
     test_wantReadError N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.bio_read` raises :py:obj:`OpenSSL.SSL.WantReadError`
        if there are no bytes available to be read from the BIO.
         N/A ctx N/A Context TLSv1_METHOD N/A conn N/A Connection ctx None N/A N/A N/A self assertRaises WantReadError N/A conn bio_read 1024 N/A test_buffer_size N/A N/A self N/A N/A N/A 
        :py:obj:`Connection.bio_read` accepts an integer giving the maximum
        number of bytes to read and return.
         N/A ctx N/A Context TLSv1_METHOD N/A conn N/A Connection ctx None N/A N/A N/A conn set_connect_state N/A N/A N/A N/A N/A conn do_handshake N/A N/A N/A WantReadError N/A N/A N/A data N/A N/A conn bio_read 2 N/A N/A N/A self assertEqual 2 N/A len data N/A N/A N/A PY3 N/A test_buffer_size_long N/A N/A self N/A N/A N/A 
            On Python 2 :py:obj:`Connection.bio_read` accepts values of type
            :py:obj:`long` as well as :py:obj:`int`.
             N/A ctx N/A Context TLSv1_METHOD N/A conn N/A Connection ctx None N/A N/A N/A conn set_connect_state N/A N/A N/A N/A N/A conn do_handshake N/A N/A N/A WantReadError N/A N/A N/A data N/A N/A conn bio_read N/A long 2 N/A N/A N/A self assertEqual 2 N/A len data N/A N/A InfoConstantTests N/A TestCase N/A N/A 
    Tests for assorted constants exposed for use in info callbacks.
     test_integers N/A N/A self N/A N/A N/A 
        All of the info constants are integers.

        This is a very weak test.  It would be nice to have one that actually
        verifies that as certain info events happen, the value passed to the
        info callback matches up with the constant exposed by OpenSSL.SSL.
         N/A const N/A SSL_ST_CONNECT SSL_ST_ACCEPT SSL_ST_MASK SSL_ST_INIT SSL_ST_BEFORE SSL_ST_OK SSL_ST_RENEGOTIATE SSL_CB_LOOP SSL_CB_EXIT SSL_CB_READ SSL_CB_WRITE SSL_CB_ALERT SSL_CB_READ_ALERT SSL_CB_WRITE_ALERT SSL_CB_ACCEPT_LOOP SSL_CB_ACCEPT_EXIT SSL_CB_CONNECT_LOOP SSL_CB_CONNECT_EXIT SSL_CB_HANDSHAKE_START SSL_CB_HANDSHAKE_DONE N/A N/A N/A N/A self assertTrue N/A isinstance const int N/A N/A N/A N/A __name__ __main__ N/A N/A N/A main