Commit graph

772 commits

Author SHA1 Message Date
Bas Westerbaan
56cf384159 fallback: set default read_size to 4096 2014-06-14 18:25:57 +02:00
Bas Westerbaan
67391fd60e fallback: add missing update of _fb_buf_n 2014-06-14 18:25:34 +02:00
INADA Naoki
4d4a0cc442 Add changelog 2014-05-26 15:21:14 +09:00
INADA Naoki
8f1c0504f1 Travis preinstall Python 3.4 2014-05-26 01:28:30 +09:00
INADA Naoki
7f623c0906 Fix unpacking uint32 on 32bit or LLP64. 2014-05-26 01:17:53 +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
61bac2f586 0.4.2 2014-03-26 17:20:51 +09:00
INADA Naoki
803684b90d 0.4.2 2014-03-26 15:52:03 +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
ef5d93d4ea Fix size limit on pack_array_header and pack_map_header. 2014-03-26 11:05:53 +09:00
INADA Naoki
e99331d1ab Fix skipif marking. 2014-03-26 11:01:44 +09:00
INADA Naoki
c60ab28ee7 Add check for format limits. 2014-03-26 03:03:18 +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
INADA Naoki
ac4cd06845 Merge pull request #93 from popravich/unpacker_ext_hook_fix
Unpacker's ext_hook fixed + tests
2014-03-25 12:19:51 +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
e9de6b7f39 travis: Add Python 3.4 to testing. 2014-03-19 10:42:05 +09:00
INADA Naoki
55eab8b4d6 Update README 2014-02-17 10:06:39 +09:00
INADA Naoki
1ca3c27a81 0.4.1 2014-02-17 10:03:36 +09: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
7effb4aac6 fix 2014-02-17 04:05:04 +09:00
INADA Naoki
ff263dfee8 Merge pull request #91 from msgpack/reduce-six
Reduce six usage
2014-02-17 03:38:06 +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
96d7d0edc6 Merge pull request #89 from msgpack/better-travis
travis: Simplify .travis.yml and add PyPy env.
2014-02-15 22:03:38 +09:00
INADA Naoki
213f7888c3 Remove too strict type check from test. 2014-02-14 09:26:46 +09:00
INADA Naoki
a5368f62e2 travis: Simplify .travis.yml and add PyPy env. 2014-02-14 09:01:00 +09:00
INADA Naoki
400a1030cd Merge pull request #88 from msgpack/fix-67
Fix Unpacker doesn't increment refcnt.
2014-02-13 11:55:04 +09:00
INADA Naoki
6d80569b9b Unpacker: maintain refcnt (fix #67). 2014-02-13 09:58:38 +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
INADA Naoki
7b24d0fe5a Merge pull request #87 from msgpack/fix-83
Feed data from file before _unpack()
2014-02-13 03:24:09 +09:00
INADA Naoki
9d61f24387 Feed data from file before _unpack() 2014-02-13 03:10:51 +09:00
INADA Naoki
d2fc801034 Fix warning on 64bit environment. 2014-02-13 01:57:34 +09:00
INADA Naoki
f322ed4e1b Merge pull request #84 from wbolster/exception-type-cleanups
Always raise TypeError for wrong argument types
2014-02-13 01:19:33 +09:00
INADA Naoki
7973cce554 Merge pull request #85 from wbolster/fix-cython-warnings
Cosmetic changes to fix Cython warnings
2014-02-13 00:46:02 +09:00
Wouter Bolsterlee
dd65341e0d Cosmetic changes to fix Cython warnings
Put declarations on separate line to avoid warnings like this:

  Non-trivial type declarators in shared declaration (e.g. mix
  of pointers and values). Each pointer declaration should be
  on its own line.
2014-02-11 21:05:15 +01:00
Wouter Bolsterlee
77046b839d Always raise TypeError for wrong argument types
The code that checks whether hooks are callable() (and some other type
checks) should always raise TypeError on failure. Before this change,
both ValueError and TypeError were used in an inconsistent way (C
extension and Python implementation were not the same).
2014-02-11 20:42:58 +01:00
Sergey Zhuravlev
48ca2d700d Added support of bytearrays to msgpack/fallback.py 2013-12-15 16:22:39 +00:00
INADA Naoki
d5436c2819 Update ChangeLog 2013-10-21 02:33:58 +09:00