Module Assign NameStore Str Import alias Import alias Import alias Import alias Import alias Import alias Import alias identifier Import alias identifier Import alias Import alias Import alias Import alias Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num ImportFrom alias ImportFrom alias alias ClassDef bases body Assign NameStore Num Assign NameStore Call NameLoad Assign NameStore Num Assign NameStore NameLoad FunctionDef arguments args NameParam defaults vararg body Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Dict Str Str BinOpMod Str NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpAdd Call AttributeLoad NameLoad attr BinOpAdd ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Lambda arguments args NameParam defaults BinOpMod Str NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore AttributeLoad NameLoad attr Slice ListLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Num If BoolOpAnd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BoolOpOr CompareIs NameLoad NameLoad CompareEq SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Assign NameStore Num If UnaryOpNot CompareIs NameLoad NameLoad body If CompareIn TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore ListLoad TupleLoad NameLoad NameLoad Assign NameStore Num orelse Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body If CompareEq SubscriptLoad NameLoad Index Num NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Num If UnaryOpNot NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore BinOpMod Str NameLoad orelse Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Raise Call NameLoad BinOpMod Str NameLoad For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Assign NameStore ListComp NameLoad comprehension TupleStore NameStore NameStore NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AugAssignAdd NameStore ListComp BinOpMod Str NameLoad comprehension NameStore NameLoad Return BinOpAdd Call AttributeLoad NameLoad attr NameLoad Str Str decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If CompareNotEq Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr body Raise NameLoad Str orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq Call AttributeLoad NameLoad attr Call NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Assign NameStore BinOpAdd NameLoad Str Assign NameStore Call NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body If CompareEq Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Slice NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad orelse Return SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse Expr Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq Call NameLoad NameLoad Call NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign AttributeStore NameLoad attr NameLoad Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore BinOpMod AttributeLoad NameLoad attr Dict Str Str NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore Num If CompareEq AttributeLoad NameLoad attr Str body If CompareEq NameLoad Str body If UnaryOpNot Call AttributeLoad NameLoad attr Str body Assign NameStore Num orelse Assign SubscriptStore NameLoad Index Str Str orelse Assign NameStore Num orelse If CompareEq AttributeLoad NameLoad attr Str body If CompareEq NameLoad Str body Assign NameStore Num orelse If UnaryOpNot Call AttributeLoad NameLoad attr Str body If Call AttributeLoad NameLoad attr Str body If UnaryOpNot CompareEq SubscriptLoad NameLoad Index Str Str body Assign NameStore Num orelse If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str Str Assign NameStore Num orelse Assign NameStore Num orelse If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If NameLoad body Assign SubscriptStore NameLoad Index Str Str If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr If CompareGt NameLoad Num body Assign NameStore Num orelse Assign NameStore Num Assign NameStore UnaryOpUSub NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad Num Assign TupleStore NameStore NameStore Call NameLoad NameLoad Num If NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad orelse Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Return BinOpAdd Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num BinOpMod Str TupleLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Dict Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Str Str Str Str Str Str decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore BinOpLShift Num Num Assign NameStore NameLoad Assign NameStore Call NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Slice Num Num Return BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Assign NameStore Num FunctionDef arguments args NameParam defaults body If UnaryOpNot BinOpMod AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list Assign NameStore BinOpMult Num Num FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If CompareGt BinOpSub NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call NameLoad NameLoad Return NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore SubscriptLoad Call AttributeLoad NameLoad attr Slice Num If CompareIs NameLoad NameLoad body Raise NameLoad NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str While BoolOpAnd NameLoad UnaryOpNot SubscriptLoad NameLoad Index Num body Assign NameStore SubscriptLoad NameLoad Slice Num If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Return Assign NameStore SubscriptLoad NameLoad Index Num Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Slice Num Assign TupleStore NameStore NameStore Call NameLoad NameLoad If CompareIn Str NameLoad body If NameLoad body Assign NameStore BinOpAdd BinOpAdd Call NameLoad NameLoad Str NameLoad orelse Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Num Return For NameStore AttributeLoad AttributeLoad NameLoad attr attr body If Call AttributeLoad NameLoad attr NameLoad body TryExcept body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign TupleStore TupleStore NameStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad Str TryExcept body Expr Call AttributeLoad NameLoad attr Num handlers ExceptHandler body Pass Return Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return Num orelse If Call NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If Call NameLoad NameLoad Str body Return UnaryOpNot Call AttributeLoad NameLoad attr orelse Return Num decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TryExcept body Assign AttributeStore NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Num decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Str Return ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Str Return Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore BinOpDiv Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore Num Return Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd ListLoad Call AttributeLoad NameLoad attr ListLoad BinOpMod Str AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr BinOpMod Str NameLoad BinOpMod Str Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Str NameLoad ListLoad Call AttributeLoad NameLoad attr Str decorator_list decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad Str body Return Call AttributeLoad NameLoad attr orelse Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad For NameStore Call NameLoad Call NameLoad NameLoad body If CompareIn SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Str body Assign SubscriptStore NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index Num SubscriptLoad SubscriptLoad NameLoad Index NameLoad Slice Num orelse Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd NameLoad CompareEq Call AttributeLoad NameLoad attr Call NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd NameLoad CompareEq Call AttributeLoad NameLoad attr Call NameLoad NameLoad body Return NameLoad Return Str decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd NameLoad CompareEq Call AttributeLoad NameLoad attr Call NameLoad NameLoad body If Call AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr Num orelse Assign NameStore NameLoad Return TupleLoad Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num NameLoad orelse Return TupleLoad NameLoad NameLoad NameLoad decorator_list If CompareEq NameLoad Str body Import alias If CompareLt Call NameLoad AttributeLoad NameLoad attr Num body Print BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Num orelse Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Str Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num keyword Num keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If CompareIn Str AttributeLoad NameLoad attr body FunctionDef arguments args defaults body TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass decorator_list Import alias Expr Call AttributeLoad NameLoad attr Str Str orelse Expr Call AttributeLoad NameLoad attr
N/A N/A RCS_ID $Id: http_server.py,v 1.12 2004/04/21 15:11:44 akuchling Exp $ N/A os N/A re N/A socket N/A string N/A sys N/A time N/A asyncore_25 asyncore N/A asynchat_25 asynchat N/A http_date N/A producers N/A status_handler N/A logger N/A VERSION_STRING N/A N/A N/A string split RCS_ID N/A 2 counter counter urllib unquote splitquery http_request N/A N/A N/A reply_code 200 N/A request_counter N/A counter N/A use_chunked 1 N/A collector None __init__ N/A N/A self N/A args N/A N/A N/A N/A self channel N/A self request N/A self command N/A self uri N/A self version N/A self header args N/A N/A self outgoing N/A N/A N/A self reply_headers N/A Server Date N/A Medusa/%s VERSION_STRING N/A N/A http_date build_http_date N/A N/A time time N/A N/A self __reply_header_list N/A N/A N/A self request_number N/A N/A N/A http_request request_counter increment N/A N/A self _split_uri None N/A N/A self _header_cache N/A N/A __setitem__ N/A N/A self key value N/A N/A N/A N/A N/A self reply_headers N/A key value N/A __getitem__ N/A N/A self key N/A N/A N/A N/A N/A self reply_headers N/A key N/A has_key N/A N/A self key N/A N/A N/A N/A N/A N/A self reply_headers has_key key N/A build_reply_header N/A N/A self N/A N/A N/A N/A N/A N/A string join N/A N/A N/A N/A self response N/A self reply_code N/A map N/A N/A N/A x N/A N/A %s: %s x N/A N/A N/A self reply_headers items N/A add_header N/A N/A self name value N/A N/A N/A  Adds a header to the reply headers  N/A N/A N/A N/A self __reply_header_list append N/A name value N/A clear_headers N/A N/A self N/A N/A N/A  Clears the reply header list  N/A N/A N/A N/A self reply_headers clear N/A N/A N/A self __reply_header_list N/A N/A N/A remove_header N/A N/A self name value N/A None N/A N/A  Removes the specified header.
        If a value is provided, the name and 
        value must match to remove the header.  
        If the value is None, removes all headers
        with that name. N/A found_it 0 N/A N/A N/A N/A N/A self reply_headers has_key name N/A N/A value None N/A N/A N/A self reply_headers N/A name value N/A N/A N/A N/A self reply_headers N/A name N/A found_it 1 N/A N/A N/A value None N/A N/A N/A N/A name value N/A self __reply_header_list N/A N/A removed_headers N/A N/A name value N/A found_it 1 N/A N/A removed_headers N/A N/A h N/A self __reply_header_list N/A N/A N/A N/A h N/A 0 name N/A N/A N/A N/A removed_headers append h N/A found_it 1 N/A N/A found_it N/A N/A N/A value None N/A N/A search_value N/A %s name N/A N/A search_value N/A %s: %s N/A name value N/A N/A LookupError N/A Header '%s' not found search_value N/A h removed_headers N/A N/A N/A N/A N/A self __reply_header_list remove h N/A get_reply_headers N/A N/A self N/A N/A N/A  Get the tuple of headers that will be used
        for generating reply headers N/A header_tuples N/A N/A self __reply_header_list N/A N/A header_names N/A n N/A N/A n v header_tuples N/A N/A n v N/A N/A N/A self reply_headers items N/A N/A N/A n header_names N/A N/A N/A N/A header_tuples append N/A n v N/A N/A N/A header_names append n N/A header_tuples N/A get_reply_header_text N/A N/A self N/A N/A N/A  Gets the reply header (including status and 
        additional crlf) N/A header_tuples N/A N/A self get_reply_headers N/A headers N/A N/A N/A self response N/A self reply_code N/A headers N/A N/A %s: %s h N/A h header_tuples N/A N/A N/A N/A string join headers N/A N/A path_regex N/A N/A re compile ([^;?#]*)(;[^?#]*)?(\?[^#]*)?(#.*)? split_uri N/A N/A self N/A N/A N/A N/A N/A self _split_uri None N/A N/A m N/A N/A N/A self path_regex match N/A self uri N/A N/A N/A N/A m end N/A len N/A self uri N/A N/A ValueError Broken URI N/A N/A N/A self _split_uri N/A N/A m groups N/A N/A self _split_uri N/A get_header_with_regex N/A N/A self head_reg group N/A N/A N/A line N/A self header N/A N/A m N/A N/A head_reg match line N/A N/A N/A N/A m end N/A len line N/A N/A N/A N/A m group group N/A N/A get_header N/A N/A self header N/A N/A N/A header N/A N/A string lower header N/A hc N/A self _header_cache N/A N/A N/A N/A hc has_key header N/A N/A h N/A header :  N/A hl N/A len h N/A line N/A self header N/A N/A N/A N/A N/A string lower N/A line N/A hl h N/A N/A r N/A line N/A hl N/A N/A hc N/A header r N/A r N/A N/A hc N/A header None N/A None N/A N/A N/A hc N/A header N/A collect_incoming_data N/A N/A self data N/A N/A N/A N/A self collector N/A N/A N/A N/A N/A self collector collect_incoming_data data N/A N/A N/A N/A self log_info N/A Dropping %d bytes of incoming request data N/A len data warning N/A found_terminator N/A N/A self N/A N/A N/A N/A self collector N/A N/A N/A N/A N/A self collector found_terminator N/A N/A N/A N/A self log_info Unexpected end-of-record for incoming request warning N/A push N/A N/A self thing N/A N/A N/A N/A N/A type thing N/A type N/A N/A N/A N/A N/A self outgoing append N/A N/A producers simple_producer thing N/A N/A N/A N/A N/A self outgoing append thing N/A response N/A N/A self code N/A 200 N/A N/A message N/A N/A self responses N/A code N/A N/A self reply_code code N/A N/A HTTP/%s %d %s N/A N/A self version code message N/A error N/A N/A self code N/A N/A N/A N/A self reply_code code N/A message N/A N/A self responses N/A code N/A s N/A N/A self DEFAULT_ERROR_MESSAGE N/A code message code message N/A N/A self N/A Content-Length N/A len s N/A N/A self N/A Content-Type text/html N/A N/A N/A self push s N/A N/A N/A self done N/A N/A reply_now error done N/A N/A self N/A N/A N/A finalize this transaction - send output to the http channel N/A connection N/A N/A string lower N/A get_header CONNECTION N/A self header N/A close_it 0 N/A wrap_in_chunking 0 N/A N/A N/A self version 1.0 N/A N/A N/A connection keep-alive N/A N/A N/A N/A N/A self has_key Content-Length N/A N/A close_it 1 N/A N/A N/A self N/A Connection Keep-Alive N/A N/A close_it 1 N/A N/A N/A N/A self version 1.1 N/A N/A N/A connection close N/A N/A close_it 1 N/A N/A N/A N/A N/A self has_key Content-Length N/A N/A N/A N/A self has_key Transfer-Encoding N/A N/A N/A N/A N/A self N/A Transfer-Encoding chunked N/A N/A close_it 1 N/A N/A N/A self use_chunked N/A N/A N/A self N/A Transfer-Encoding chunked N/A wrap_in_chunking 1 N/A N/A close_it 1 N/A N/A N/A N/A self version None N/A N/A close_it 1 N/A outgoing_header N/A N/A producers simple_producer N/A N/A self get_reply_header_text N/A close_it N/A N/A N/A self N/A Connection close N/A wrap_in_chunking N/A N/A outgoing_producer N/A N/A producers chunked_producer N/A N/A producers composite_producer N/A self outgoing N/A outgoing_producer N/A N/A producers composite_producer N/A outgoing_header outgoing_producer N/A N/A N/A N/A N/A self outgoing insert 0 outgoing_header N/A outgoing_producer N/A N/A producers composite_producer N/A self outgoing N/A N/A N/A N/A self channel push_with_producer N/A N/A producers globbing_producer N/A N/A producers hooked_producer outgoing_producer N/A self log N/A N/A N/A self channel current_request None N/A close_it N/A N/A N/A N/A N/A self channel close_when_done N/A log_date_string N/A N/A self when N/A N/A N/A gmt N/A N/A time gmtime when N/A N/A N/A time daylight N/A gmt N/A 8 N/A N/A tz N/A time altzone N/A N/A tz N/A time timezone N/A N/A tz 0 N/A N/A neg 1 N/A N/A neg 0 N/A tz N/A tz N/A N/A h rem N/A divmod tz 3600 N/A N/A m rem N/A divmod rem 60 N/A neg N/A N/A offset N/A -%02d%02d N/A h m N/A N/A offset N/A +%02d%02d N/A h m N/A N/A N/A N/A time strftime %d/%b/%Y:%H:%M:%S  gmt offset N/A log N/A N/A self bytes N/A N/A N/A N/A N/A N/A N/A N/A self channel server logger log N/A N/A N/A self channel addr N/A 0 N/A %d - - [%s] "%s" %d %d
 N/A N/A N/A N/A self channel addr N/A 1 N/A N/A self log_date_string N/A N/A time time N/A self request N/A self reply_code bytes N/A N/A responses N/A 100 101 200 201 202 203 204 205 206 300 301 302 303 304 305 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 500 501 502 503 504 505 Continue Switching Protocols OK Created Accepted Non-Authoritative Information No Content Reset Content Partial Content Multiple Choices Moved Permanently Moved Temporarily See Other Not Modified Use Proxy Bad Request Unauthorized Payment Required Forbidden Not Found Method Not Allowed Not Acceptable Proxy Authentication Required Request Time-out Conflict Gone Length Required Precondition Failed Request Entity Too Large Request-URI Too Large Unsupported Media Type Internal Server Error Not Implemented Bad Gateway Service Unavailable Gateway Time-out HTTP Version not supported N/A DEFAULT_ERROR_MESSAGE N/A N/A string join N/A <head> <title>Error response</title> </head> <body> <h1>Error response</h1> <p>Error code %(code)d. <p>Message: %(message)s. </body> N/A http_channel N/A N/A asynchat async_chat N/A N/A ac_out_buffer_size N/A 1 16 N/A current_request None N/A channel_counter N/A counter __init__ N/A N/A self server conn addr N/A N/A N/A N/A self channel_number N/A N/A N/A http_channel channel_counter increment N/A N/A self request_counter N/A counter N/A N/A N/A N/A asynchat async_chat __init__ self conn N/A N/A self server server N/A N/A self addr addr N/A N/A N/A self set_terminator N/A N/A self in_buffer N/A N/A self creation_time N/A int N/A N/A time time N/A N/A N/A self check_maintenance N/A __repr__ N/A N/A self N/A N/A N/A ar N/A N/A N/A N/A asynchat async_chat __repr__ self N/A 1 -1 N/A N/A <%s channel#: %s requests:%s> N/A ar N/A self channel_number N/A self request_counter N/A N/A maintenance_interval 500 check_maintenance N/A N/A self N/A N/A N/A N/A N/A N/A self channel_number N/A self maintenance_interval N/A N/A N/A N/A self maintenance N/A maintenance N/A N/A self N/A N/A N/A N/A N/A self kill_zombies N/A N/A zombie_timeout N/A 30 60 kill_zombies N/A N/A self N/A N/A N/A now N/A int N/A N/A time time N/A channel N/A N/A N/A asyncore socket_map values N/A N/A N/A N/A channel __class__ N/A self __class__ N/A N/A N/A N/A now N/A channel creation_time N/A channel zombie_timeout N/A N/A N/A N/A channel close N/A send N/A N/A self data N/A N/A N/A result N/A N/A N/A asynchat async_chat send self data N/A N/A N/A N/A N/A self server bytes_out increment N/A len data N/A result N/A recv N/A N/A self buffer_size N/A N/A N/A N/A N/A result N/A N/A N/A asynchat async_chat recv self buffer_size N/A N/A N/A N/A N/A self server bytes_in increment N/A len result N/A result N/A N/A N/A MemoryError N/A N/A N/A N/A sys exit Out of Memory! N/A handle_error N/A N/A self N/A N/A N/A N/A t v N/A N/A N/A sys exc_info N/A 2 N/A N/A t SystemExit N/A N/A t v N/A N/A N/A N/A N/A asynchat async_chat handle_error self N/A log N/A N/A self N/A args N/A N/A N/A collect_incoming_data N/A N/A self data N/A N/A N/A N/A self current_request N/A N/A N/A N/A N/A self current_request collect_incoming_data data N/A N/A N/A self in_buffer N/A N/A self in_buffer data N/A found_terminator N/A N/A self N/A N/A N/A N/A self current_request N/A N/A N/A N/A N/A self current_request found_terminator N/A N/A header N/A self in_buffer N/A N/A self in_buffer N/A lines N/A N/A string split header N/A N/A lines N/A N/A lines N/A 0 N/A N/A lines N/A lines N/A 1 N/A N/A lines N/A N/A N/A N/A self close_when_done N/A N/A request N/A lines N/A 0 N/A N/A command uri version N/A crack_request request N/A header N/A join_headers N/A lines N/A 1 N/A N/A rpath rquery N/A splitquery uri N/A N/A % rpath N/A N/A rquery N/A N/A uri N/A N/A N/A unquote rpath ? rquery N/A N/A uri N/A unquote rpath N/A r N/A http_request self request command uri version header N/A N/A N/A N/A self request_counter increment N/A N/A N/A N/A N/A self server total_requests increment N/A N/A command None N/A N/A N/A N/A self log_info N/A Bad HTTP request: %s N/A repr request error N/A N/A N/A r error 400 N/A N/A h N/A N/A self server handlers N/A N/A N/A N/A h match r N/A N/A N/A N/A N/A self current_request r N/A N/A N/A h handle_request r N/A N/A N/A N/A N/A N/A N/A N/A self server exceptions increment N/A N/A N/A file fun line t v tbinfo N/A N/A asyncore compact_traceback N/A N/A N/A self log_info N/A Server Error: %s, %s: file: %s line: %s N/A t v file line error N/A N/A N/A N/A N/A r error 500 N/A N/A N/A N/A N/A N/A N/A N/A r error 404 N/A writable_for_proxy N/A N/A self N/A N/A N/A N/A self ac_out_buffer N/A N/A 1 N/A N/A N/A len N/A self producer_fifo N/A N/A p N/A N/A N/A self producer_fifo first N/A N/A hasattr p stalled N/A N/A N/A N/A N/A p stalled N/A N/A 1 N/A N/A http_server N/A N/A asyncore dispatcher N/A N/A SERVER_IDENT N/A HTTP Server (V%s) VERSION_STRING N/A channel_class http_channel __init__ N/A N/A self ip port resolver logger_object N/A None None N/A N/A N/A self ip ip N/A N/A self port port 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 handlers N/A N/A N/A logger_object N/A N/A logger_object N/A N/A logger file_logger N/A sys stdout N/A N/A N/A self set_reuse_addr N/A N/A N/A self bind N/A ip port N/A N/A N/A self listen 1024 N/A N/A host port N/A N/A N/A self socket getsockname N/A N/A ip N/A N/A N/A N/A self log_info Computing default hostname warning N/A ip N/A N/A socket gethostbyname N/A N/A socket gethostname N/A N/A N/A N/A self server_name N/A N/A N/A socket gethostbyaddr ip N/A 0 N/A N/A N/A N/A socket error N/A N/A N/A N/A self log_info Cannot do reverse lookup warning N/A N/A self server_name ip N/A N/A self server_port port N/A N/A self total_clients N/A counter N/A N/A self total_requests N/A counter N/A N/A self exceptions N/A counter N/A N/A self bytes_out N/A counter N/A N/A self bytes_in N/A counter N/A N/A logger_object N/A N/A logger_object N/A N/A logger file_logger N/A sys stdout N/A resolver N/A N/A N/A self logger N/A N/A logger resolving_logger resolver logger_object N/A N/A N/A self logger N/A N/A logger unresolving_logger logger_object N/A N/A N/A self log_info N/A Medusa (V%s) started at %s
	Hostname: %s
	Port:%d
 N/A VERSION_STRING N/A N/A time ctime N/A N/A time time N/A self server_name port N/A writable N/A N/A self N/A N/A N/A 0 N/A handle_read 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 N/A self accepting N/A handle_connect N/A N/A self N/A N/A N/A N/A handle_accept N/A N/A self N/A N/A N/A N/A N/A N/A self total_clients increment N/A N/A N/A N/A conn 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 self log_info warning: server accept() threw an exception warning N/A N/A N/A TypeError N/A N/A N/A N/A self log_info warning: server accept() threw EWOULDBLOCK warning N/A N/A N/A N/A self channel_class self conn addr N/A install_handler N/A N/A self handler back N/A 0 N/A N/A back N/A N/A N/A N/A N/A self handlers append handler N/A N/A N/A N/A N/A self handlers insert 0 handler N/A remove_handler N/A N/A self handler N/A N/A N/A N/A N/A N/A self handlers remove handler N/A status N/A N/A self N/A N/A nice_bytes N/A N/A n N/A N/A N/A N/A N/A string join N/A N/A status_handler english_bytes n N/A N/A handler_stats N/A filter None N/A map maybe_status N/A self handlers N/A N/A self total_clients N/A N/A ratio N/A N/A N/A N/A self total_requests as_long N/A float N/A N/A N/A self total_clients as_long N/A N/A ratio 0.0 N/A N/A N/A producers composite_producer N/A N/A N/A N/A N/A producers lines_producer N/A N/A <h2>%s</h2> N/A self SERVER_IDENT N/A <br>Listening on: <b>Host:</b> %s N/A self server_name N/A <b>Port:</b> %d N/A self port N/A <p><ul><li>Total <b>Clients:</b> %s N/A self total_clients N/A <b>Requests:</b> %s N/A self total_requests N/A <b>Requests/Client:</b> %.1f ratio N/A <li>Total <b>Bytes In:</b> %s N/A nice_bytes N/A N/A N/A self bytes_in as_long N/A <b>Bytes Out:</b> %s N/A nice_bytes N/A N/A N/A self bytes_out as_long N/A <li>Total <b>Exceptions:</b> %s N/A self exceptions </ul><p><b>Extension List</b><ul> handler_stats N/A N/A N/A producers simple_producer </ul> N/A N/A maybe_status N/A N/A thing N/A N/A N/A N/A hasattr thing status N/A N/A N/A N/A thing status N/A N/A None N/A N/A CONNECTION N/A N/A re compile Connection: (.*) N/A re IGNORECASE join_headers N/A N/A headers N/A N/A N/A r N/A N/A i N/A range N/A len headers N/A N/A N/A N/A N/A headers N/A i N/A 0 N/A N/A N/A r N/A -1 N/A N/A r N/A -1 N/A N/A headers N/A i N/A 1 N/A N/A N/A N/A r append N/A headers N/A i N/A r N/A get_header N/A N/A head_reg lines group N/A 1 N/A N/A line lines N/A N/A m N/A N/A head_reg match line N/A N/A m N/A N/A N/A m end N/A len line N/A N/A N/A N/A m group group N/A N/A get_header_match N/A N/A head_reg lines N/A N/A N/A line lines N/A N/A m N/A N/A head_reg match line N/A N/A m N/A N/A N/A m end N/A len line N/A N/A m N/A N/A N/A REQUEST N/A N/A re compile ([^ ]+) ([^ ]+)(( HTTP/([0-9.]+))$|$) crack_request N/A N/A r N/A N/A N/A m N/A N/A REQUEST match r N/A N/A m N/A N/A N/A m end N/A len r N/A N/A N/A N/A m group 3 N/A N/A version N/A N/A m group 5 N/A N/A version None N/A N/A N/A N/A m group 1 N/A N/A m group 2 version N/A N/A N/A None None None N/A N/A N/A __name__ __main__ N/A N/A sys N/A N/A N/A len N/A sys argv 2 N/A N/A N/A usage: %s <root> <port> N/A N/A sys argv N/A 0 N/A N/A monitor N/A filesys N/A default_handler N/A status_handler N/A ftp_server N/A chat_server N/A resolver N/A logger N/A rs N/A N/A resolver caching_resolver 127.0.0.1 N/A lg N/A N/A logger file_logger N/A sys stdout N/A ms N/A N/A monitor secure_monitor_server fnord 127.0.0.1 9999 N/A fs N/A N/A filesys os_filesystem N/A N/A sys argv N/A 1 N/A dh N/A N/A default_handler default_handler fs N/A hs N/A http_server N/A N/A string atoi N/A N/A sys argv N/A 2 rs lg N/A N/A N/A hs install_handler dh N/A ftp N/A N/A ftp_server ftp_server N/A N/A ftp_server dummy_authorizer N/A N/A sys argv N/A 1 port 8021 resolver rs logger_object lg N/A cs N/A N/A chat_server chat_server 7777 N/A sh N/A N/A status_handler status_extension N/A hs ms ftp cs rs N/A N/A N/A hs install_handler sh N/A N/A -p N/A sys argv N/A profile_loop N/A N/A N/A N/A N/A N/A N/A N/A N/A asyncore loop N/A N/A N/A KeyboardInterrupt N/A N/A N/A N/A profile N/A N/A N/A profile run profile_loop() profile.out N/A N/A N/A N/A asyncore loop