Evgeny Markov
c8d0751fe3
Drop Python 3.6 support ( #543 )
...
The following steps have been taken:
1. Black was updated to latest version. The code has been formatted with
the new version.
2. The pyupgrade utility is installed. This helped to remove all the
code that was needed to support Python < 3.7.
Fix #541 .
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
2023-05-24 01:41:08 +09:00
Inada Naoki
500a238028
Fix Unpacker max_buffer_length handling ( #506 )
2022-05-24 19:46:51 +09:00
Inada Naoki
cb50b2081b
Update setuptools and black ( #498 )
...
* Use setuptools
* Use black==22.1.0
2022-03-03 12:29:55 +09:00
Inada Naoki
d8e3cf0563
Make strict_map_key default to True ( #392 )
2019-12-06 22:23:15 +09:00
Inada Naoki
f6f6f328eb
Fix fallback Unpacker.read() ( #388 )
...
Fixes #352 .
2019-12-06 21:16:27 +09:00
Inada Naoki
7e9905bdfa
Use new msgpack spec by default. ( #386 )
2019-12-05 21:34:10 +09:00
Inada Naoki
10e5e39ff9
blacken test
2019-12-05 18:51:45 +09:00
jfolz
a8d9162ca6
Unpacker: add tell() ( #227 )
2017-04-30 02:33:20 +09:00
Bas Westerbaan
c5d621853d
test_sequnpack: python3 literals
2015-01-26 20:55:23 +01:00
Bas Westerbaan
83404945c0
Add test for issue #124
2015-01-26 20:31:03 +01:00
INADA Naoki
dee2d87d41
six.BytesIO => io.BytesIO
2014-02-15 22:16:01 +09:00
INADA Naoki
0d5c58bd51
cleanup
2013-10-20 23:06:02 +09:00
INADA Naoki
96bcd76f49
Packing ExtType and some cleanup
2013-10-20 20:28:32 +09:00
Antonio Cuni
ff858387d3
implement unpack_one also for the cython version, and add a test for it
2013-10-19 01:49:03 +02:00
Bas Westerbaan
b9e9199eea
fallback: python3 bugfix for new testcase of d2f549a4
...
Signed-off-by: Bas Westerbaan <bas@westerbaan.name>
2013-01-29 03:03:13 +01:00
Bas Westerbaan
d2f549a470
fallback: add actual rollback and add a testcase for it
...
Signed-off-by: Bas Westerbaan <bas@westerbaan.name>
2013-01-29 02:58:26 +01:00
INADA Naoki
593c832ab0
Use py.test instead of nosetests.
2012-12-29 11:24:25 +09:00
INADA Naoki
d796d696d1
revert unwanted changes.
2012-12-22 13:09:35 +09:00
INADA Naoki
833b85f173
Merge branch '0.2-maint' ( fix #39 )
2012-12-22 13:08:46 +09:00
INADA Naoki
3478406537
Fix tests.
2012-12-11 02:46:13 +09:00
INADA Naoki
219d47503c
Split exceptions.
2012-12-10 00:31:19 +09:00
Joel Nothman
df4f23779d
Merge commit ' d5f9995
' into read_bytes
...
Conflicts:
msgpack/_msgpack.pyx
2012-10-04 11:31:40 +10:00
INADA Naoki
e381032641
Support object_pairs_hook
...
Merge remote-tracking branch 'jnothman/object_pairs_hook' into 0.2-maint
Conflicts:
msgpack/_msgpack.pyx
test/test_pack.py
test/test_sequnpack.py
2012-09-24 03:05:39 +09:00
INADA Naoki
d503788e95
Warn when use_list is not specified.
...
Conflicts:
test/test_sequnpack.py
2012-09-24 02:38:54 +09:00
INADA Naoki
60df5eadaf
Warn when use_list is not specified.
2012-09-24 02:12:55 +09:00
Joel Nothman
e7c51d9089
Cleaner read_bytes and a test case
...
No longer reads via buffer for unbuffered bytes
2012-09-23 20:46:49 +10:00
INADA Naoki
48d693c1b9
Add test for .skip()
2012-09-23 10:09:51 +09:00
INADA Naoki
e5462ff72f
Add test for max_buffer_size.
2012-07-20 02:02:37 +09:00
INADA Naoki
636f4529aa
Fix tests to pass.
2012-06-19 14:20:56 +09:00
INADA Naoki
0b38e86534
unify tests for py2 and py3
2012-06-19 13:55:14 +09:00
inada-n
ff594d71dd
(python) make test pass with Python 2.5
2011-06-01 18:30:43 +09:00
INADA Naoki
9c61ce2c6c
python: Don't use `from __future__ import unicode_literals
`.
...
Python 2.5 or older doesn't support it.
2011-01-09 23:13:35 +09:00
INADA Naoki
a09c85ff9c
python: Support old buffer protocol when unpack. (experimental)
2010-11-03 03:11:00 +09:00
Naoki INADA
04d8fc114b
Rename test files.
2009-06-27 12:04:11 +09:00