Module Expr Str Import alias Import alias Import alias identifier ImportFrom alias identifier alias identifier ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias alias Assign NameStore Num Assign NameStore Call NameLoad Call NameLoad Assign NameStore Num ClassDef bases body FunctionDef arguments args NameParam defaults vararg body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad AugAssignAdd AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Num While CompareLt NameLoad AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Break Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareLt NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad orelse Assign AttributeStore NameLoad attr Str decorator_list decorator_list NameLoad ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body If NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Return Num decorator_list FunctionDef arguments args NameParam defaults body If NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Num If NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr Str Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot AttributeLoad NameLoad attr body If NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr Str orelse Expr Call NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Num body Expr Call NameLoad AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr orelse Expr Call NameLoad AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return CompareNotEq Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body If NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr Str NameLoad BinOpSub Call NameLoad AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Num body Expr Call NameLoad AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr orelse Expr Call NameLoad AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad AugAssignAdd AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr If CompareGt AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Call NameLoad AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If NameLoad body Expr Call AttributeLoad NameLoad attr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad If AttributeLoad NameLoad attr body If NameLoad body Expr Call AttributeLoad NameLoad attr Str Return If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Return Expr Call AttributeLoad NameLoad attr decorator_list decorator_list NameLoad ClassDef bases NameLoad NameLoad body Pass decorator_list ClassDef bases NameLoad NameLoad NameLoad body Assign NameStore TupleLoad Str Str Str Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad NameLoad NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If CompareIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpAdd Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Return Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad If CompareNotIn NameLoad AttributeLoad NameLoad attr body Return If CompareIn NameLoad AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list NameLoad ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Return Num decorator_list FunctionDef arguments args NameParam defaults body If NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Num If NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr Str Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot AttributeLoad NameLoad attr body If NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr Str orelse Expr Call NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Num body Expr Call NameLoad AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr orelse Expr Call NameLoad AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return CompareNotEq Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body If NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr Str NameLoad BinOpSub Call NameLoad AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Num body Expr Call NameLoad AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr orelse Expr Call NameLoad AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr Str If UnaryOpNot NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr Str Return If UnaryOpNot AttributeLoad NameLoad attr body Expr Call NameLoad AttributeLoad NameLoad attr Str Return Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad AugAssignAdd AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr If CompareGt AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Call NameLoad AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If NameLoad body Expr Call AttributeLoad NameLoad attr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad If AttributeLoad NameLoad attr body If NameLoad body Expr Call AttributeLoad NameLoad attr Str Return If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad If AttributeLoad NameLoad attr body If NameLoad body Expr Call AttributeLoad NameLoad attr Str Return Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Return Expr Call AttributeLoad NameLoad attr decorator_list decorator_list NameLoad ClassDef bases NameLoad NameLoad body Pass decorator_list ClassDef bases AttributeLoad NameLoad attr NameLoad NameLoad NameLoad body Assign NameStore TupleLoad Str Str Str Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num NameLoad NameLoad NameLoad NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore NameLoad For NameStore Call NameLoad Num body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Break handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str Raise Call NameLoad Str If NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If NameLoad body Expr Call AttributeLoad NameLoad attr Str TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Return ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Return If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad TryExcept body Delete SubscriptDel AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list NameLoad ClassDef bases NameLoad NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad FunctionDef arguments args NameParam defaults body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad While Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad If CompareIs NameLoad NameLoad body Break Expr Yield Call NameLoad SubscriptLoad NameLoad Index Num keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index NameLoad NameLoad decorator_list If AttributeLoad NameLoad attr body For NameStore Call NameLoad AttributeLoad NameLoad attr body Expr Yield NameLoad If AttributeLoad NameLoad attr body For NameStore Call NameLoad AttributeLoad NameLoad attr body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad For NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad For NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list NameLoad ClassDef bases NameLoad NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad If NameLoad body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad Str Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad Str If NameLoad body Delete SubscriptDel AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad Delete SubscriptDel AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list decorator_list NameLoad
N/A N/A 
TCP Communications Module
 N/A asyncore N/A socket N/A cPickle pickle time time _time sleep _sleep StringIO StringIO debugging ModuleLogger DebugContents bacpypes_debugging core deferred task FunctionTask OneShotFunction comm PDU Client Server comm ServiceAccessPoint ApplicationServiceElement N/A _debug 0 N/A _log N/A ModuleLogger N/A globals N/A REBIND_SLEEP_INTERVAL 2.0 PickleActorMixIn N/A N/A __init__ N/A N/A self N/A args N/A N/A _debug N/A N/A N/A N/A PickleActorMixIn _debug __init__ %r args N/A N/A N/A N/A super PickleActorMixIn self __init__ args N/A N/A self pickleBuffer N/A indication N/A N/A self pdu N/A N/A N/A _debug N/A N/A N/A N/A PickleActorMixIn _debug indication %r pdu N/A N/A pdu pduData N/A N/A pickle dumps N/A pdu pduData N/A N/A N/A N/A super PickleActorMixIn self indication pdu N/A response N/A N/A self pdu N/A N/A N/A _debug N/A N/A N/A N/A PickleActorMixIn _debug response %r pdu N/A N/A self pickleBuffer N/A pdu pduData N/A strm N/A StringIO N/A self pickleBuffer N/A pos 0 N/A N/A pos N/A strm len N/A N/A N/A N/A msg N/A N/A pickle load strm N/A N/A N/A N/A N/A rpdu N/A PDU msg N/A N/A N/A rpdu update pdu N/A N/A N/A N/A super PickleActorMixIn self response rpdu N/A pos N/A N/A strm tell N/A N/A pos N/A strm len N/A N/A N/A self pickleBuffer N/A N/A self pickleBuffer N/A pos N/A N/A N/A self pickleBuffer N/A N/A bacpypes_debugging TCPClient N/A N/A asyncore dispatcher N/A __init__ N/A N/A self peer N/A N/A N/A _debug N/A N/A N/A N/A TCPClient _debug __init__ %r peer N/A N/A N/A N/A asyncore dispatcher __init__ self N/A N/A N/A self create_socket N/A socket AF_INET N/A socket SOCK_STREAM N/A N/A self peer peer N/A N/A self request N/A N/A self socketError None N/A _debug N/A N/A N/A N/A TCPClient _debug     - try to connect N/A N/A N/A self connect peer N/A _debug N/A N/A N/A N/A TCPClient _debug     - connected (maybe) N/A handle_connect N/A N/A self N/A N/A N/A _debug N/A N/A N/A deferred N/A TCPClient _debug handle_connect N/A handle_expt N/A N/A self N/A N/A N/A N/A readable N/A N/A self N/A N/A N/A 1 N/A handle_read N/A N/A self N/A N/A N/A _debug N/A N/A N/A deferred N/A TCPClient _debug handle_read N/A N/A N/A msg N/A N/A self recv 65536 N/A _debug N/A N/A N/A deferred N/A TCPClient _debug     - received %d octets N/A len msg N/A N/A self socketError None N/A N/A N/A self socket N/A N/A _debug N/A N/A N/A deferred N/A TCPClient _debug     - socket was closed N/A N/A N/A deferred N/A self response N/A PDU msg N/A N/A N/A N/A socket error N/A err N/A N/A N/A N/A N/A err args N/A 0 111 N/A N/A N/A deferred N/A TCPClient _error connection to %r refused N/A self peer N/A N/A N/A deferred N/A TCPClient _error TCPClient.handle_read socket error: %r err N/A N/A self socketError err N/A writable N/A N/A self N/A N/A N/A N/A N/A len N/A self request 0 N/A handle_write N/A N/A self N/A N/A N/A _debug N/A N/A N/A deferred N/A TCPClient _debug handle_write N/A N/A N/A sent N/A N/A self send N/A self request N/A _debug N/A N/A N/A deferred N/A TCPClient _debug     - sent %d octets, %d remaining sent N/A N/A len N/A self request sent N/A N/A self socketError None N/A N/A self request N/A N/A self request N/A sent N/A N/A N/A N/A socket error N/A err N/A N/A N/A N/A N/A err args N/A 0 111 N/A N/A N/A deferred N/A TCPClient _error connection to %r refused N/A self peer N/A N/A N/A deferred N/A TCPClient _error handle_write socket error: %s err N/A N/A self socketError err N/A handle_close N/A N/A self N/A N/A N/A _debug N/A N/A N/A deferred N/A TCPClient _debug handle_close N/A N/A N/A self close N/A N/A self socket None N/A indication N/A N/A self pdu N/A N/A N/A Requests are queued for delivery. N/A _debug N/A N/A N/A N/A TCPClient _debug indication %r pdu N/A N/A self request N/A pdu pduData N/A N/A bacpypes_debugging TCPClientActor N/A TCPClient N/A __init__ N/A N/A self director peer N/A N/A N/A _debug N/A N/A N/A N/A TCPClientActor _debug __init__ %r %r director peer N/A N/A N/A TCPClient __init__ self peer N/A N/A self director director N/A N/A self timeout N/A director timeout N/A N/A N/A self timeout 0 N/A N/A N/A self timer N/A FunctionTask N/A self idle_timeout N/A N/A N/A N/A self timer install_task N/A N/A _time N/A self timeout N/A N/A N/A self timer None N/A N/A self flushTask None N/A N/A N/A N/A self director add_actor self N/A handle_close N/A N/A self N/A N/A N/A _debug N/A N/A N/A N/A TCPClientActor _debug handle_close N/A N/A self flushTask N/A N/A N/A N/A N/A self flushTask suspend_task N/A N/A self timer N/A N/A N/A N/A N/A self timer suspend_task N/A N/A N/A N/A self director remove_actor self N/A N/A N/A TCPClient handle_close self N/A idle_timeout N/A N/A self N/A N/A N/A _debug N/A N/A N/A N/A TCPClientActor _debug idle_timeout N/A N/A N/A self handle_close N/A indication N/A N/A self pdu N/A N/A N/A _debug N/A N/A N/A N/A TCPClientActor _debug indication %r pdu N/A N/A self flushTask N/A N/A _debug N/A N/A N/A N/A TCPServerActor _debug     - flushing N/A N/A N/A self timer N/A N/A N/A N/A N/A self timer install_task N/A N/A _time N/A self timeout N/A N/A N/A TCPClient indication self pdu N/A response N/A N/A self pdu N/A N/A N/A _debug N/A N/A N/A N/A TCPClientActor _debug response %r pdu N/A N/A pdu pduSource N/A self peer N/A N/A self timer N/A N/A N/A N/A N/A self timer install_task N/A N/A _time N/A self timeout N/A N/A N/A N/A self director response pdu N/A flush N/A N/A self N/A N/A N/A _debug N/A N/A N/A N/A TCPClientActor _debug flush N/A N/A self flushTask None N/A N/A self request N/A N/A N/A self flushTask N/A OneShotFunction N/A self flush N/A N/A N/A N/A self handle_close N/A N/A bacpypes_debugging TCPPickleClientActor N/A PickleActorMixIn TCPClientActor N/A N/A N/A TCPClientDirector N/A Server ServiceAccessPoint DebugContents N/A N/A _debug_contents N/A timeout actorClass clients reconnect __init__ N/A N/A self timeout actorClass sid sapID N/A 0 TCPClientActor None None N/A N/A _debug N/A N/A N/A N/A TCPClientDirector _debug __init__ timeout=%r actorClass=%r sid=%r sapID=%r timeout actorClass sid sapID N/A N/A N/A Server __init__ self sid N/A N/A N/A ServiceAccessPoint __init__ self sapID N/A N/A N/A issubclass actorClass TCPClientActor N/A N/A N/A TypeError actorClass must be a subclass of TCPClientActor N/A N/A self actorClass actorClass N/A N/A self timeout timeout N/A N/A self clients N/A N/A N/A self reconnect N/A N/A add_actor N/A N/A self actor N/A N/A N/A Add an actor when a new one is connected. N/A _debug N/A N/A N/A N/A TCPClientDirector _debug add_actor %r actor N/A N/A N/A self clients N/A N/A actor peer actor N/A N/A self serviceElement N/A N/A N/A N/A self sap_request addPeer N/A actor peer N/A remove_actor N/A N/A self actor N/A N/A N/A Remove an actor when the socket is closed. N/A _debug N/A N/A N/A N/A TCPClientDirector _debug remove_actor %r actor N/A N/A N/A self clients N/A N/A actor peer N/A N/A self serviceElement N/A N/A N/A N/A self sap_request delPeer N/A actor peer N/A N/A N/A actor peer N/A self reconnect N/A N/A connect_task N/A FunctionTask N/A self connect N/A actor peer N/A N/A N/A connect_task install_task N/A N/A _time N/A N/A self reconnect N/A N/A actor peer N/A get_actor N/A N/A self address N/A N/A N/A  Get the actor associated with an address or None.  N/A N/A N/A N/A self clients get address None N/A connect N/A N/A self address reconnect N/A 0 N/A N/A _debug N/A N/A N/A N/A TCPClientDirector _debug connect %r reconnect=%r address reconnect N/A N/A address N/A self clients N/A N/A N/A client N/A N/A self actorClass self address N/A _debug N/A N/A N/A N/A TCPClientDirector _debug     - client: %r client N/A reconnect N/A N/A N/A N/A self reconnect N/A address reconnect N/A disconnect N/A N/A self address N/A N/A N/A _debug N/A N/A N/A N/A TCPClientDirector _debug disconnect %r address N/A N/A address N/A self clients N/A N/A N/A N/A address N/A self reconnect N/A N/A N/A N/A self reconnect N/A address N/A N/A N/A N/A N/A self clients N/A address handle_close N/A indication N/A N/A self pdu N/A N/A N/A Direct this PDU to the appropriate server, create a
        connection if one hasn't already been created. N/A _debug N/A N/A N/A N/A TCPClientDirector _debug indication %r pdu N/A addr N/A pdu pduDestination N/A client N/A N/A N/A self clients get addr None N/A N/A client N/A N/A client N/A N/A self actorClass self addr N/A N/A N/A client indication pdu N/A N/A bacpypes_debugging TCPServer N/A N/A asyncore dispatcher N/A __init__ N/A N/A self sock peer N/A N/A N/A _debug N/A N/A N/A N/A TCPServer _debug __init__ %r %r sock peer N/A N/A N/A N/A asyncore dispatcher __init__ self sock N/A N/A self peer peer N/A N/A self request N/A N/A self socketError None N/A handle_connect N/A N/A self N/A N/A N/A _debug N/A N/A N/A deferred N/A TCPServer _debug handle_connect N/A readable N/A N/A self N/A N/A N/A 1 N/A handle_read N/A N/A self N/A N/A N/A _debug N/A N/A N/A deferred N/A TCPServer _debug handle_read N/A N/A N/A msg N/A N/A self recv 65536 N/A _debug N/A N/A N/A deferred N/A TCPServer _debug     - received %d octets N/A len msg N/A N/A self socketError None N/A N/A N/A self socket N/A N/A _debug N/A N/A N/A deferred N/A TCPServer _debug     - socket was closed N/A N/A N/A deferred N/A self response N/A PDU msg N/A N/A N/A N/A socket error N/A err N/A N/A N/A N/A N/A err args N/A 0 111 N/A N/A N/A deferred N/A TCPServer _error connection to %r refused N/A self peer N/A N/A N/A deferred N/A TCPServer _error handle_read socket error: %s err N/A N/A self socketError err N/A writable N/A N/A self N/A N/A N/A N/A N/A len N/A self request 0 N/A handle_write N/A N/A self N/A N/A N/A _debug N/A N/A N/A deferred N/A TCPServer _debug handle_write N/A N/A N/A sent N/A N/A self send N/A self request N/A _debug N/A N/A N/A deferred N/A TCPServer _debug     - sent %d octets, %d remaining sent N/A N/A len N/A self request sent N/A N/A self socketError None N/A N/A self request N/A N/A self request N/A sent N/A N/A N/A N/A socket error N/A why N/A N/A N/A N/A N/A why args N/A 0 111 N/A N/A N/A deferred N/A TCPServer _error connection to %r refused N/A self peer N/A N/A N/A deferred N/A TCPServer _error handle_write socket error: %s why N/A N/A self socketError why N/A handle_close N/A N/A self N/A N/A N/A _debug N/A N/A N/A deferred N/A TCPServer _debug handle_close N/A N/A self N/A N/A N/A deferred N/A TCPServer _warning handle_close: self is None N/A N/A N/A N/A self socket N/A N/A N/A deferred N/A TCPServer _warning handle_close: socket already closed N/A N/A N/A N/A self close N/A N/A self socket None N/A indication N/A N/A self pdu N/A N/A N/A Requests are queued for delivery. N/A _debug N/A N/A N/A N/A TCPServer _debug indication %r pdu N/A N/A self request N/A pdu pduData N/A N/A bacpypes_debugging TCPServerActor N/A TCPServer N/A __init__ N/A N/A self director sock peer N/A N/A N/A _debug N/A N/A N/A N/A TCPServerActor _debug __init__ %r %r %r director sock peer N/A N/A N/A TCPServer __init__ self sock peer N/A N/A self director director N/A N/A self timeout N/A director timeout N/A N/A N/A self timeout 0 N/A N/A N/A self timer N/A FunctionTask N/A self idle_timeout N/A N/A N/A N/A self timer install_task N/A N/A _time N/A self timeout N/A N/A N/A self timer None N/A N/A self flushTask None N/A N/A N/A N/A self director add_actor self N/A handle_close N/A N/A self N/A N/A N/A _debug N/A N/A N/A N/A TCPServerActor _debug handle_close N/A N/A self flushTask N/A N/A N/A N/A N/A self flushTask suspend_task N/A N/A N/A N/A self director remove_actor self N/A N/A N/A TCPServer handle_close self N/A idle_timeout N/A N/A self N/A N/A N/A _debug N/A N/A N/A N/A TCPServerActor _debug idle_timeout N/A N/A N/A self handle_close N/A indication N/A N/A self pdu N/A N/A N/A _debug N/A N/A N/A N/A TCPServerActor _debug indication %r pdu N/A N/A self flushTask N/A N/A _debug N/A N/A N/A N/A TCPServerActor _debug     - flushing N/A N/A N/A self timer N/A N/A N/A N/A N/A self timer install_task N/A N/A _time N/A self timeout N/A N/A N/A TCPServer indication self pdu N/A response N/A N/A self pdu N/A N/A N/A _debug N/A N/A N/A N/A TCPServerActor _debug response %r pdu N/A N/A self flushTask N/A N/A _debug N/A N/A N/A N/A TCPServerActor _debug     - flushing N/A N/A N/A pdu pduSource N/A self peer N/A N/A self timer N/A N/A N/A N/A N/A self timer install_task N/A N/A _time N/A self timeout N/A N/A N/A N/A self director response pdu N/A flush N/A N/A self N/A N/A N/A _debug N/A N/A N/A N/A TCPServerActor _debug flush N/A N/A self flushTask None N/A N/A self request N/A N/A N/A self flushTask N/A OneShotFunction N/A self flush N/A N/A N/A N/A self handle_close N/A N/A bacpypes_debugging TCPPickleServerActor N/A PickleActorMixIn TCPServerActor N/A N/A N/A TCPServerDirector N/A N/A asyncore dispatcher Server ServiceAccessPoint DebugContents N/A N/A _debug_contents N/A port timeout actorClass servers __init__ N/A N/A self address listeners timeout reuse actorClass cid sapID N/A 5 0 False TCPServerActor None None N/A N/A _debug N/A N/A N/A N/A TCPServerDirector _debug __init__ %r listeners=%r timeout=%r reuse=%r actorClass=%r cid=%r sapID=%r address listeners timeout reuse actorClass cid sapID N/A N/A N/A Server __init__ self cid N/A N/A N/A ServiceAccessPoint __init__ self sapID N/A N/A self port address N/A N/A self timeout timeout N/A N/A N/A issubclass actorClass TCPServerActor N/A N/A N/A TypeError actorClass must be a subclass of TCPServerActor N/A N/A self actorClass actorClass N/A N/A self servers N/A N/A N/A N/A N/A asyncore dispatcher __init__ self N/A N/A N/A self create_socket N/A socket AF_INET N/A socket SOCK_STREAM N/A reuse N/A N/A N/A N/A self set_reuse_addr N/A hadBindErrors False N/A i N/A range 30 N/A N/A N/A N/A N/A N/A self bind address N/A N/A N/A N/A N/A socket error N/A err N/A N/A hadBindErrors True N/A N/A N/A TCPServerDirector _warning bind error %r, sleep and try again err N/A N/A _sleep REBIND_SLEEP_INTERVAL N/A N/A N/A N/A TCPServerDirector _error unable to bind N/A N/A RuntimeError unable to bind N/A hadBindErrors N/A N/A N/A N/A TCPServerDirector _info bind successful N/A N/A N/A self listen listeners N/A handle_accept N/A N/A self N/A N/A N/A _debug N/A N/A N/A N/A TCPServerDirector _debug handle_accept N/A N/A N/A N/A client addr N/A N/A self accept N/A N/A N/A N/A socket error N/A N/A N/A N/A TCPServerDirector _warning accept() threw an exception N/A N/A N/A TypeError N/A N/A N/A N/A TCPServerDirector _warning accept() threw EWOULDBLOCK N/A N/A _debug N/A N/A N/A N/A TCPServerDirector _debug     - connection %r, %r client addr N/A server N/A N/A self actorClass self client addr N/A N/A N/A self servers N/A addr server N/A server N/A handle_close N/A N/A self N/A N/A N/A _debug N/A N/A N/A N/A TCPServerDirector _debug handle_close N/A N/A N/A self close N/A add_actor N/A N/A self actor N/A N/A N/A _debug N/A N/A N/A N/A TCPServerDirector _debug add_actor %r actor N/A N/A N/A self servers N/A N/A actor peer actor N/A N/A self serviceElement N/A N/A N/A N/A self sap_request addPeer N/A actor peer N/A remove_actor N/A N/A self actor N/A N/A N/A _debug N/A N/A N/A N/A TCPServerDirector _debug remove_actor %r actor N/A N/A N/A N/A N/A self servers N/A N/A actor peer N/A N/A N/A KeyError N/A N/A N/A N/A TCPServerDirector _warning remove_actor: %r not an actor actor N/A N/A self serviceElement N/A N/A N/A N/A self sap_request delPeer N/A actor peer N/A get_actor N/A N/A self address N/A N/A N/A  Get the actor associated with an address or None.  N/A N/A N/A N/A self servers get address None N/A indication N/A N/A self pdu N/A N/A N/A Direct this PDU to the appropriate server. N/A _debug N/A N/A N/A N/A TCPServerDirector _debug indication %r pdu N/A addr N/A pdu pduDestination N/A server N/A N/A N/A self servers get addr None N/A N/A server N/A N/A N/A RuntimeError not a connected server N/A N/A N/A server indication pdu N/A N/A bacpypes_debugging StreamToPacket N/A Client Server N/A __init__ N/A N/A self fn cid sid N/A None None N/A N/A _debug N/A N/A N/A N/A StreamToPacket _debug __init__ %r cid=%r, sid=%r fn cid sid N/A N/A N/A Client __init__ self cid N/A N/A N/A Server __init__ self sid N/A N/A self packetFn fn N/A N/A self upstreamBuffer N/A N/A N/A self downstreamBuffer N/A N/A packetize N/A N/A self pdu streamBuffer N/A N/A N/A _debug N/A N/A N/A N/A StreamToPacket _debug packetize %r ... pdu chop N/A N/A addr N/A N/A N/A _debug N/A N/A N/A N/A StreamToPacket _debug chop %r addr N/A buff N/A N/A N/A streamBuffer get addr N/A pdu pduData N/A _debug N/A N/A N/A N/A StreamToPacket _debug     - buff: %r buff N/A 1 N/A N/A packet N/A N/A self packetFn buff N/A _debug N/A N/A N/A N/A StreamToPacket _debug     - packet: %r packet N/A N/A packet None N/A N/A N/A N/A N/A PDU N/A packet N/A 0 source N/A pdu pduSource destination N/A pdu pduDestination user_data N/A pdu pduUserData N/A buff N/A packet N/A 1 N/A N/A streamBuffer N/A addr buff N/A N/A N/A pdu pduSource N/A N/A pdu N/A chop N/A pdu pduSource N/A N/A N/A pdu N/A N/A pdu pduDestination N/A N/A pdu N/A chop N/A pdu pduDestination N/A N/A N/A pdu N/A indication N/A N/A self pdu N/A N/A N/A Message going downstream. N/A _debug N/A N/A N/A N/A StreamToPacket _debug indication %r pdu N/A packet N/A N/A self packetize pdu N/A self downstreamBuffer N/A N/A N/A N/A self request packet N/A confirmation N/A N/A self pdu N/A N/A N/A Message going upstream. N/A _debug N/A N/A N/A N/A StreamToPacket _debug StreamToPacket.confirmation %r pdu N/A packet N/A N/A self packetize pdu N/A self upstreamBuffer N/A N/A N/A N/A self response packet N/A N/A bacpypes_debugging StreamToPacketSAP N/A ApplicationServiceElement ServiceAccessPoint N/A __init__ N/A N/A self stp aseID sapID N/A None None N/A N/A _debug N/A N/A N/A N/A StreamToPacketSAP _debug __init__ %r aseID=%r, sapID=%r stp aseID sapID N/A N/A N/A ApplicationServiceElement __init__ self aseID N/A N/A N/A ServiceAccessPoint __init__ self sapID N/A N/A self stp stp N/A indication N/A N/A self addPeer delPeer N/A None None N/A N/A _debug N/A N/A N/A N/A StreamToPacketSAP _debug indication addPeer=%r delPeer=%r addPeer delPeer N/A addPeer N/A N/A N/A N/A N/A self stp upstreamBuffer N/A addPeer N/A N/A N/A N/A self stp downstreamBuffer N/A addPeer N/A delPeer N/A N/A N/A N/A N/A self stp upstreamBuffer N/A delPeer N/A N/A N/A N/A self stp downstreamBuffer N/A delPeer N/A N/A self serviceElement N/A N/A N/A N/A self sap_request addPeer addPeer delPeer delPeer N/A N/A bacpypes_debugging