Module Expr Str Import alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareEq Call NameLoad NameLoad Num body TryExcept body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Return TupleLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Return TupleLoad NameLoad NameLoad orelse If CompareEq Call NameLoad NameLoad Num body TryExcept body If Call NameLoad SubscriptLoad NameLoad Index Num body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num orelse Assign NameStore NameLoad If Call NameLoad SubscriptLoad NameLoad Index Num body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num orelse Assign NameStore NameLoad handlers ExceptHandler type NameLoad body Return TupleLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Num If CompareNotEq Call NameLoad NameLoad Num body Return NameLoad TryExcept body Return TupleLoad Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num handlers ExceptHandler type NameLoad body Return NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Num FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad attr Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Assign NameStore Str While BoolOpAnd Call NameLoad NameLoad CompareLt BinOpAdd BinOpAdd BinOpAdd Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index Num Num AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpAdd NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str If CompareIsNot NameLoad NameLoad body Assign NameStore BinOpAdd NameLoad BinOpMod Str TupleLoad NameLoad orelse If CompareIsIs NameLoad NameLoad NameLoad body Assign NameStore NameLoad orelse If CompareIs NameLoad NameLoad body Assign NameStore BinOpAdd NameLoad BinOpMod Str TupleLoad NameLoad orelse If CompareIs NameLoad NameLoad body Assign NameStore BinOpAdd NameLoad BinOpMod Str TupleLoad NameLoad orelse Assign NameStore BinOpAdd NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Delete SubscriptDel AttributeLoad NameLoad attr Index Num Delete SubscriptDel AttributeLoad NameLoad attr Index Num Delete SubscriptDel AttributeLoad NameLoad attr Index Num Delete SubscriptDel AttributeLoad NameLoad attr Index Num Delete SubscriptDel AttributeLoad NameLoad attr Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body If BoolOpAnd NameLoad NameLoad CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore SubscriptLoad NameLoad Slice Num Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareIs Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad NameLoad If BoolOpOr CompareIs NameLoad NameLoad UnaryOpNot CompareLtELt Num SubscriptLoad NameLoad Index Num Num body Expr Call SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Expr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr NameLoad If SubscriptLoad AttributeLoad NameLoad attr Index Num body Expr Call SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad orelse Expr Call SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad decorator_list FunctionDef arguments args NameParam TupleStore NameStore NameStore defaults body If CompareEq NameLoad Num body Assign AttributeStore NameLoad attr Num orelse Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq NameLoad Str body Assign NameStore Call NameLoad NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad NameLoad Index Num Call NameLoad SubscriptLoad NameLoad Index Num Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Num orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam TupleStore NameStore NameStore defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq NameLoad Str body If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad NameLoad Slice Num Expr Call AttributeLoad NameLoad attr NameLoad Num orelse Expr Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad Num orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq NameLoad Str body If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad NameLoad Slice Num Expr Call AttributeLoad NameLoad attr NameLoad Num orelse Expr Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam TupleStore NameStore NameStore defaults body If CompareEq NameLoad Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str Str attr Str Str If CompareNotEq SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Slice Num Str body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Delete SubscriptDel AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam TupleStore NameStore NameStore defaults body If CompareEq NameLoad Num body Expr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad Num orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad Num orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam TupleStore NameStore NameStore defaults body If CompareEq NameLoad Num body Expr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr If Call NameLoad NameLoad body Assign TupleStore NameStore NameStore TupleLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr SubscriptLoad NameLoad Slice Num If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad BinOpMod Str NameLoad TryExcept body Expr Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults Str vararg body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str orelse If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str orelse If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str orelse If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Print Str NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Print Str NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Print Str NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore BoolOpOr NameLoad AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam TupleStore NameStore NameStore defaults body Assign AttributeStore NameLoad attr NameLoad If Call NameLoad NameLoad body Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Num orelse Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Print Str NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse Assign TupleStore NameStore NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Print Str NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse If CompareIs NameLoad NameLoad body If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str Return orelse Assign NameStore NameStore AttributeLoad NameLoad attr orelse Assign TupleStore NameStore NameStore Call NameLoad NameLoad If CompareIsIs NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Print Str NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr NameLoad Assign TupleStore NameStore NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr BinOpAdd BinOpAdd AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Print Str NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Print Str NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr BinOpAdd BinOpAdd AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Print Str NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam TupleStore NameStore NameStore NameStore NameStore NameStore defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Print Str NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse If UnaryOpNot NameLoad body If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse Assign NameStore AttributeLoad NameLoad attr orelse If CompareEq SubscriptLoad NameLoad Index Num Str body Return Call NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad orelse TryExcept body Assign NameStore Call NameLoad NameLoad Return Call NameLoad AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam TupleStore NameStore NameStore NameStore defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq NameLoad Str body Assign NameStore Str orelse Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Print Str NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam TupleStore NameStore NameStore NameStore defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Print Str NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam TupleStore NameStore NameStore NameStore defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Print Str NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam TupleStore NameStore NameStore NameStore defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Print Str NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpAdd AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpSub AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str orelse Assign AttributeStore NameLoad attr BinOpAdd BinOpAdd AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Print Str NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr BinOpSub AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad AttributeLoad NameLoad attr Str Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore NameLoad body Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr BinOpSub AttributeLoad NameLoad attr Num If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A 
NNTP protocol support.

The following protocol commands are currently understood::

    LIST        LISTGROUP                  XOVER        XHDR
    POST        GROUP        ARTICLE       STAT         HEAD
    BODY        NEXT         MODE STREAM   MODE READER  SLAVE
    LAST        QUIT         HELP          IHAVE        XPATH
    XINDEX      XROVER       TAKETHIS      CHECK

The following protocol commands require implementation::

                             NEWNEWS
                             XGTITLE                XPAT
                             XTHREAD       AUTHINFO NEWGROUPS


Other desired features:

   - A real backend
   - More robust client input handling
   - A control protocol
 N/A time twisted.protocols basic twisted.python log parseRange N/A N/A text N/A N/A N/A articles N/A N/A text split - N/A N/A N/A len articles 1 N/A N/A N/A N/A a N/A int N/A articles N/A 0 N/A N/A a a N/A N/A N/A ValueError N/A N/A N/A None None N/A N/A N/A N/A len articles 2 N/A N/A N/A N/A N/A len N/A articles N/A 0 N/A N/A l N/A int N/A articles N/A 0 N/A N/A l None N/A N/A len N/A articles N/A 1 N/A N/A h N/A int N/A articles N/A 1 N/A N/A h None N/A N/A N/A ValueError N/A N/A N/A None None N/A N/A l h N/A extractCode N/A N/A line N/A N/A N/A line N/A N/A line split 1 N/A N/A N/A len line 2 N/A N/A None N/A N/A N/A N/A N/A int N/A line N/A 0 N/A line N/A 1 N/A N/A N/A ValueError N/A N/A None N/A NNTPError N/A Exception N/A __init__ N/A N/A self string N/A N/A N/A N/A self string string N/A __str__ N/A N/A self N/A N/A N/A N/A NNTPError: %s N/A self string N/A N/A NNTPClient N/A N/A basic LineReceiver N/A N/A MAX_COMMAND_LENGTH 510 __init__ N/A N/A self N/A N/A N/A N/A self currentGroup None N/A N/A self _state N/A N/A N/A self _error N/A N/A N/A self _inputBuffers N/A N/A N/A self _responseCodes N/A N/A N/A self _responseHandlers N/A N/A N/A self _postText N/A N/A N/A N/A self _newState N/A self _statePassive None N/A self _headerInitial N/A gotAllGroups N/A N/A self groups N/A N/A N/A Override for notification when fetchGroups() action is completed N/A getAllGroupsFailed N/A N/A self error N/A N/A N/A Override for notification when fetchGroups() action fails N/A gotOverview N/A N/A self overview N/A N/A N/A Override for notification when fetchOverview() action is completed N/A getOverviewFailed N/A N/A self error N/A N/A N/A Override for notification when fetchOverview() action fails N/A gotSubscriptions N/A N/A self subscriptions N/A N/A N/A Override for notification when fetchSubscriptions() action is completed N/A getSubscriptionsFailed N/A N/A self error N/A N/A N/A Override for notification when fetchSubscriptions() action fails N/A gotGroup N/A N/A self group N/A N/A N/A Override for notification when fetchGroup() action is completed N/A getGroupFailed N/A N/A self error N/A N/A N/A Override for notification when fetchGroup() action fails N/A gotArticle N/A N/A self article N/A N/A N/A Override for notification when fetchArticle() action is completed N/A getArticleFailed N/A N/A self error N/A N/A N/A Override for notification when fetchArticle() action fails N/A gotHead N/A N/A self head N/A N/A N/A Override for notification when fetchHead() action is completed N/A getHeadFailed N/A N/A self error N/A N/A N/A Override for notification when fetchHead() action fails N/A gotBody N/A N/A self info N/A N/A N/A Override for notification when fetchBody() action is completed N/A getBodyFailed N/A N/A self body N/A N/A N/A Override for notification when fetchBody() action fails N/A postedOk N/A N/A self N/A N/A N/A Override for notification when postArticle() action is successful N/A postFailed N/A N/A self error N/A N/A N/A Override for notification when postArticle() action fails N/A gotXHeader N/A N/A self headers N/A N/A N/A Override for notification when getXHeader() action is successful N/A getXHeaderFailed N/A N/A self error N/A N/A N/A Override for notification when getXHeader() action fails N/A gotNewNews N/A N/A self news N/A N/A N/A Override for notification when getNewNews() action is successful N/A getNewNewsFailed N/A N/A self error N/A N/A N/A Override for notification when getNewNews() action fails N/A gotNewGroups N/A N/A self groups N/A N/A N/A Override for notification when getNewGroups() action is successful N/A getNewGroupsFailed N/A N/A self error N/A N/A N/A Override for notification when getNewGroups() action fails N/A setStreamSuccess N/A N/A self N/A N/A N/A Override for notification when setStream() action is successful N/A setStreamFailed N/A N/A self error N/A N/A N/A Override for notification when setStream() action fails N/A fetchGroups N/A N/A self N/A N/A N/A 
        Request a list of all news groups from the server.  gotAllGroups()
        is called on success, getGroupsFailed() on failure
         N/A N/A N/A self sendLine LIST N/A N/A N/A self _newState N/A self _stateList N/A self getAllGroupsFailed N/A fetchOverview N/A N/A self N/A N/A N/A 
        Request the overview format from the server.  gotOverview() is called
        on success, getOverviewFailed() on failure
         N/A N/A N/A self sendLine LIST OVERVIEW.FMT N/A N/A N/A self _newState N/A self _stateOverview N/A self getOverviewFailed N/A fetchSubscriptions N/A N/A self N/A N/A N/A 
        Request a list of the groups it is recommended a new user subscribe to.
        gotSubscriptions() is called on success, getSubscriptionsFailed() on
        failure
         N/A N/A N/A self sendLine LIST SUBSCRIPTIONS N/A N/A N/A self _newState N/A self _stateSubscriptions N/A self getSubscriptionsFailed N/A fetchGroup N/A N/A self group N/A N/A N/A 
        Get group information for the specified group from the server.  gotGroup()
        is called on success, getGroupFailed() on failure.
         N/A N/A N/A self sendLine N/A GROUP %s N/A group N/A N/A N/A self _newState None N/A self getGroupFailed N/A self _headerGroup N/A fetchHead N/A N/A self index N/A N/A N/A 
        Get the header for the specified article (or the currently selected
        article if index is '') from the server.  gotHead() is called on
        success, getHeadFailed() on failure
         N/A N/A N/A self sendLine N/A HEAD %s N/A index N/A N/A N/A self _newState N/A self _stateHead N/A self getHeadFailed N/A fetchBody N/A N/A self index N/A N/A N/A 
        Get the body for the specified article (or the currently selected
        article if index is '') from the server.  gotBody() is called on
        success, getBodyFailed() on failure
         N/A N/A N/A self sendLine N/A BODY %s N/A index N/A N/A N/A self _newState N/A self _stateBody N/A self getBodyFailed N/A fetchArticle N/A N/A self index N/A N/A N/A 
        Get the complete article with the specified index (or the currently
        selected article if index is '') or Message-ID from the server.
        gotArticle() is called on success, getArticleFailed() on failure.
         N/A N/A N/A self sendLine N/A ARTICLE %s N/A index N/A N/A N/A self _newState N/A self _stateArticle N/A self getArticleFailed N/A postArticle N/A N/A self text N/A N/A N/A 
        Attempt to post an article with the specified text to the server.  'text'
        must consist of both head and body data, as specified by RFC 850.  If the
        article is posted successfully, postedOk() is called, otherwise postFailed()
        is called.
         N/A N/A N/A self sendLine POST N/A N/A N/A self _newState None N/A self postFailed N/A self _headerPost N/A N/A N/A N/A self _postText append text N/A fetchNewNews N/A N/A self groups date distributions N/A N/A N/A 
        Get the Message-IDs for all new news posted to any of the given
        groups since the specified date - in seconds since the epoch, GMT -
        optionally restricted to the given distributions.  gotNewNews() is
        called on success, getNewNewsFailed() on failure.

        One invocation of this function may result in multiple invocations
        of gotNewNews()/getNewNewsFailed().
         N/A N/A date timeStr N/A N/A N/A N/A time strftime %y%m%d %H%M%S N/A N/A time gmtime date split N/A line N/A NEWNEWS %%s %s %s %s N/A date timeStr distributions N/A groupPart N/A N/A N/A len groups N/A N/A N/A N/A N/A len line N/A len groupPart N/A len N/A groups N/A -1 1 N/A NNTPClient MAX_COMMAND_LENGTH N/A N/A group N/A N/A groups pop N/A groupPart N/A N/A groupPart , group N/A N/A N/A self sendLine N/A line N/A groupPart N/A N/A N/A self _newState N/A self _stateNewNews N/A self getNewNewsFailed N/A N/A len groups N/A N/A N/A N/A self fetchNewNews groups date distributions N/A fetchNewGroups N/A N/A self date distributions N/A N/A N/A 
        Get the names of all new groups created/added to the server since
        the specified date - in seconds since the ecpoh, GMT - optionally
        restricted to the given distributions.  gotNewGroups() is called
        on success, getNewGroupsFailed() on failure.
         N/A N/A date timeStr N/A N/A N/A N/A time strftime %y%m%d %H%M%S N/A N/A time gmtime date split N/A N/A N/A self sendLine N/A NEWGROUPS %s %s %s N/A date timeStr distributions N/A N/A N/A self _newState N/A self _stateNewGroups N/A self getNewGroupsFailed N/A fetchXHeader N/A N/A self header low high id N/A None None None N/A N/A 
        Request a specific header from the server for an article or range
        of articles.  If 'id' is not None, a header for only the article
        with that Message-ID will be requested.  If both low and high are
        None, a header for the currently selected article will be selected;
        If both low and high are zero-length strings, headers for all articles
        in the currently selected group will be requested;  Otherwise, high
        and low will be used as bounds - if one is None the first or last
        article index will be substituted, as appropriate.
         N/A N/A id None N/A N/A r N/A header N/A  <%s> N/A id N/A N/A N/A low high None N/A N/A r header N/A N/A N/A high None N/A N/A r N/A header N/A  %d- N/A low N/A N/A N/A low None N/A N/A r N/A header N/A  -%d N/A high N/A N/A r N/A header N/A  %d-%d N/A low high N/A N/A N/A self sendLine N/A XHDR  r N/A N/A N/A self _newState N/A self _stateXHDR N/A self getXHeaderFailed N/A setStream N/A N/A self N/A N/A N/A 
        Set the mode to STREAM, suspending the normal "lock-step" mode of
        communications.  setStreamSuccess() is called on success,
        setStreamFailed() on failure.
         N/A N/A N/A self sendLine MODE STREAM N/A N/A N/A self _newState None N/A self setStreamFailed N/A self _headerMode N/A quit N/A N/A self N/A N/A N/A N/A N/A self sendLine QUIT N/A N/A N/A N/A self transport loseConnection N/A _newState N/A N/A self method error responseHandler N/A None N/A N/A N/A N/A N/A self _inputBuffers append N/A N/A N/A N/A N/A self _responseCodes append None N/A N/A N/A N/A self _state append method N/A N/A N/A N/A self _error append error N/A N/A N/A N/A self _responseHandlers append responseHandler N/A _endState N/A N/A self N/A N/A N/A buf N/A N/A self _inputBuffers N/A 0 N/A N/A N/A self _responseCodes N/A 0 N/A N/A N/A self _inputBuffers N/A 0 N/A N/A N/A self _state N/A 0 N/A N/A N/A self _error N/A 0 N/A N/A N/A self _responseHandlers N/A 0 N/A buf N/A _newLine N/A N/A self line check N/A 1 N/A N/A N/A check line N/A N/A line N/A 0 . N/A N/A line N/A line N/A 1 N/A N/A N/A N/A N/A self _inputBuffers N/A 0 append line N/A _setResponseCode N/A N/A self code N/A N/A N/A N/A N/A self _responseCodes N/A 0 code N/A _getResponseCode N/A N/A self N/A N/A N/A N/A N/A self _responseCodes N/A 0 N/A lineReceived N/A N/A self line N/A N/A N/A N/A N/A len N/A self _state N/A N/A N/A N/A self _statePassive line N/A N/A N/A N/A N/A self _getResponseCode None N/A N/A code N/A extractCode line N/A N/A N/A code None N/A N/A 200 N/A code N/A 0 400 N/A N/A N/A N/A N/A self _error N/A 0 line N/A N/A N/A self _endState N/A N/A N/A N/A self _setResponseCode code N/A N/A N/A self _responseHandlers N/A 0 N/A N/A N/A N/A N/A self _responseHandlers N/A 0 code N/A N/A N/A N/A N/A self _state N/A 0 line N/A _statePassive N/A N/A self line N/A N/A N/A N/A N/A log msg N/A Server said: %s line N/A _passiveError N/A N/A self error N/A N/A N/A N/A N/A log err N/A Passive Error: %s N/A error N/A _headerInitial N/A N/A self N/A code message N/A N/A N/A N/A code 200 N/A N/A N/A self canPost 1 N/A N/A N/A self canPost 0 N/A N/A N/A self _endState N/A _stateList N/A N/A self line N/A N/A N/A N/A line . N/A N/A data N/A filter None N/A N/A N/A N/A line strip split N/A N/A N/A self _newLine N/A N/A data N/A 0 N/A int N/A data N/A 1 N/A int N/A data N/A 2 N/A data N/A 3 0 N/A N/A N/A N/A self gotAllGroups N/A N/A self _endState N/A _stateOverview N/A N/A self line N/A N/A N/A N/A line . N/A N/A N/A N/A self _newLine N/A filter None N/A N/A N/A N/A line strip split 0 N/A N/A N/A N/A self gotOverview N/A N/A self _endState N/A _stateSubscriptions N/A N/A self line N/A N/A N/A N/A line . N/A N/A N/A N/A self _newLine N/A N/A line strip 0 N/A N/A N/A N/A self gotSubscriptions N/A N/A self _endState N/A _headerGroup N/A N/A self N/A code line N/A N/A N/A N/A N/A self gotGroup N/A tuple N/A N/A line split N/A N/A N/A self _endState N/A _stateArticle N/A N/A self line N/A N/A N/A N/A line . N/A N/A N/A N/A line startswith . N/A N/A line N/A line N/A 1 N/A N/A N/A self _newLine line 0 N/A N/A N/A N/A self gotArticle N/A N/A N/A join N/A N/A self _endState N/A _stateHead N/A N/A self line N/A N/A N/A N/A line . N/A N/A N/A N/A self _newLine line 0 N/A N/A N/A N/A self gotHead N/A N/A join N/A N/A self _endState N/A _stateBody N/A N/A self line N/A N/A N/A N/A line . N/A N/A N/A N/A line startswith . N/A N/A line N/A line N/A 1 N/A N/A N/A self _newLine line 0 N/A N/A N/A N/A self gotBody N/A N/A N/A join N/A N/A self _endState N/A _headerPost N/A N/A self N/A code message N/A N/A N/A N/A code 340 N/A N/A N/A N/A N/A self transport write N/A N/A N/A N/A N/A N/A self _postText N/A 0 replace replace 
. 
.. N/A N/A N/A N/A N/A self _postText N/A 0 N/A -1 N/A N/A N/A N/A self sendLine N/A N/A N/A self sendLine . N/A N/A N/A self _postText N/A 0 N/A N/A N/A self _newState None N/A self postFailed N/A self _headerPosted N/A N/A N/A N/A self postFailed N/A %d %s N/A code message N/A N/A N/A self _endState N/A _headerPosted N/A N/A self N/A code message N/A N/A N/A N/A code 240 N/A N/A N/A N/A self postedOk N/A N/A N/A N/A self postFailed N/A %d %s N/A code message N/A N/A N/A self _endState N/A _stateXHDR N/A N/A self line N/A N/A N/A N/A line . N/A N/A N/A N/A self _newLine N/A N/A line split 0 N/A N/A N/A N/A self _gotXHeader N/A N/A self _endState N/A _stateNewNews N/A N/A self line N/A N/A N/A N/A line . N/A N/A N/A N/A self _newLine line 0 N/A N/A N/A N/A self gotNewNews N/A N/A self _endState N/A _stateNewGroups N/A N/A self line N/A N/A N/A N/A line . N/A N/A N/A N/A self _newLine line 0 N/A N/A N/A N/A self gotNewGroups N/A N/A self _endState N/A _headerMode N/A N/A self N/A code message N/A N/A N/A N/A code 203 N/A N/A N/A N/A self setStreamSuccess N/A N/A N/A N/A self setStreamFailed N/A code message N/A N/A N/A self _endState N/A N/A NNTPServer N/A N/A basic LineReceiver N/A N/A COMMANDS N/A LIST GROUP ARTICLE STAT MODE LISTGROUP XOVER XHDR HEAD BODY NEXT LAST POST QUIT IHAVE HELP SLAVE XPATH XINDEX XROVER TAKETHIS CHECK __init__ N/A N/A self N/A N/A N/A N/A self servingSlave 0 N/A connectionMade N/A N/A self N/A N/A N/A N/A self inputHandler None N/A N/A self currentGroup None N/A N/A self currentIndex None N/A N/A N/A self sendLine 200 server ready - posting allowed N/A lineReceived N/A N/A self line N/A N/A N/A N/A N/A self inputHandler None N/A N/A N/A N/A self inputHandler line N/A N/A parts N/A N/A N/A N/A line strip split N/A N/A len parts N/A N/A N/A cmd parts N/A N/A N/A N/A parts N/A 0 upper N/A parts N/A 1 N/A N/A cmd N/A NNTPServer COMMANDS N/A N/A func N/A getattr self N/A do_%s cmd N/A N/A N/A N/A func parts N/A N/A N/A TypeError N/A N/A N/A N/A self sendLine 501 command syntax error N/A N/A N/A log msg 501 command syntax error N/A N/A N/A log msg command was line N/A N/A N/A log deferr N/A N/A N/A N/A N/A self sendLine 503 program fault - command not performed N/A N/A N/A log msg 503 program fault N/A N/A N/A log msg command was line N/A N/A N/A log deferr N/A N/A N/A N/A self sendLine 500 command not recognized N/A do_LIST N/A N/A self subcmd N/A dummy N/A N/A subcmd N/A N/A N/A N/A subcmd strip lower N/A N/A subcmd newsgroups N/A N/A N/A N/A self sendLine 215 Descriptions in form "group description" N/A N/A N/A self sendLine . N/A N/A N/A subcmd overview.fmt N/A N/A defer N/A N/A N/A N/A self factory backend overviewRequest N/A N/A N/A defer addCallbacks N/A self _gotOverview N/A self _errOverview N/A N/A N/A log msg overview N/A N/A N/A subcmd subscriptions N/A N/A defer N/A N/A N/A N/A self factory backend subscriptionRequest N/A N/A N/A defer addCallbacks N/A self _gotSubscription N/A self _errSubscription N/A N/A N/A log msg subscriptions N/A N/A N/A subcmd N/A N/A defer N/A N/A N/A N/A self factory backend listRequest N/A N/A N/A defer addCallbacks N/A self _gotList N/A self _errList N/A N/A N/A N/A self sendLine 500 command not recognized N/A _gotList N/A N/A self list N/A N/A N/A N/A N/A self sendLine 215 newsgroups in form "group high low flags" N/A i list N/A N/A N/A N/A self sendLine N/A %s %d %d %s N/A tuple i N/A N/A N/A self sendLine . N/A _errList N/A N/A self failure N/A N/A N/A LIST failed:  failure N/A N/A N/A self sendLine 503 program fault - command not performed N/A _gotSubscription N/A N/A self parts N/A N/A N/A N/A N/A self sendLine 215 information follows N/A i parts N/A N/A N/A N/A self sendLine i N/A N/A N/A self sendLine . N/A _errSubscription N/A N/A self failure N/A N/A N/A SUBSCRIPTIONS failed:  failure N/A N/A N/A self sendLine 503 program fault - comand not performed N/A _gotOverview N/A N/A self parts N/A N/A N/A N/A N/A self sendLine 215 Order of fields in overview database. N/A i parts N/A N/A N/A N/A self sendLine N/A i : N/A N/A N/A self sendLine . N/A _errOverview N/A N/A self failure N/A N/A N/A LIST OVERVIEW.FMT failed:  failure N/A N/A N/A self sendLine 503 program fault - command not performed N/A do_LISTGROUP N/A N/A self group N/A None N/A N/A group N/A group N/A self currentGroup N/A N/A group None N/A N/A N/A N/A self sendLine 412 Not currently in newsgroup N/A N/A defer N/A N/A N/A N/A self factory backend listGroupRequest group N/A N/A N/A defer addCallbacks N/A self _gotListGroup N/A self _errListGroup N/A _gotListGroup N/A N/A self N/A group articles N/A N/A N/A N/A self currentGroup group N/A N/A len articles N/A N/A N/A self currentIndex N/A int N/A articles N/A 0 N/A N/A N/A self currentIndex None N/A N/A N/A self sendLine 211 list of article numbers follow N/A i articles N/A N/A N/A N/A self sendLine N/A str i N/A N/A N/A self sendLine . N/A _errListGroup N/A N/A self failure N/A N/A N/A LISTGROUP failed:  failure N/A N/A N/A self sendLine 502 no permission N/A do_XOVER N/A N/A self range N/A N/A N/A N/A N/A self currentGroup None N/A N/A N/A N/A self sendLine 412 No news group currently selected N/A N/A N/A l h N/A parseRange range N/A defer N/A N/A N/A N/A self factory backend xoverRequest N/A self currentGroup l h N/A N/A N/A defer addCallbacks N/A self _gotXOver N/A self _errXOver N/A _gotXOver N/A N/A self parts N/A N/A N/A N/A N/A self sendLine 224 Overview information follows N/A i parts N/A N/A N/A N/A self sendLine N/A N/A join N/A map str i N/A N/A N/A self sendLine . N/A _errXOver N/A N/A self failure N/A N/A N/A XOVER failed:  failure N/A N/A N/A self sendLine 420 No article(s) selected N/A xhdrWork N/A N/A self header range N/A N/A N/A N/A N/A self currentGroup None N/A N/A N/A N/A self sendLine 412 No news group currently selected N/A N/A N/A range None N/A N/A N/A N/A self currentIndex None N/A N/A N/A N/A self sendLine 420 No current article selected N/A N/A N/A l h N/A self currentIndex N/A N/A N/A l h N/A parseRange range N/A N/A l h None N/A N/A N/A N/A self sendLine 430 no such article N/A N/A N/A N/A N/A N/A self factory backend xhdrRequest N/A self currentGroup l h header N/A do_XHDR N/A N/A self header range N/A None N/A N/A d N/A N/A self xhdrWork header range N/A d N/A N/A N/A N/A d addCallbacks N/A self _gotXHDR N/A self _errXHDR N/A _gotXHDR N/A N/A self parts N/A N/A N/A N/A N/A self sendLine 221 Header follows N/A i parts N/A N/A N/A N/A self sendLine N/A %d %s i N/A N/A N/A self sendLine . N/A _errXHDR N/A N/A self failure N/A N/A N/A XHDR failed:  failure N/A N/A N/A self sendLine 502 no permission N/A do_POST N/A N/A self N/A N/A N/A N/A self inputHandler N/A self _doingPost N/A N/A self message N/A N/A N/A self sendLine 340 send article to be posted.  End with <CR-LF>.<CR-LF> N/A _doingPost N/A N/A self line N/A N/A N/A N/A line . N/A N/A N/A self inputHandler None N/A N/A group article N/A N/A self currentGroup N/A self message N/A N/A self message N/A defer N/A N/A N/A N/A self factory backend postRequest article N/A N/A N/A defer addCallbacks N/A self _gotPost N/A self _errPost N/A N/A N/A self message N/A N/A N/A self message line N/A _gotPost N/A N/A self parts N/A N/A N/A N/A N/A self sendLine 240 article posted ok N/A _errPost N/A N/A self failure N/A N/A N/A POST failed:  failure N/A N/A N/A self sendLine 441 posting failed N/A do_CHECK N/A N/A self id N/A N/A N/A d N/A N/A N/A N/A self factory backend articleExistsRequest id N/A N/A N/A d addCallbacks N/A self _gotCheck N/A self _errCheck N/A _gotCheck N/A N/A self result N/A N/A N/A result N/A N/A N/A N/A self sendLine 438 already have it, please don't send it to me N/A N/A N/A N/A self sendLine 238 no such article found, please send it to me N/A _errCheck N/A N/A self failure N/A N/A N/A CHECK failed:  failure N/A N/A N/A self sendLine 431 try sending it again later N/A do_TAKETHIS N/A N/A self id N/A N/A N/A N/A self inputHandler N/A self _doingTakeThis N/A N/A self message N/A _doingTakeThis N/A N/A self line N/A N/A N/A N/A line . N/A N/A N/A self inputHandler None N/A article N/A self message N/A N/A self message N/A d N/A N/A N/A N/A self factory backend postRequest article N/A N/A N/A d addCallbacks N/A self _didTakeThis N/A self _errTakeThis N/A N/A N/A self message N/A N/A N/A self message line N/A _didTakeThis N/A N/A self result N/A N/A N/A N/A N/A self sendLine 239 article transferred ok N/A _errTakeThis N/A N/A self failure N/A N/A N/A TAKETHIS failed:  failure N/A N/A N/A self sendLine 439 article transfer failed N/A do_GROUP N/A N/A self group N/A N/A N/A defer N/A N/A N/A N/A self factory backend groupRequest group N/A N/A N/A defer addCallbacks N/A self _gotGroup N/A self _errGroup N/A _gotGroup N/A N/A self N/A name num high low flags N/A N/A N/A N/A self currentGroup name N/A N/A self currentIndex low N/A N/A N/A self sendLine N/A 211 %d %d %d %s group selected N/A num low high name N/A _errGroup N/A N/A self failure N/A N/A N/A GROUP failed:  failure N/A N/A N/A self sendLine 411 no such group N/A articleWork N/A N/A self article cmd func N/A N/A N/A N/A N/A self currentGroup None N/A N/A N/A N/A self sendLine 412 no newsgroup has been selected N/A N/A N/A article N/A N/A N/A N/A self currentIndex None N/A N/A N/A N/A self sendLine 420 no current article has been selected N/A N/A article N/A self currentIndex N/A N/A N/A N/A article N/A 0 < N/A N/A N/A func N/A self currentGroup index None id article N/A N/A N/A N/A article N/A int article N/A N/A func N/A self currentGroup article N/A N/A N/A ValueError N/A N/A N/A N/A self sendLine 501 command syntax error N/A do_ARTICLE N/A N/A self article N/A None N/A N/A defer N/A N/A self articleWork article ARTICLE N/A N/A N/A self factory backend articleRequest N/A defer N/A N/A N/A N/A defer addCallbacks N/A self _gotArticle N/A self _errArticle N/A _gotArticle N/A N/A self N/A index id article N/A N/A N/A N/A self currentIndex index N/A N/A N/A self sendLine N/A 220 %d %s article N/A index id N/A s N/A N/A basic FileSender N/A d N/A N/A s beginFileTransfer article N/A self transport N/A N/A N/A d addCallback N/A self finishedFileTransfer N/A finishedFileTransfer N/A N/A self lastsent N/A N/A N/A N/A lastsent N/A N/A line 
. N/A N/A line . N/A N/A N/A self sendLine line N/A _errArticle N/A N/A self failure N/A N/A N/A ARTICLE failed:  failure N/A N/A N/A self sendLine 423 bad article number N/A do_STAT N/A N/A self article N/A None N/A N/A defer N/A N/A self articleWork article STAT N/A N/A N/A self factory backend articleRequest N/A defer N/A N/A N/A N/A defer addCallbacks N/A self _gotStat N/A self _errStat N/A _gotStat N/A N/A self N/A index id article N/A N/A N/A N/A self currentIndex index N/A N/A N/A self sendLine N/A 223 %d %s article retreived - request text separately N/A index id N/A _errStat N/A N/A self failure N/A N/A N/A STAT failed:  failure N/A N/A N/A self sendLine 423 bad article number N/A do_HEAD N/A N/A self article N/A None N/A N/A defer N/A N/A self articleWork article HEAD N/A N/A N/A self factory backend headRequest N/A defer N/A N/A N/A N/A defer addCallbacks N/A self _gotHead N/A self _errHead N/A _gotHead N/A N/A self N/A index id head N/A N/A N/A N/A self currentIndex index N/A N/A N/A self sendLine N/A 221 %d %s article retrieved N/A index id N/A N/A N/A N/A self transport write N/A head N/A N/A N/A self sendLine . N/A _errHead N/A N/A self failure N/A N/A N/A HEAD failed:  failure N/A N/A N/A self sendLine 423 no such article number in this group N/A do_BODY N/A N/A self article N/A N/A N/A defer N/A N/A self articleWork article BODY N/A N/A N/A self factory backend bodyRequest N/A defer N/A N/A N/A N/A defer addCallbacks N/A self _gotBody N/A self _errBody N/A _gotBody N/A N/A self N/A index id body N/A N/A N/A N/A self currentIndex index N/A N/A N/A self sendLine N/A 221 %d %s article retrieved N/A index id N/A N/A self lastsent N/A s N/A N/A basic FileSender N/A d N/A N/A s beginFileTransfer body N/A self transport N/A N/A N/A d addCallback N/A self finishedFileTransfer N/A _errBody N/A N/A self failure N/A N/A N/A BODY failed:  failure N/A N/A N/A self sendLine 423 no such article number in this group N/A do_NEXT N/A N/A self N/A N/A N/A i N/A N/A self currentIndex 1 N/A defer N/A N/A N/A N/A self factory backend articleRequest N/A self currentGroup i N/A N/A N/A defer addCallbacks N/A self _gotStat N/A self _errStat N/A do_LAST N/A N/A self N/A N/A N/A i N/A N/A self currentIndex 1 N/A defer N/A N/A N/A N/A self factory backend articleRequest N/A self currentGroup i N/A N/A N/A defer addCallbacks N/A self _gotStat N/A self _errStat N/A do_MODE N/A N/A self cmd N/A N/A N/A cmd N/A N/A N/A N/A cmd strip upper N/A N/A cmd READER N/A N/A N/A self servingSlave 0 N/A N/A N/A self sendLine 200 Hello, you can post N/A N/A N/A cmd STREAM N/A N/A N/A N/A self sendLine 500 Command not understood N/A N/A N/A N/A self sendLine 500 Command not understood N/A do_QUIT N/A N/A self N/A N/A N/A N/A N/A self sendLine 205 goodbye N/A N/A N/A N/A self transport loseConnection N/A do_HELP N/A N/A self N/A N/A N/A N/A N/A self sendLine 100 help text follows N/A N/A N/A self sendLine Read the RFC. N/A N/A N/A self sendLine . N/A do_SLAVE N/A N/A self N/A N/A N/A N/A N/A self sendLine 202 slave status noted N/A N/A self servingeSlave 1 N/A do_XPATH N/A N/A self article N/A N/A N/A N/A N/A self sendLine 502 access restriction or permission denied N/A do_XINDEX N/A N/A self article N/A N/A N/A N/A N/A self sendLine 502 access restriction or permission denied N/A do_XROVER N/A N/A self range N/A None N/A N/A 
        Handle a request for references of all messages in the currently
        selected group.

        This generates the same response a I{XHDR References} request would
        generate.
         N/A N/A N/A self do_XHDR References range N/A do_IHAVE N/A N/A self id N/A N/A N/A N/A N/A N/A N/A N/A N/A self factory backend articleExistsRequest id addCallback N/A self _foundArticle N/A _foundArticle N/A N/A self result N/A N/A N/A result N/A N/A N/A N/A self sendLine 437 article rejected - do not try again N/A N/A N/A N/A self sendLine 335 send article to be transferred.  End with <CR-LF>.<CR-LF> N/A N/A self inputHandler N/A self _handleIHAVE N/A N/A self message N/A _handleIHAVE N/A N/A self line N/A N/A N/A N/A line . N/A N/A N/A self inputHandler None N/A N/A N/A N/A N/A N/A N/A self factory backend postRequest N/A self message addCallbacks N/A self _gotIHAVE N/A self _errIHAVE N/A N/A self message N/A N/A N/A self message N/A N/A N/A self message line N/A _gotIHAVE N/A N/A self result N/A N/A N/A N/A N/A self sendLine 235 article transferred ok N/A _errIHAVE N/A N/A self failure N/A N/A N/A IHAVE failed:  failure N/A N/A N/A self sendLine 436 transfer failed - try again later N/A N/A UsenetClientProtocol N/A NNTPClient N/A N/A 
    A client that connects to an NNTP server and asks for articles new
    since a certain time.
     __init__ N/A N/A self groups date storage N/A N/A N/A 
        Fetch all new articles from the given groups since the
        given date and dump them into the given storage.  groups
        is a list of group names.  date is an integer or floating
        point representing seconds since the epoch (GMT).  storage is
        any object that implements the NewsStorage interface.
         N/A N/A N/A NNTPClient __init__ self N/A N/A N/A self groups N/A self date N/A self storage N/A groups date storage N/A connectionMade N/A N/A self N/A N/A N/A N/A N/A NNTPClient connectionMade self N/A N/A N/A log msg N/A Initiating update with remote host:  N/A str N/A N/A N/A self transport getPeer N/A N/A N/A self setStream N/A N/A N/A self fetchNewNews N/A self groups N/A self date N/A articleExists N/A N/A self exists article N/A N/A N/A exists N/A N/A N/A N/A self fetchArticle article N/A N/A N/A self count N/A N/A self count 1 N/A N/A self disregard N/A N/A self disregard 1 N/A gotNewNews N/A N/A self news N/A N/A N/A N/A self disregard 0 N/A N/A self count N/A len news N/A N/A N/A log msg N/A N/A N/A Transfering  N/A str N/A self count  articles from remote host:  N/A str N/A N/A N/A self transport getPeer N/A i news N/A N/A N/A N/A N/A N/A N/A self storage articleExistsRequest i addCallback N/A self articleExists i N/A getNewNewsFailed N/A N/A self reason N/A N/A N/A N/A N/A log msg N/A N/A N/A Updated failed ( reason ) with remote host:  N/A str N/A N/A N/A self transport getPeer N/A N/A N/A self quit N/A gotArticle N/A N/A self article N/A N/A N/A N/A N/A N/A self storage postRequest article N/A N/A self count N/A N/A self count 1 N/A N/A N/A self count N/A N/A N/A N/A log msg N/A Completed update with remote host:  N/A str N/A N/A N/A self transport getPeer N/A N/A self disregard N/A N/A N/A N/A log msg N/A Disregarded %d articles. N/A N/A self disregard N/A N/A N/A N/A self factory updateChecks N/A N/A N/A self transport getPeer N/A N/A N/A self quit N/A N/A