Module ImportFrom alias ImportFrom alias alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad If NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If BoolOpOr UnaryOpNot Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr CompareNotEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num body Raise Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareLt NameLoad Num body Assign NameStore BinOpAdd Call NameLoad NameLoad NameLoad If BoolOpOr CompareLt NameLoad Num CompareGt NameLoad Call NameLoad NameLoad body Raise Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad decorator_list Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Raise Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list Assign AttributeStore NameLoad attr ListLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Return NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad If CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Raise Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body If UnaryOpNot BoolOpAnd Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num body Raise Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str orelse Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return NameLoad Raise Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list Assign AttributeStore NameLoad attr ListLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Return NameLoad decorator_list Assign AttributeStore NameLoad attr ListLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad Str body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Num If Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Num orelse Assert Num Str decorator_list Assign AttributeStore NameLoad attr ListLoad NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults Str body Return Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list Assign AttributeStore NameLoad attr ListLoad NameLoad Str NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad Str body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Num If Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad If BoolOpOr UnaryOpNot Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr CompareNotEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num body Raise Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Return Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Num orelse Assert Num Str decorator_list Assign AttributeStore NameLoad attr ListLoad NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad orelse Raise Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list Assign AttributeStore NameLoad attr ListLoad NameLoad NameLoad NameLoad ImportFrom alias FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr Str Str Assert Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad NameLoad NameLoad NameLoad Assign SubscriptStore Call NameLoad Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr Str Str Assert Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad Call NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad NameLoad Str NameLoad NameLoad Assign SubscriptStore Call NameLoad Index NameLoad NameLoad decorator_list For NameStore ListLoad Str Str Str Str Str Str body Expr Call NameLoad NameLoad For NameStore ListLoad Str Str Str Str Str Str body Expr Call NameLoad NameLoad If Call NameLoad NameLoad Str body Expr Call NameLoad Str Expr Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Str Num NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad Num body Assign NameStore Str orelse If CompareEq NameLoad Num body Assign NameStore Str orelse Assign NameStore Str Assign NameStore Call NameLoad NameLoad If NameLoad body Assign NameStore Num Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list Assign AttributeStore NameLoad attr ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad
N/A pypy.interpreter.error OperationError pypy.interpreter.gateway ObjSpace NoneNotWrapped pypy.interpreter.baseobjspace W_Root CodecState N/A object N/A __init__ N/A N/A self space N/A N/A N/A N/A self codec_search_path N/A N/A N/A self codec_search_cache N/A N/A N/A self codec_error_registry N/A N/A N/A self codec_need_encodings True N/A N/A self decode_error_handler N/A N/A self make_errorhandler space True N/A N/A self encode_error_handler N/A N/A self make_errorhandler space False N/A make_errorhandler N/A N/A self space decode N/A N/A unicode_call_errorhandler N/A N/A errors encoding reason input startpos endpos N/A N/A N/A w_errorhandler N/A lookup_error space errors N/A decode N/A N/A w_cls N/A space w_UnicodeDecodeError N/A N/A w_cls N/A space w_UnicodeEncodeError N/A w_exc N/A N/A space call_function w_cls N/A N/A space wrap encoding N/A N/A space wrap input N/A N/A space wrap startpos N/A N/A space wrap endpos N/A N/A space wrap reason N/A w_res N/A N/A space call_function w_errorhandler w_exc N/A N/A N/A N/A N/A space is_true N/A N/A space isinstance w_res N/A space w_tuple N/A N/A N/A space int_w N/A N/A space len w_res 2 N/A N/A N/A OperationError N/A space w_TypeError N/A N/A space wrap N/A encoding error handler must return (unicode, int) tuple, not %s N/A N/A space str_w N/A N/A space repr w_res N/A N/A w_replace w_newpos N/A N/A space viewiterable w_res 2 N/A newpos N/A N/A space int_w w_newpos N/A N/A newpos 0 N/A N/A newpos N/A N/A len input newpos N/A N/A N/A newpos 0 N/A newpos N/A len input N/A N/A N/A OperationError N/A space w_IndexError N/A N/A space wrap N/A position %d from error handler out of bounds newpos N/A decode N/A N/A replace N/A N/A space unicode_w w_replace N/A N/A replace newpos N/A N/A replace N/A N/A space str_w w_replace N/A N/A replace newpos N/A N/A unicode_call_errorhandler N/A N/A register_codec N/A N/A space w_search_function N/A N/A N/A register(search_function)
    
    Register a codec search function. Search functions are expected to take
    one argument, the encoding name in all lower case letters, and return
    a tuple of functions (encoder, decoder, stream_reader, stream_writer).
     N/A state N/A N/A space fromcache CodecState N/A N/A N/A space is_true N/A N/A space callable w_search_function N/A N/A N/A N/A N/A state codec_search_path append w_search_function N/A N/A N/A OperationError N/A space w_TypeError N/A N/A space wrap argument must be callable N/A N/A N/A register_codec unwrap_spec N/A ObjSpace W_Root lookup_codec N/A N/A space encoding N/A N/A N/A lookup(encoding) -> (encoder, decoder, stream_reader, stream_writer)
    Looks up a codec tuple in the Python codec registry and returns
    a tuple of functions.
     N/A state N/A N/A space fromcache CodecState N/A normalized_encoding N/A N/A N/A N/A encoding replace - lower N/A w_result N/A N/A N/A state codec_search_cache get normalized_encoding None N/A N/A w_result None N/A N/A w_result N/A N/A state codec_need_encodings N/A N/A w_import N/A N/A space getattr N/A space builtin N/A N/A space wrap __import__ N/A N/A N/A space call_function w_import N/A N/A space wrap encodings N/A N/A state codec_need_encodings False N/A N/A N/A len N/A state codec_search_path 0 N/A N/A N/A OperationError N/A space w_LookupError N/A N/A space wrap no codec search functions registered: can't find encoding N/A w_search N/A state codec_search_path N/A N/A w_result N/A N/A space call_function w_search N/A N/A space wrap normalized_encoding N/A N/A N/A N/A space is_w w_result N/A space w_None N/A N/A N/A N/A N/A N/A space is_true N/A N/A space isinstance w_result N/A space w_tuple N/A N/A N/A space int_w N/A N/A space len w_result 4 N/A N/A N/A OperationError N/A space w_TypeError N/A N/A space wrap codec search functions must return 4-tuples N/A N/A N/A N/A state codec_search_cache N/A normalized_encoding w_result N/A w_result N/A N/A OperationError N/A space w_LookupError N/A N/A space wrap N/A unknown encoding: %s encoding N/A N/A N/A lookup_codec unwrap_spec N/A ObjSpace str lookup_error N/A N/A space errors N/A N/A N/A lookup_error(errors) -> handler

    Return the error handler for the specified error handling name
    or raise a LookupError, if no handler exists under this name.
     N/A state N/A N/A space fromcache CodecState N/A N/A N/A w_err_handler N/A N/A state codec_error_registry N/A errors N/A N/A N/A KeyError N/A N/A N/A OperationError N/A space w_LookupError N/A N/A space wrap N/A unknown error handler name %s errors N/A w_err_handler N/A N/A N/A lookup_error unwrap_spec N/A ObjSpace str encode N/A N/A space w_obj w_encoding errors N/A NoneNotWrapped strict N/A N/A encode(obj, [encoding[,errors]]) -> object
    
    Encodes obj using the codec registered for encoding. encoding defaults
    to the default encoding. errors may be given to set a different error
    handling scheme. Default is 'strict' meaning that encoding errors raise
    a ValueError. Other possible values are 'ignore', 'replace' and
    'xmlcharrefreplace' as well as any other name registered with
    codecs.register_error that can handle ValueErrors.
     N/A N/A w_encoding None N/A N/A encoding N/A N/A space sys defaultencoding N/A N/A encoding N/A N/A space str_w w_encoding N/A w_encoder N/A N/A space getitem N/A lookup_codec space encoding N/A N/A space wrap 0 N/A N/A N/A space is_true w_encoder N/A N/A w_res N/A N/A space call_function w_encoder w_obj N/A N/A space wrap errors N/A N/A N/A space getitem w_res N/A N/A space wrap 0 N/A N/A 0 XXX, what to do here? N/A N/A N/A encode unwrap_spec N/A ObjSpace W_Root W_Root str buffer_encode N/A N/A space s errors N/A strict N/A N/A N/A N/A space newtuple N/A N/A N/A space wrap s N/A N/A space wrap N/A len s N/A N/A N/A buffer_encode unwrap_spec N/A ObjSpace bufferstr str decode N/A N/A space w_obj w_encoding errors N/A NoneNotWrapped strict N/A N/A decode(obj, [encoding[,errors]]) -> object

    Decodes obj using the codec registered for encoding. encoding defaults
    to the default encoding. errors may be given to set a different error
    handling scheme. Default is 'strict' meaning that encoding errors raise
    a ValueError. Other possible values are 'ignore' and 'replace'
    as well as any other name registerd with codecs.register_error that is
    able to handle ValueErrors.
     N/A N/A w_encoding None N/A N/A encoding N/A N/A space sys defaultencoding N/A N/A encoding N/A N/A space str_w w_encoding N/A w_decoder N/A N/A space getitem N/A lookup_codec space encoding N/A N/A space wrap 1 N/A N/A N/A space is_true w_decoder N/A N/A w_res N/A N/A space call_function w_decoder w_obj N/A N/A space wrap errors N/A N/A N/A N/A N/A space is_true N/A N/A space isinstance w_res N/A space w_tuple N/A N/A N/A space int_w N/A N/A space len w_res 2 N/A N/A N/A OperationError N/A space w_TypeError N/A N/A space wrap encoder must return a tuple (object, integer) N/A N/A N/A space getitem w_res N/A N/A space wrap 0 N/A N/A 0 XXX, what to do here? N/A N/A N/A decode unwrap_spec N/A ObjSpace W_Root W_Root str register_error N/A N/A space errors w_handler N/A N/A N/A register_error(errors, handler)

    Register the specified error handler under the name
    errors. handler must be a callable object, that
    will be called with an exception instance containing
    information about the location of the encoding/decoding
    error and must return a (replacement, new position) tuple.
     N/A state N/A N/A space fromcache CodecState N/A N/A N/A space is_true N/A N/A space callable w_handler N/A N/A N/A N/A state codec_error_registry N/A errors w_handler N/A N/A N/A OperationError N/A space w_TypeError N/A N/A space wrap handler must be callable N/A N/A N/A register_error unwrap_spec N/A ObjSpace str W_Root pypy.rlib runicode make_encoder_wrapper N/A N/A name N/A N/A N/A rname N/A unicode_encode_%s N/A N/A N/A name replace _encode N/A N/A hasattr runicode rname wrap_encoder N/A N/A space uni errors N/A strict N/A N/A state N/A N/A space fromcache CodecState N/A func N/A getattr runicode rname N/A result N/A func uni N/A len uni errors N/A state encode_error_handler N/A N/A N/A space newtuple N/A N/A N/A space wrap result N/A N/A space wrap N/A len uni N/A N/A N/A wrap_encoder func_name rname N/A N/A wrap_encoder unwrap_spec N/A ObjSpace unicode str N/A N/A N/A globals N/A name wrap_encoder N/A make_decoder_wrapper N/A N/A name N/A N/A N/A rname N/A str_decode_%s N/A N/A N/A name replace _decode N/A N/A hasattr runicode rname wrap_decoder N/A N/A space string errors w_final N/A strict False N/A N/A final N/A N/A space is_true w_final N/A state N/A N/A space fromcache CodecState N/A func N/A getattr runicode rname N/A N/A result consumed N/A func string N/A len string errors final N/A state decode_error_handler N/A N/A N/A space newtuple N/A N/A N/A space wrap result N/A N/A space wrap consumed N/A N/A N/A wrap_decoder func_name rname N/A N/A wrap_decoder unwrap_spec N/A ObjSpace bufferstr str W_Root N/A N/A N/A globals N/A name wrap_decoder N/A N/A encoders N/A ascii_encode latin_1_encode utf_8_encode utf_16_encode utf_16_be_encode utf_16_le_encode N/A N/A N/A make_encoder_wrapper encoders N/A decoders N/A ascii_decode latin_1_decode utf_8_decode utf_16_decode utf_16_be_decode utf_16_le_decode N/A N/A N/A make_decoder_wrapper decoders N/A N/A hasattr runicode str_decode_mbcs N/A N/A N/A make_encoder_wrapper mbcs_encode N/A N/A make_decoder_wrapper mbcs_decode utf_16_ex_decode N/A N/A space data errors byteorder w_final N/A strict 0 False N/A N/A None
     N/A final N/A N/A space is_true w_final N/A state N/A N/A space fromcache CodecState N/A N/A byteorder 0 N/A N/A byteorder native N/A N/A N/A byteorder -1 N/A N/A byteorder little N/A N/A byteorder big N/A consumed N/A len data N/A final N/A N/A consumed 0 N/A N/A res consumed byteorder N/A N/A runicode str_decode_utf_16_helper data N/A len data errors final N/A state decode_error_handler byteorder N/A N/A N/A space newtuple N/A N/A N/A space wrap res N/A N/A space wrap consumed N/A N/A space wrap byteorder N/A N/A N/A utf_16_ex_decode unwrap_spec N/A ObjSpace str str int W_Root