msgpack 1.1.0__tar.gz → 1.1.0rc2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {msgpack-1.1.0/msgpack.egg-info → msgpack-1.1.0rc2}/PKG-INFO +1 -1
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack/__init__.py +2 -2
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack/unpack.h +5 -5
- {msgpack-1.1.0 → msgpack-1.1.0rc2/msgpack.egg-info}/PKG-INFO +1 -1
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/COPYING +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/MANIFEST.in +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/README.md +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack/_cmsgpack.c +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack/_cmsgpack.pyx +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack/_packer.pyx +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack/_unpacker.pyx +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack/exceptions.py +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack/ext.py +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack/fallback.py +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack/pack.h +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack/pack_template.h +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack/sysdep.h +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack/unpack_container_header.h +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack/unpack_define.h +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack/unpack_template.h +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack.egg-info/SOURCES.txt +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack.egg-info/dependency_links.txt +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack.egg-info/top_level.txt +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/pyproject.toml +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/setup.cfg +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/setup.py +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_buffer.py +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_case.py +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_except.py +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_extension.py +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_format.py +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_limits.py +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_memoryview.py +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_newspec.py +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_obj.py +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_pack.py +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_read_size.py +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_seq.py +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_sequnpack.py +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_stricttype.py +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_subtype.py +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_timestamp.py +0 -0
- {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_unpack.py +0 -0
|
@@ -47,7 +47,7 @@ static inline msgpack_unpack_object unpack_callback_root(unpack_user* u)
|
|
|
47
47
|
|
|
48
48
|
static inline int unpack_callback_uint16(unpack_user* u, uint16_t d, msgpack_unpack_object* o)
|
|
49
49
|
{
|
|
50
|
-
PyObject *p =
|
|
50
|
+
PyObject *p = PyInt_FromLong((long)d);
|
|
51
51
|
if (!p)
|
|
52
52
|
return -1;
|
|
53
53
|
*o = p;
|
|
@@ -61,7 +61,7 @@ static inline int unpack_callback_uint8(unpack_user* u, uint8_t d, msgpack_unpac
|
|
|
61
61
|
|
|
62
62
|
static inline int unpack_callback_uint32(unpack_user* u, uint32_t d, msgpack_unpack_object* o)
|
|
63
63
|
{
|
|
64
|
-
PyObject *p =
|
|
64
|
+
PyObject *p = PyInt_FromSize_t((size_t)d);
|
|
65
65
|
if (!p)
|
|
66
66
|
return -1;
|
|
67
67
|
*o = p;
|
|
@@ -74,7 +74,7 @@ static inline int unpack_callback_uint64(unpack_user* u, uint64_t d, msgpack_unp
|
|
|
74
74
|
if (d > LONG_MAX) {
|
|
75
75
|
p = PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG)d);
|
|
76
76
|
} else {
|
|
77
|
-
p =
|
|
77
|
+
p = PyInt_FromLong((long)d);
|
|
78
78
|
}
|
|
79
79
|
if (!p)
|
|
80
80
|
return -1;
|
|
@@ -84,7 +84,7 @@ static inline int unpack_callback_uint64(unpack_user* u, uint64_t d, msgpack_unp
|
|
|
84
84
|
|
|
85
85
|
static inline int unpack_callback_int32(unpack_user* u, int32_t d, msgpack_unpack_object* o)
|
|
86
86
|
{
|
|
87
|
-
PyObject *p =
|
|
87
|
+
PyObject *p = PyInt_FromLong(d);
|
|
88
88
|
if (!p)
|
|
89
89
|
return -1;
|
|
90
90
|
*o = p;
|
|
@@ -107,7 +107,7 @@ static inline int unpack_callback_int64(unpack_user* u, int64_t d, msgpack_unpac
|
|
|
107
107
|
if (d > LONG_MAX || d < LONG_MIN) {
|
|
108
108
|
p = PyLong_FromLongLong((PY_LONG_LONG)d);
|
|
109
109
|
} else {
|
|
110
|
-
p =
|
|
110
|
+
p = PyInt_FromLong((long)d);
|
|
111
111
|
}
|
|
112
112
|
*o = p;
|
|
113
113
|
return 0;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|