Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add unittests to document serialisation of tuples (#246) | Lorenzo Bolla | 2017-09-30 | 1 | -1/+1 | |
| | | | | Also, fix formatting of error message in case of tuple. See https://github.com/msgpack/msgpack-python/issues/245 | |||||
* | Packer accepts bytearray objects (#229) | jfolz | 2017-05-18 | 1 | -2/+4 | |
| | ||||||
* | Unpacker: add tell() (#227) | jfolz | 2017-04-30 | 1 | -0/+5 | |
| | ||||||
* | Merge branch 'release-0.4' | INADA Naoki | 2017-01-12 | 1 | -5/+5 | |
|\ | ||||||
| * | fix typos and other cosmetic issues (#214)release-0.4 | TW | 2017-01-11 | 1 | -8/+8 | |
| | | | | | | | | | | | | | | 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 | |||||
* | | enable unpacking from memoryview | folz | 2016-06-13 | 1 | -14/+23 | |
| | | ||||||
* | | fallback: Use bytearray as buffer | INADA Naoki | 2016-05-24 | 1 | -9/+15 | |
| | | ||||||
* | | fallback: Use struct.unpack_from when possible | INADA Naoki | 2016-05-24 | 1 | -50/+100 | |
| | | ||||||
* | | fallback: simplify write_bytes callback implementation | INADA Naoki | 2016-05-22 | 1 | -60/+64 | |
| | | ||||||
* | | Remove _fb_ prefix | INADA Naoki | 2016-05-22 | 1 | -86/+86 | |
| | | ||||||
* | | fallback: Rewrite buffer from array of bytes to bytearray | INADA Naoki | 2016-05-20 | 1 | -100/+69 | |
| | | ||||||
* | | refactor header packing for str and bin types | folz | 2016-05-04 | 1 | -44/+39 | |
| | | ||||||
* | | fix problems associated with packing memoryviews | folz | 2016-05-03 | 1 | -2/+24 | |
| | | | | | | | | | | fix wrong length when packing multibyte memoryviews in fallback add tests for memoryviews of different types and sizes and check contents of packed data | |||||
* | | msgpack pack and unpack throws only exception that inherit from ↵ | palaviv | 2016-02-12 | 1 | -25/+26 | |
| | | | | | | | | MsgpackBaseException. cython and fallback throws same exceptions | |||||
* | | Support packing memoryview objects | folz | 2016-01-25 | 1 | -2/+4 | |
| | | ||||||
* | | Merge pull request #158 from methane/feature/strict-typecheck | INADA Naoki | 2016-01-25 | 1 | -11/+33 | |
|\ \ | |/ |/| | Packer: check type strictly | |||||
| * | strict_types should be last argument | INADA Naoki | 2015-11-10 | 1 | -9/+9 | |
| | | ||||||
| * | fallback unpacker: precise => strict | INADA Naoki | 2015-11-10 | 1 | -12/+13 | |
| | | ||||||
| * | Merge branch 'master' of https://github.com/faerot/msgpack-python into ↵ | INADA Naoki | 2015-11-10 | 1 | -11/+32 | |
| |\ | | | | | | | | | | pramukta-default_function_on_int_overflow | |||||
| | * | precise_mode instead of distinguish_tuple | faerot | 2014-05-22 | 1 | -17/+31 | |
| | | | | | | | | | | | | | | | | | | | | | 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. | |||||
| | * | added distinguish_tuple argument to Packer | faerot | 2014-05-22 | 1 | -2/+9 | |
| | | | | | | | | | | | | This will make precise python types serialization possible. | |||||
* | | | Merge pull request #163 from ThomasWaldmann/master | INADA Naoki | 2015-12-10 | 1 | -1/+1 | |
|\ \ \ | |/ / |/| | | fix typos | |||||
| * | | fix typos | Thomas Waldmann | 2015-12-09 | 1 | -1/+1 | |
| | | | ||||||
* | | | calling the default function upon integer overflow in the fallback routine | Pramukta Kumar | 2015-03-17 | 1 | -0/+4 | |
|/ / | ||||||
* | | fallback: Add some comment to Unpacker members. | INADA Naoki | 2015-01-27 | 1 | -1/+8 | |
| | | ||||||
* | | Fix #124 | Bas Westerbaan | 2015-01-26 | 1 | -1/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | When using Unpacker as an iterator, after each yield, the internal buffer (_fb_buffer) was compacted by reallocation (done by _fb_consume). When dealing with a lot of small objects, this is very ineffecient. Thus in commit 7eb371f8278941fb2323e0c2333ed89c88ab822b the pure python fallback only reallocated the complete buffer when the iteration stops. When halfway there happens to be data missing in the buffer, we rollback the buffer to the state before this failed call, and raise an OutOfData. This rollback, done by _fb_rollback, did not consider the possibility that the buffer was *not* reallocated. This commit corrects that. | |||||
* | | Add max_<type>_len option to unpacker. (fixes #97). | INADA Naoki | 2015-01-25 | 1 | -29/+98 | |
| | | | | | | | | Fix build error on 32bit environment (fixes #102). | |||||
* | | add support for pypy3 | Xiaojie Lin | 2014-11-14 | 1 | -1/+4 | |
| | | ||||||
* | | fallback: fix BufferFull with sloppy consume | Bas Westerbaan | 2014-06-15 | 1 | -1/+12 | |
| | | ||||||
* | | fallback: _fb_read: do a big read, when we need a big read | Bas Westerbaan | 2014-06-14 | 1 | -2/+5 | |
| | | ||||||
* | | fallback: add some comments to _fb_read | Bas Westerbaan | 2014-06-14 | 1 | -0/+4 | |
| | | ||||||
* | | fallback: do not reset the buffer completely in between of iterations | Bas Westerbaan | 2014-06-14 | 1 | -1/+11 | |
| | | ||||||
* | | fallback: _fb_consume: improve performance with pypy | Bas Westerbaan | 2014-06-14 | 1 | -3/+8 | |
| | | ||||||
* | | fallback: set default read_size to 4096 | Bas Westerbaan | 2014-06-14 | 1 | -1/+1 | |
| | | ||||||
* | | fallback: add missing update of _fb_buf_n | Bas Westerbaan | 2014-06-14 | 1 | -0/+1 | |
|/ | ||||||
* | Fix size limit on pack_array_header and pack_map_header. | INADA Naoki | 2014-03-26 | 1 | -0/+4 | |
| | ||||||
* | Merge branch 'pr/82' | INADA Naoki | 2014-02-17 | 1 | -0/+2 | |
|\ | ||||||
| * | fix | INADA Naoki | 2014-02-17 | 1 | -1/+1 | |
| | | ||||||
| * | fixed support of python3 | Sergey Zhuravlev | 2014-02-12 | 1 | -1/+1 | |
| | | ||||||
| * | Added support of bytearrays to msgpack/fallback.py | Sergey Zhuravlev | 2013-12-15 | 1 | -0/+2 | |
| | | ||||||
* | | Always raise TypeError for wrong argument types | Wouter Bolsterlee | 2014-02-11 | 1 | -7/+7 | |
|/ | | | | | | | 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). | |||||
* | fallback: support packing ExtType | INADA Naoki | 2013-10-21 | 1 | -76/+105 | |
| | ||||||
* | fallback: Support pack_ext_type. | INADA Naoki | 2013-10-20 | 1 | -7/+39 | |
| | ||||||
* | code refactoring. | INADA Naoki | 2013-10-20 | 1 | -17/+14 | |
| | ||||||
* | Add ext type support to fallback.Unpacker. | INADA Naoki | 2013-10-17 | 1 | -16/+56 | |
| | ||||||
* | Add bin type support for fallback Unpacker. | INADA Naoki | 2013-10-17 | 1 | -0/+19 | |
| | ||||||
* | Add bin type support to pure Python packer. | INADA Naoki | 2013-10-17 | 1 | -8/+24 | |
| | ||||||
* | refactoring. | INADA Naoki | 2013-10-17 | 1 | -17/+0 | |
| | ||||||
* | fix more comment typos | YAMAMOTO Takashi | 2013-05-07 | 1 | -1/+1 | |
| | ||||||
* | fix a typo in a comment | YAMAMOTO Takashi | 2013-05-01 | 1 | -1/+1 | |
| |