summaryrefslogtreecommitdiff
path: root/msgpack/fallback.py
Commit message (Collapse)AuthorAgeFilesLines
* use relative imports (#357)Felix Schwarz2019-05-121-2/+2
| | | | | Some applications use msgpack to store persistent data and require a specific msgpack version (e.g. borgbackup). Bundling helps in case there is an (incompatible) version of msgpack in a system-wide install.
* Recommend max_buffer_len instead of max_(str|bin|ext)_lenInada Naoki2019-01-251-10/+10
|
* Auto limit configuration (#342)Inada Naoki2019-01-241-12/+27
|
* Fix docstringInada Naoki2018-12-041-1/+1
|
* cleanupInada Naoki2018-11-301-13/+13
|
* Fix fallbackInada Naoki2018-11-301-1/+1
|
* Implement strict_map_key to fallback unpacker.Inada Naoki2018-11-291-1/+9
|
* Add StackError and FormatError (#331)INADA Naoki2018-11-201-5/+38
|
* fallback: Fix warning stacklevel (#327)INADA Naoki2018-11-141-4/+4
|
* Remove deprecated write_bytes option (#322)INADA Naoki2018-11-121-16/+4
|
* Remove deprecated exception classes (#323)INADA Naoki2018-11-121-40/+37
|
* PendingDeprecationWarning -> DeprecationWarning (#321)INADA Naoki2018-11-091-3/+3
|
* Add Packer.buffer() (#320)INADA Naoki2018-11-091-16/+20
|
* unpacker: Make default size limit smaller (#319)INADA Naoki2018-11-081-9/+11
| | | | | To avoid DoS attack, make default size limit smaller. Fixes #295
* Alternate fixes for jython and legacy CPython (#310)Raymond E Ferguson2018-10-021-39/+35
| | | | | | | | | | | | Python 3.4 is not supported officially. But keep running test for a while, to know when msgpack-python stop working on Python 3.4 actually. The current patches did not work under jython-2.7.1 where implicit casting of buffer or memoryview doesn't work. It may also be the jython is a little pickier about string casting non string bytes due to the underlying strong typing of java. See issues #303 & #304.
* fallback: Fix error on JythonInada Naoki2018-06-271-0/+7
| | | | Fixes #303
* Fix TypeError in fallback.unpack() on <Python 2.7.6Alex Gaynor2018-04-161-25/+31
|
* Deprecate implementation module's unpack() (#290)INADA Naoki2018-02-231-16/+5
|
* Fix Unpacker.feed() drops unused data in buffer. (#289)INADA Naoki2018-02-231-2/+7
| | | Fixes #287
* Revert "Move unpack() from each implementation to __init__. (#286)"INADA Naoki2018-02-231-0/+10
| | | | This reverts commit da902f9c1d996fb461f1efef6487ef40d32d365a.
* Move unpack() from each implementation to __init__. (#286)INADA Naoki2018-02-221-10/+0
| | | Fixes #285
* Fix memory leak in pure Python Unpacker.feed() (#284)INADA Naoki2018-02-161-0/+2
| | | fixes #283
* s/raw_as_bytes/raw/g (#276)INADA Naoki2018-01-121-8/+8
| | | fixes #273
* Packer.pack() reset buffer on exception (#274)INADA Naoki2018-01-111-1/+5
| | | fixes #210
* Add raw_as_bytes option to Unpacker. (#265)INADA Naoki2018-01-111-6/+46
|
* fallback: Update docstring.INADA Naoki2018-01-101-5/+11
|
* Deprecate write_bytes option in Unpacker. (#262)INADA Naoki2018-01-051-0/+4
| | | Fixes #197
* Add unittests to document serialisation of tuples (#246)Lorenzo Bolla2017-09-301-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)jfolz2017-05-181-2/+4
|
* Unpacker: add tell() (#227)jfolz2017-04-301-0/+5
|
* Merge branch 'release-0.4'INADA Naoki2017-01-121-5/+5
|\
| * fix typos and other cosmetic issues (#214)release-0.4TW2017-01-111-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 memoryviewfolz2016-06-131-14/+23
| |
* | fallback: Use bytearray as bufferINADA Naoki2016-05-241-9/+15
| |
* | fallback: Use struct.unpack_from when possibleINADA Naoki2016-05-241-50/+100
| |
* | fallback: simplify write_bytes callback implementationINADA Naoki2016-05-221-60/+64
| |
* | Remove _fb_ prefixINADA Naoki2016-05-221-86/+86
| |
* | fallback: Rewrite buffer from array of bytes to bytearrayINADA Naoki2016-05-201-100/+69
| |
* | refactor header packing for str and bin typesfolz2016-05-041-44/+39
| |
* | fix problems associated with packing memoryviewsfolz2016-05-031-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 ↵palaviv2016-02-121-25/+26
| | | | | | | | MsgpackBaseException. cython and fallback throws same exceptions
* | Support packing memoryview objectsfolz2016-01-251-2/+4
| |
* | Merge pull request #158 from methane/feature/strict-typecheckINADA Naoki2016-01-251-11/+33
|\ \ | |/ |/| Packer: check type strictly
| * strict_types should be last argumentINADA Naoki2015-11-101-9/+9
| |
| * fallback unpacker: precise => strictINADA Naoki2015-11-101-12/+13
| |
| * Merge branch 'master' of https://github.com/faerot/msgpack-python into ↵INADA Naoki2015-11-101-11/+32
| |\ | | | | | | | | | pramukta-default_function_on_int_overflow
| | * precise_mode instead of distinguish_tuplefaerot2014-05-221-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 Packerfaerot2014-05-221-2/+9
| | | | | | | | | | | | This will make precise python types serialization possible.
* | | Merge pull request #163 from ThomasWaldmann/masterINADA Naoki2015-12-101-1/+1
|\ \ \ | |/ / |/| | fix typos
| * | fix typosThomas Waldmann2015-12-091-1/+1
| | |