Commit graph

143 commits

Author SHA1 Message Date
Inada Naoki
887d3a7d22
Refine Timestamp APIs (#395) 2019-12-12 19:43:59 +09:00
Inada Naoki
2186455d15
Support datetime. (#394) 2019-12-11 23:48:16 +09:00
Inada Naoki
d8e3cf0563
Make strict_map_key default to True (#392) 2019-12-06 22:23:15 +09:00
Inada Naoki
f6f6f328eb
Fix fallback Unpacker.read() (#388)
Fixes #352.
2019-12-06 21:16:27 +09:00
Inada Naoki
7e9905bdfa
Use new msgpack spec by default. (#386) 2019-12-05 21:34:10 +09:00
Inada Naoki
de320488ae
fallback: Remove old buffer protocol support (#384) 2019-12-05 20:47:20 +09:00
Inada Naoki
10e5e39ff9 blacken test 2019-12-05 18:51:45 +09:00
Inada Naoki
641406902e
Add Timestamp support (#382) 2019-12-05 18:29:15 +09:00
Inada Naoki
83ebb63c44
Ressurect unicode_errors of the Packer. (#379) 2019-12-03 20:53:11 +09:00
Inada Naoki
e1ed0044bf
Remove encoding/unicode_errors options from Packer (#378) 2019-12-03 18:54:01 +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
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
e9086a34e4 Add strict_map_key option to unpacker 2018-11-29 22:29:38 +09:00
INADA Naoki
44254dd35e
Add StackError and FormatError (#331) 2018-11-20 13:12:49 +09:00
INADA Naoki
39f8aa78c7
Remove deprecated write_bytes option (#322) 2018-11-12 02:33:31 +09:00
INADA Naoki
9e210bfc1a
Add Packer.buffer() (#320) 2018-11-09 20:55:13 +09:00
INADA Naoki
5569a4efcd
s/raw_as_bytes/raw/g (#276)
fixes #273
2018-01-12 19:22:36 +09:00
INADA Naoki
5534d0c7af
Add raw_as_bytes option to Unpacker. (#265) 2018-01-11 17:02:41 +09:00
Hugo
0fc4ee98be Remove code and tests for unsupported Python 2.6 (#250) 2017-10-12 16:27:39 +09:00
Lorenzo Bolla
deeda31a88 Add unittests to document serialisation of tuples (#246)
Also, fix formatting of error message in case of tuple.
See https://github.com/msgpack/msgpack-python/issues/245
2017-09-30 16:23:55 +09:00
jfolz
f0f2c0b397 Packer accepts bytearray objects (#229) 2017-05-18 20:03:15 +09:00
jfolz
a8d9162ca6 Unpacker: add tell() (#227) 2017-04-30 02:33:20 +09:00
INADA Naoki
2481c64cf1 Merge branch 'release-0.4' 2017-01-12 18:17:00 +09:00
TW
e3fea94509 fix typos and other cosmetic issues (#214)
cosmetic issues:
- reST headlines' underline length needs to match the headline length
  (looks like somebody is / was using a proportional font)
- Cython code lines do not need to be terminated with a semicolon
- always use triple-double-quotes for docstrings
2017-01-11 12:04:23 +09:00
folz
2b63e9fbbb enable unpacking from memoryview 2016-06-13 15:37:33 +02:00
INADA Naoki
53f47ef55d Remove double underscore prefix 2016-05-05 00:49:48 +09:00
folz
a91d5c538e add lower bound tests for memoryviews 2016-05-04 12:03:37 +02:00
folz
0b55989f0b more descriptive test names 2016-05-04 10:04:09 +02:00
folz
0ec2e3534f fix problems associated with packing memoryviews
fix wrong length when packing multibyte memoryviews in fallback
add tests for memoryviews of different types and sizes and check contents of packed data
2016-05-03 16:55:14 +02:00
INADA Naoki
6e36476239 remove too much parameterized tests 2016-02-14 14:29:34 +09:00
palaviv
e15085db03 removed MsgpackBaseException 2016-02-12 15:39:50 +02:00
palaviv
7d2d46effc msgpack pack and unpack throws only exception that inherit from MsgpackBaseException. cython and fallback throws same exceptions 2016-02-12 11:00:39 +02:00
folz
31adc5a3c0 Support packing memoryview objects 2016-01-25 13:25:10 +01:00
INADA Naoki
a779b79b47 Add test for strict_types option 2016-01-25 10:19:49 +09:00
Pramukta Kumar
2d05b40b03 Test to demonstrate that the default function isn't always called (#133) 2015-03-17 15:02:40 -04:00
Bas Westerbaan
c5d621853d test_sequnpack: python3 literals 2015-01-26 20:55:23 +01:00
Bas Westerbaan
83404945c0 Add test for issue #124 2015-01-26 20:31:03 +01:00
INADA Naoki
75ce78dd15 Add max_<type>_len option to unpacker. (fixes #97).
Fix build error on 32bit environment (fixes #102).
2015-01-25 01:41:21 +09:00
Ken Dreyer
f40fdf523a tests: add pytest 2.3 compatibility
Adjust the skipif conditional to use the older pytest 2.3 syntax.

(This allows the tests to pass with the system pytest package on RHEL
7.0, since RHEL 7.0 ships pytest 2.3.5.)
2015-01-23 12:27:58 -07:00
INADA Naoki
d6c773dc4d Fix build and tests. 2014-08-31 02:29:05 +09:00
INADA Naoki
3a9dc1d7ea Merge pull request #94 from msgpack/strict-input-check
Add tests for limits.
2014-03-26 15:37:29 +09:00
INADA Naoki
a72e75d7c8 Fix PyPy fail. 2014-03-26 15:12:28 +09:00
INADA Naoki
5fb9d8a7fd Fix Python 3.2 2014-03-26 13:32:28 +09:00
INADA Naoki
7d0e145e91 Allow ValueError for packing integer overs format limit. 2014-03-26 12:50:28 +09:00
INADA Naoki
e99331d1ab Fix skipif marking. 2014-03-26 11:01:44 +09:00
INADA Naoki
e7f87d9d41 More limit check. 2014-03-26 03:00:47 +09:00
INADA Naoki
6c0c306f96 Add tests for limits. 2014-03-26 02:49:03 +09:00
Alexey Popravka
ee38505db5 fixed super() for python2 2014-03-24 15:42:16 +02:00