Let us walk on the 3-isogeny graph
|
Data Structures | |
class | Packer |
class | StringIO |
class | Unpacker |
Functions | |
dict_iteritems (d) | |
_is_recursionerror (e) | |
_check_type_strict (obj, t, type=type, tuple=tuple) | |
_get_data_from_buffer (obj) | |
unpackb (packed, **kwargs) | |
_unpack_from (f, b, o=0) | |
Variables | |
int | PY2 = 2 |
tuple | int_types = (int, long) |
unicode = str | |
xrange = range | |
RecursionError = RuntimeError | |
bool | USING_STRINGBUILDER = True |
newlist_hint = lambda size: [] | |
int | EX_SKIP = 0 |
int | EX_CONSTRUCT = 1 |
int | EX_READ_ARRAY_HEADER = 2 |
int | EX_READ_MAP_HEADER = 3 |
int | TYPE_IMMEDIATE = 0 |
int | TYPE_ARRAY = 1 |
int | TYPE_MAP = 2 |
int | TYPE_RAW = 3 |
int | TYPE_BIN = 4 |
int | TYPE_EXT = 5 |
int | DEFAULT_RECURSE_LIMIT = 511 |
_unpack_from = struct.unpack_from | |
str | _NO_FORMAT_USED = "" |
dict | _MSGPACK_HEADERS |
Fallback pure Python implementation of msgpack
|
protected |
Definition at line 96 of file fallback.py.
|
protected |
Definition at line 103 of file fallback.py.
References i.
Referenced by Unpacker.feed().
|
protected |
Definition at line 27 of file fallback.py.
References i.
Referenced by pip._vendor.msgpack.fallback.unpackb().
|
protected |
Explicit type cast for legacy struct.unpack_from
Definition at line 139 of file fallback.py.
References i.
dict_iteritems | ( | d | ) |
Definition at line 11 of file fallback.py.
References i.
Referenced by Packer._pack().
unpackb | ( | packed, | |
** | kwargs | ||
) |
Unpack an object from `packed`. Raises ``ExtraData`` when *packed* contains extra bytes. Raises ``ValueError`` when *packed* is incomplete. Raises ``FormatError`` when *packed* is not valid msgpack. Raises ``StackError`` when *packed* contains too nested. Other exceptions can be raised during unpacking. See :class:`Unpacker` for options.
Definition at line 110 of file fallback.py.
References pip._vendor.msgpack.fallback._is_recursionerror(), and i.
|
protected |
Definition at line 147 of file fallback.py.
|
protected |
Definition at line 146 of file fallback.py.
|
protected |
Definition at line 144 of file fallback.py.
Referenced by Unpacker._read_header().
int DEFAULT_RECURSE_LIMIT = 511 |
Definition at line 93 of file fallback.py.
int EX_CONSTRUCT = 1 |
Definition at line 82 of file fallback.py.
int EX_READ_ARRAY_HEADER = 2 |
Definition at line 83 of file fallback.py.
int EX_READ_MAP_HEADER = 3 |
Definition at line 84 of file fallback.py.
int EX_SKIP = 0 |
Definition at line 81 of file fallback.py.
int_types = (int, long) |
Definition at line 9 of file fallback.py.
Definition at line 73 of file fallback.py.
int PY2 = 2 |
Definition at line 7 of file fallback.py.
RecursionError = RuntimeError |
Definition at line 25 of file fallback.py.
int TYPE_ARRAY = 1 |
Definition at line 87 of file fallback.py.
int TYPE_BIN = 4 |
Definition at line 90 of file fallback.py.
int TYPE_EXT = 5 |
Definition at line 91 of file fallback.py.
int TYPE_IMMEDIATE = 0 |
Definition at line 86 of file fallback.py.
int TYPE_MAP = 2 |
Definition at line 88 of file fallback.py.
int TYPE_RAW = 3 |
Definition at line 89 of file fallback.py.
unicode = str |
Definition at line 16 of file fallback.py.
USING_STRINGBUILDER = True |
Definition at line 49 of file fallback.py.
xrange = range |
Definition at line 17 of file fallback.py.
Referenced by Packer._pack(), and Unpacker._unpack().