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.
Files changed (43) hide show
  1. {msgpack-1.1.0/msgpack.egg-info → msgpack-1.1.0rc2}/PKG-INFO +1 -1
  2. {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack/__init__.py +2 -2
  3. {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack/unpack.h +5 -5
  4. {msgpack-1.1.0 → msgpack-1.1.0rc2/msgpack.egg-info}/PKG-INFO +1 -1
  5. {msgpack-1.1.0 → msgpack-1.1.0rc2}/COPYING +0 -0
  6. {msgpack-1.1.0 → msgpack-1.1.0rc2}/MANIFEST.in +0 -0
  7. {msgpack-1.1.0 → msgpack-1.1.0rc2}/README.md +0 -0
  8. {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack/_cmsgpack.c +0 -0
  9. {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack/_cmsgpack.pyx +0 -0
  10. {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack/_packer.pyx +0 -0
  11. {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack/_unpacker.pyx +0 -0
  12. {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack/exceptions.py +0 -0
  13. {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack/ext.py +0 -0
  14. {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack/fallback.py +0 -0
  15. {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack/pack.h +0 -0
  16. {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack/pack_template.h +0 -0
  17. {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack/sysdep.h +0 -0
  18. {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack/unpack_container_header.h +0 -0
  19. {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack/unpack_define.h +0 -0
  20. {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack/unpack_template.h +0 -0
  21. {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack.egg-info/SOURCES.txt +0 -0
  22. {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack.egg-info/dependency_links.txt +0 -0
  23. {msgpack-1.1.0 → msgpack-1.1.0rc2}/msgpack.egg-info/top_level.txt +0 -0
  24. {msgpack-1.1.0 → msgpack-1.1.0rc2}/pyproject.toml +0 -0
  25. {msgpack-1.1.0 → msgpack-1.1.0rc2}/setup.cfg +0 -0
  26. {msgpack-1.1.0 → msgpack-1.1.0rc2}/setup.py +0 -0
  27. {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_buffer.py +0 -0
  28. {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_case.py +0 -0
  29. {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_except.py +0 -0
  30. {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_extension.py +0 -0
  31. {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_format.py +0 -0
  32. {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_limits.py +0 -0
  33. {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_memoryview.py +0 -0
  34. {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_newspec.py +0 -0
  35. {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_obj.py +0 -0
  36. {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_pack.py +0 -0
  37. {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_read_size.py +0 -0
  38. {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_seq.py +0 -0
  39. {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_sequnpack.py +0 -0
  40. {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_stricttype.py +0 -0
  41. {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_subtype.py +0 -0
  42. {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_timestamp.py +0 -0
  43. {msgpack-1.1.0 → msgpack-1.1.0rc2}/test/test_unpack.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: msgpack
3
- Version: 1.1.0
3
+ Version: 1.1.0rc2
4
4
  Summary: MessagePack serializer
5
5
  Author-email: Inada Naoki <songofacandy@gmail.com>
6
6
  License: Apache 2.0
@@ -4,8 +4,8 @@ import os
4
4
  from .exceptions import * # noqa: F403
5
5
  from .ext import ExtType, Timestamp
6
6
 
7
- version = (1, 1, 0)
8
- __version__ = "1.1.0"
7
+ version = (1, 1, 0, "rc2")
8
+ __version__ = "1.1.0rc2"
9
9
 
10
10
 
11
11
  if os.environ.get("MSGPACK_PUREPYTHON"):
@@ -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 = PyLong_FromLong((long)d);
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 = PyLong_FromSize_t((size_t)d);
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 = PyLong_FromLong((long)d);
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 = PyLong_FromLong(d);
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 = PyLong_FromLong((long)d);
110
+ p = PyInt_FromLong((long)d);
111
111
  }
112
112
  *o = p;
113
113
  return 0;
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: msgpack
3
- Version: 1.1.0
3
+ Version: 1.1.0rc2
4
4
  Summary: MessagePack serializer
5
5
  Author-email: Inada Naoki <songofacandy@gmail.com>
6
6
  License: Apache 2.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