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
ceb9635a3f
Use AppVeyor to build windows wheel ( #188 )
...
* Add AppVeyor support to build windows wheel
* Fix test_limits on 32bit environments
* Ignore Python35-x64 test fail for now
Should be fixed in next version.
2016-05-03 11:58:28 +09:00
INADA Naoki
6b113a6fb3
Use Python's memory API ( #185 )
2016-04-30 17:07:14 +09:00
palaviv
d44063119b
changed more ValueErrors to PackValueError
2016-02-12 15:36:48 +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
8036cb4e0e
Merge pull request #158 from methane/feature/strict-typecheck
...
Packer: check type strictly
2016-01-25 11:37:07 +09:00
Sadayuki Furuhashi
83424bd7b3
Fix wrong 'dict is too large' on unicode string
2016-01-11 13:57:33 -08:00
INADA Naoki
628c519187
strict type check for ext type
2015-11-10 03:41:09 +09:00
INADA Naoki
9b673279d3
strict_types should be last argument
2015-11-10 03:37:54 +09:00
INADA Naoki
cbdf3c339a
s/precise_mode/strict_types/
2015-11-10 03:30:11 +09:00
INADA Naoki
e9a47cbd35
Merge branch 'master' of https://github.com/faerot/msgpack-python into pramukta-default_function_on_int_overflow
2015-11-10 01:52:52 +09:00
INADA Naoki
a1317b604f
refactor
2015-11-09 02:34:17 +09:00
Pramukta Kumar
6f02d252e1
corresponding change to cython implementation
2015-03-17 15:16:17 -04:00
INADA Naoki
9624a2aca3
Fix build failuer for Python 2.7 on Windows.
...
Remove int8_t usage.
2015-01-07 12:10:42 +09:00
faerot
b877ce2afa
precise_mode instead of distinguish_tuple
...
When precise_mode flag is set, serialization will be as precise as
possible - type checks will be exact (type(..) is ... instead of
isinstance(..., ...) and tuple will be treated as undefined type. This
mode is to make accurate object serialization possible.
2014-05-22 16:45:26 +03:00
faerot
3b933f0966
added distinguish_tuple argument to Packer
...
This will make precise python types serialization possible.
2014-05-22 11:32:54 +03:00
INADA Naoki
ef5d93d4ea
Fix size limit on pack_array_header and pack_map_header.
2014-03-26 11:05:53 +09:00
INADA Naoki
c60ab28ee7
Add check for format limits.
2014-03-26 03:03:18 +09:00
INADA Naoki
d84a403bc0
fix bugs.
2013-10-21 01:12:57 +09:00
INADA Naoki
e3fee4db5f
fallback: support packing ExtType
2013-10-21 00:59:22 +09:00
INADA Naoki
96bcd76f49
Packing ExtType and some cleanup
2013-10-20 20:28:32 +09:00
INADA Naoki
aa68c9b833
fallback: Support pack_ext_type.
2013-10-20 15:40:20 +09:00
INADA Naoki
27f0cba8a5
Merge branch 'master' of https://github.com/antocuni/msgpack-python into newspec
...
Conflicts:
msgpack/fallback.py
msgpack/unpack.h
msgpack/unpack_define.h
msgpack/unpack_template.h
2013-10-20 15:08:31 +09:00
Antonio Cuni
a7485eccb2
add the hook for unknown types also to the cython Packer
2013-10-18 17:46:42 +02:00
Antonio Cuni
5467515065
implement Packer.pack_extended_type also in the cython version of the code
2013-10-18 17:33:54 +02:00
INADA Naoki
171c538113
refactoring.
2013-10-17 08:44:25 +09:00
INADA Naoki
da12e177a3
Add bin type support.
2013-10-17 08:35:08 +09:00
YAMAMOTO Takashi
56dbf7f9be
fix more comment typos
2013-05-07 13:56:39 +09:00
INADA Naoki
0faa1bb558
Remove unnecessary type declaration.
2013-04-08 01:57:37 +09:00
INADA Naoki
3ce005cf37
better packer docstring
2013-02-26 09:20:44 +09:00
INADA Naoki
b79e5ba4e5
Split _msgpack.pyx
2012-12-11 22:15:21 +09:00
INADA Naoki
280d56eb9b
rename _msgpack.pyx => _packer.pyx
2012-12-11 22:05:00 +09:00