summaryrefslogtreecommitdiff
path: root/msgpack/_packer.pyx
Commit message (Collapse)AuthorAgeFilesLines
* Remove deprecated exception classesINADA Naoki2018-11-091-14/+13
|
* PendingDeprecationWarning -> DeprecationWarning (#321)INADA Naoki2018-11-091-1/+1
|
* Add Packer.buffer() (#320)INADA Naoki2018-11-091-2/+12
|
* Use cython's cast for converting encoding and errors (#279)0.5.4INADA Naoki2018-02-051-22/+18
| | | It is little faster on Python 3 because we can skip temporary bytes object
* Undeprecate unicode_errors (#278)INADA Naoki2018-02-051-4/+3
|
* Fix encoding and unicode_errors (#277)Andrew Rabert2018-02-031-17/+16
| | | | | | | Previously, unicode_errors was either set to NULL or to the result of PyBytes_AsString. This restores that behavior while also keeping the existing NULL default behavior. Original defaults were restored to keep API compatibility until these deprecated options are finally removed.
* Packer.pack() reset buffer on exception (#274)INADA Naoki2018-01-111-5/+7
| | | fixes #210
* packer: Use PyUnicode_AsUTF8AndSize() for utf-8 (#272)INADA Naoki2018-01-111-13/+23
|
* Add raw_as_bytes option to Unpacker. (#265)INADA Naoki2018-01-111-6/+12
|
* Remove FutureWarning about use_bin_type option (#271)INADA Naoki2018-01-101-13/+13
|
* Warn about future use_bin_type change (#264)INADA Naoki2018-01-061-2/+10
|
* Packer accepts bytearray objects (#229)jfolz2017-05-181-2/+12
|
* Merge branch 'release-0.4'INADA Naoki2017-01-121-3/+3
|\
| * fix typos and other cosmetic issues (#214)release-0.4TW2017-01-111-5/+5
| | | | | | | | | | | | | | 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
| * Use AppVeyor to build windows wheel (#188)INADA Naoki2016-07-211-2/+2
| | | | | | | | | | | | * 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.
* | Remove unused import (#190)INADA Naoki2016-05-051-3/+0
| |
* | travis: Use docker to test 32bit environment (#189)INADA Naoki2016-05-051-2/+2
| | | | | | | | | | * travis: testing matrix.include feature to use docker * Add test script for 32bit * Fix OverflowError in 32bit Environment
* | fix problems associated with packing memoryviewsfolz2016-05-031-11/+12
| | | | | | | | | | fix wrong length when packing multibyte memoryviews in fallback add tests for memoryviews of different types and sizes and check contents of packed data
* | Use AppVeyor to build windows wheel (#188)INADA Naoki2016-05-031-2/+2
| | | | | | | | | | | | * 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.
* | Use Python's memory API (#185)INADA Naoki2016-04-301-4/+3
| |
* | changed more ValueErrors to PackValueErrorpalaviv2016-02-121-5/+5
| |
* | msgpack pack and unpack throws only exception that inherit from ↵palaviv2016-02-121-7/+7
| | | | | | | | MsgpackBaseException. cython and fallback throws same exceptions
* | Support packing memoryview objectsfolz2016-01-251-0/+17
| |
* | Merge pull request #158 from methane/feature/strict-typecheckINADA Naoki2016-01-251-10/+21
|\ \ | |/ |/| Packer: check type strictly
| * strict type check for ext typeINADA Naoki2015-11-101-1/+1
| |
| * strict_types should be last argumentINADA Naoki2015-11-101-7/+7
| |
| * s/precise_mode/strict_types/INADA Naoki2015-11-101-13/+13
| |
| * Merge branch 'master' of https://github.com/faerot/msgpack-python into ↵INADA Naoki2015-11-101-9/+20
| |\ | | | | | | | | | pramukta-default_function_on_int_overflow
| | * precise_mode instead of distinguish_tuplefaerot2014-05-221-17/+20
| | | | | | | | | | | | | | | | | | | | | 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/+10
| | | | | | | | | | | | This will make precise python types serialization possible.
* | | Fix wrong 'dict is too large' on unicode stringSadayuki Furuhashi2016-01-111-3/+3
|/ /
* | refactorINADA Naoki2015-11-091-2/+2
| |
* | corresponding change to cython implementationPramukta Kumar2015-03-171-6/+14
| |
* | Fix build failuer for Python 2.7 on Windows.fix-windowsINADA Naoki2015-01-071-2/+1
|/ | | | Remove int8_t usage.
* Fix size limit on pack_array_header and pack_map_header.INADA Naoki2014-03-261-2/+2
|
* Add check for format limits.INADA Naoki2014-03-261-4/+26
|
* fix bugs.INADA Naoki2013-10-211-1/+1
|
* fallback: support packing ExtTypeINADA Naoki2013-10-211-3/+2
|
* Packing ExtType and some cleanupINADA Naoki2013-10-201-72/+78
|
* fallback: Support pack_ext_type.INADA Naoki2013-10-201-1/+1
|
* Merge branch 'master' of https://github.com/antocuni/msgpack-python into newspecINADA Naoki2013-10-201-0/+12
|\ | | | | | | | | | | | | | | Conflicts: msgpack/fallback.py msgpack/unpack.h msgpack/unpack_define.h msgpack/unpack_template.h
| * add the hook for unknown types also to the cython PackerAntonio Cuni2013-10-181-0/+6
| |
| * implement Packer.pack_extended_type also in the cython version of the codeAntonio Cuni2013-10-181-0/+6
| |
* | refactoring.INADA Naoki2013-10-171-26/+1
| |
* | Add bin type support.INADA Naoki2013-10-171-7/+21
|/
* fix more comment typosYAMAMOTO Takashi2013-05-071-1/+1
|
* Remove unnecessary type declaration.INADA Naoki2013-04-081-6/+0
|
* better packer docstringINADA Naoki2013-02-261-14/+28
|
* Split _msgpack.pyxINADA Naoki2012-12-111-372/+2
|
* rename _msgpack.pyx => _packer.pyxINADA Naoki2012-12-111-0/+629