Let us walk on the 3-isogeny graph
|
Public Member Functions | |
__init__ (self, fallback_encoding, errors='replace') | |
decode (self, input, final=False) | |
Data Fields | |
encoding | |
Protected Attributes | |
_fallback_encoding | |
_errors | |
_buffer | |
_decoder | |
“Push”-based decoder. :param fallback_encoding: An :class:`Encoding` object or a label string. The encoding to use if :obj:`input` does note have a BOM. :param errors: Type of error handling. See :func:`codecs.register`. :raises: :exc:`~exceptions.LookupError` for an unknown encoding label.
Definition at line 272 of file __init__.py.
__init__ | ( | self, | |
fallback_encoding, | |||
errors = 'replace' |
|||
) |
Definition at line 283 of file __init__.py.
Referenced by Protocol.__init_subclass__().
decode | ( | self, | |
input, | |||
final = False |
|||
) |
Decode one chunk of the input. :param input: A byte string. :param final: Indicate that no more input is available. Must be :obj:`True` if this is the last call. :returns: An Unicode string.
Definition at line 295 of file __init__.py.
References Unpacker._buffer, Packer._buffer, Console._buffer(), Console._buffer, IncrementalDecoder._buffer, HTTPResponse._decoder, IncrementalDecoder._decoder, pip._vendor.webencodings._detect_bom(), IncrementalDecoder._errors, IncrementalDecoder._fallback_encoding, IndexContent.encoding, StreamWrapper.encoding(), ResultDict.encoding, Formatter.encoding, HtmlFormatter.encoding, FontManager.encoding, ImageFormatter.encoding, RawTokenFormatter.encoding, SvgFormatter.encoding, Lexer.encoding, Response.encoding, ConsoleOptions.encoding, Console.encoding(), IncrementalDecoder.encoding, and i.
|
protected |
Definition at line 287 of file __init__.py.
Referenced by Console._check_buffer(), Unpacker._get_extradata(), Unpacker._got_extradata(), Packer._pack(), Packer._pack_array_header(), Packer._pack_bin_header(), Packer._pack_map_header(), Packer._pack_raw_header(), Unpacker._read(), Unpacker._read_header(), Unpacker._reserve(), Packer.bytes(), Console.control(), IncrementalDecoder.decode(), Console.end_capture(), Unpacker.feed(), Packer.getbuffer(), Console.log(), Packer.pack(), Packer.pack_array_header(), Packer.pack_ext_type(), Packer.pack_map_header(), Packer.pack_map_pairs(), Console.print(), Packer.reset(), and Console.update_screen_lines().
|
protected |
Definition at line 288 of file __init__.py.
Referenced by HTTPResponse._decode(), HTTPResponse._flush_decoder(), HTTPResponse._init_decoder(), and IncrementalDecoder.decode().
|
protected |
Definition at line 286 of file __init__.py.
Referenced by IncrementalDecoder.decode().
|
protected |
Definition at line 285 of file __init__.py.
Referenced by IncrementalDecoder.decode().
encoding |
Definition at line 293 of file __init__.py.
Referenced by TestcaseFormatter.__init__(), HtmlFormatter._decodeifneeded(), HtmlFormatter._wrap_full(), ConsoleOptions.ascii_only(), IncrementalDecoder.decode(), Formatter.format(), NullFormatter.format(), TestcaseFormatter.format(), LatexFormatter.format_unencoded(), SvgFormatter.format_unencoded(), Response.json(), Console.options(), and Response.text().