Commit graph

772 commits

Author SHA1 Message Date
Inada Naoki
9951b89455 travis: Install new pytest 2019-01-25 21:04:14 +09:00
Inada Naoki
464fe277e1 Remove pytest warnings 2019-01-25 20:52:57 +09:00
Inada Naoki
28b5f46a34
Auto limit configuration (#342) 2019-01-24 18:46:39 +09:00
INADA Naoki
f46523b1af
use _PyFloat APIs to (de)serialize (#340) 2019-01-07 21:10:40 +09:00
Inada Naoki
197e30723a Fix docstring 2018-12-04 20:10:21 +09:00
Inada Naoki
b8bf3c950c Build linux wheel for Python 3.7 2018-12-04 17:18:34 +09:00
Inada Naoki
b1d658e7a0 AppVeyor: Add Python 3.7 and remove 3.6 2018-11-30 19:25:14 +09:00
Inada Naoki
cc7fd5722b 0.6.0 2018-11-30 19:03:44 +09:00
Inada Naoki
bbdfd4d92e cleanup 2018-11-30 16:28:41 +09:00
Inada Naoki
93b5953eae Update tox.ini 2018-11-30 16:05:31 +09:00
Inada Naoki
04cf8fc7f4 Update ChangeLog 2018-11-30 14:04:18 +09:00
INADA Naoki
760e30b77e
unpacker: Add strict_map_key option (#334) 2018-11-30 11:47:15 +09:00
Inada Naoki
8ae6320072 Fix fallback 2018-11-30 11:42:51 +09:00
Inada Naoki
ab789813b8 Fix test 2018-11-30 11:36:15 +09:00
Inada Naoki
e76091a82c Fix test 2018-11-29 22:38:22 +09:00
Inada Naoki
dc1b993079 Implement strict_map_key to fallback unpacker. 2018-11-29 22:35:12 +09:00
Inada Naoki
e9086a34e4 Add strict_map_key option to unpacker 2018-11-29 22:29:38 +09:00
INADA Naoki
3c9c6edbc8 Update README 2018-11-20 15:48:44 +09:00
jkorvin
ab2415eaa0 Unpacker: allow to use buffer with size greater than 2 GB (#332) 2018-11-20 15:24:35 +09:00
INADA Naoki
44254dd35e
Add StackError and FormatError (#331) 2018-11-20 13:12:49 +09:00
INADA Naoki
8b6ce53cce
s/iteritems/items/g (#330) 2018-11-14 21:06:16 +09:00
INADA Naoki
2f808b6e01
Try language_level=3 (#329) 2018-11-14 20:04:22 +09:00
INADA Naoki
d782464c91
Refactor Cython code (#328)
_msgpack -> _cmsgpack
2018-11-14 16:35:37 +09:00
INADA Naoki
2b5f59166b
fallback: Fix warning stacklevel (#327) 2018-11-14 16:34:51 +09:00
INADA Naoki
39f8aa78c7
Remove deprecated write_bytes option (#322) 2018-11-12 02:33:31 +09:00
INADA Naoki
07f0beeabb
Remove deprecated exception classes (#323) 2018-11-12 02:19:01 +09:00
INADA Naoki
1bf62ba6f8
PendingDeprecationWarning -> DeprecationWarning (#321) 2018-11-09 21:39:25 +09:00
INADA Naoki
9e210bfc1a
Add Packer.buffer() (#320) 2018-11-09 20:55:13 +09:00
Inada Naoki
a8b3e97fe5 Update changelog 2018-11-08 22:25:05 +09:00
INADA Naoki
3b80233592
unpacker: Make default size limit smaller (#319)
To avoid DoS attack, make default size limit smaller.

Fixes #295
2018-11-08 22:21:44 +09:00
Inada Naoki
ae90b26c30 Update ChangeLog 2018-11-08 22:21:05 +09:00
INADA Naoki
08e65bdd03
Merge extension modules (#314)
There were `_packer.so` and `_unpacker.so`.
But single module is simpler than double module.

Merge extension module into single `_msgpack.so`.
2018-11-08 21:39:18 +09:00
INADA Naoki
9d11249d89 Update docker/runtests 2018-11-08 20:31:07 +09:00
INADA Naoki
6c8e539eec Update travis config 2018-11-08 20:31:06 +09:00
INADA Naoki
f6f9597249 Merge extension module
There were `_packer.so` and `_unpacker.so`.
But single module is simpler than double module.

Merge extension module into single `_msgpack.so`.
2018-11-08 20:27:35 +09:00
Inada Naoki
91ec9e1daf Update travis.yml 2018-11-07 23:04:45 +09:00
Marat Sharafutdinov
b077a21f89 Fix stream unpacking example in README (#317) 2018-11-05 01:14:11 +09:00
INADA Naoki
205f7d39b2
Start 0.6 development 2018-10-03 21:06:20 +09:00
Raymond E Ferguson
70b5f21b34 Alternate fixes for jython and legacy CPython (#310)
Python 3.4 is not supported officially.
But keep running test for a while, to know when msgpack-python
stop working on Python 3.4 actually.

The current patches did not work under jython-2.7.1 where implicit
casting of buffer or memoryview doesn't work. It may also be the
jython is a little pickier about string casting non string bytes
due to the underlying strong typing of java.

See issues #303 & #304.
2018-10-02 20:20:06 +09:00
INADA Naoki
d1060de293
travis: Run test on Python 3.4 (#307)
Python 3.4 is not supported officially.
But keep running test for a while, to know when msgpack-python
stop working on Python 3.4 actually.
2018-07-13 19:54:44 +09:00
INADA Naoki
aa41e2fef7
fallback: Fix error on Jython (#304)
Jython doesn't support memoryview += bytes

Fixes #303
2018-07-06 12:40:33 +09:00
Inada Naoki
5f684aed82 fallback: Fix error on Jython
Fixes #303
2018-06-27 01:27:31 +09:00
Alex Gaynor
b10cf78f54 Fix TypeError in fallback.unpack() on <Python 2.7.6 2018-04-16 12:18:35 +09:00
INADA Naoki
984116bd18 Update setup() 2018-04-13 23:41:01 +09:00
INADA Naoki
d4675bee6c 0.5.6 2018-02-23 15:45:34 +09:00
INADA Naoki
ae3a6ba0b0
Deprecate implementation module's unpack() (#290) 2018-02-23 15:41:21 +09:00
INADA Naoki
f38c1a3674
Fix Unpacker.feed() drops unused data in buffer. (#289)
Fixes #287
2018-02-23 11:52:48 +09:00
INADA Naoki
fbaa1360be Fix #285 again 2018-02-23 11:35:09 +09:00
INADA Naoki
3ca8eff31d
Revert "Move unpack() from each implementation to __init__." (#288)
This reverts commit da902f9c1d.
2018-02-23 11:33:26 +09:00
INADA Naoki
9455fccc52 Revert "Move unpack() from each implementation to __init__. (#286)"
This reverts commit da902f9c1d.
2018-02-23 11:32:26 +09:00