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
Alexey Popravka
d850e56dd0
Unpacker's ext_hook fixed + tests
2014-03-24 15:31:06 +02:00
INADA Naoki
c567cf478b
Remove unused import.
2014-02-17 09:54:55 +09:00
INADA Naoki
eb3537ab50
Merge branch 'pr/82'
2014-02-17 04:07:16 +09:00
INADA Naoki
518f886b11
fix
2014-02-17 04:06:58 +09:00
INADA Naoki
0c22e775c9
Remove six completely.
2014-02-15 22:36:52 +09:00
INADA Naoki
63eab502df
Remove six.b()
2014-02-15 22:20:57 +09:00
INADA Naoki
dee2d87d41
six.BytesIO => io.BytesIO
2014-02-15 22:16:01 +09:00
INADA Naoki
213f7888c3
Remove too strict type check from test.
2014-02-14 09:26:46 +09:00
INADA Naoki
cf63f19211
Fix test
2014-02-13 09:57:51 +09:00
INADA Naoki
0cab6092e4
Add refcount check.
2014-02-13 09:55:17 +09:00
INADA Naoki
38cf835c95
Rename
2014-02-13 09:40:12 +09:00
Sergey Zhuravlev
11a3b1561a
fixed support of python3
2014-02-12 23:09:23 +04:00