Inada Naoki
753b3706d8
Fix overflow in unpacking timestamp to datetime ( #452 )
2020-12-18 14:21:27 +09:00
Inada Naoki
d893697eab
v1.0.1
2020-12-11 19:16:14 +09:00
Inada Naoki
44bc2bd439
Update docstring
2020-12-04 17:52:24 +09:00
Peter Fischer
8fb709f2e0
Fix datetime before epoch on windows in cython implementation ( #436 )
...
Cython implementation still used datetime.from_timestamp method, which does not work on windows.
Update the cython implementation to use utc time and delta and add a regression test to highlight the issue.
2020-07-30 23:48:51 +09:00
Peter Fischer
772c830841
Synchronize handling of datetime in Packer implementations ( #434 )
...
The handling of datetime is different in the cython and Python implementations. In contrast to the docs, timezone is not required in the Python implementation.
2020-07-24 16:29:15 +09:00
Tom Pohl
5614dd5a89
Allow for timestamps before UNIX epoch ( #433 )
2020-07-23 17:53:55 +09:00
jfolz
c1b1a23f62
Fix Unpacker.tell() ( #427 )
...
Fixes #426 .
Co-authored-by: folz <joachim.folz@dfki.de>
2020-06-08 12:14:50 +09:00
Inada Naoki
fa7d7447fc
1.0.0
2020-02-17 17:07:18 +09:00
Inada Naoki
9d79351e99
Add some test for timestamp ( #403 )
2020-02-06 22:11:04 +09:00
Inada Naoki
42f5ecfd51
Fix some typo
2019-12-13 15:10:32 +09:00
Inada Naoki
5e1fe818e3
Reintroduce __ne__
2019-12-12 20:05:25 +09:00
Inada Naoki
9e5ec95e02
Make Timestamp hashable ( #396 )
...
When overriding __eq__, __hash__ should be overridden too.
2019-12-12 19:59:06 +09:00
Inada Naoki
887d3a7d22
Refine Timestamp APIs ( #395 )
2019-12-12 19:43:59 +09:00
Inada Naoki
a05fc5e7c5
black
2019-12-12 18:46:55 +09:00
Inada Naoki
3df431cafd
Prepare 1.0rc1
2019-12-12 18:25:38 +09:00
Inada Naoki
2186455d15
Support datetime. ( #394 )
2019-12-11 23:48:16 +09:00
Marty B
5fd6119093
Simplify check for bool type ( #362 )
2019-12-09 19:29:47 +09:00
Inada Naoki
d10f12db8f
typo
2019-12-09 18:12:51 +09:00
Inada Naoki
c356035a57
Unpacker: Change max_buffer_size to 100MiB ( #391 )
2019-12-09 17:03:12 +09:00
Inada Naoki
5399f8180d
Update README ( #393 )
2019-12-09 17:02:35 +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
7a8ce0f9ca
Remove unused import
2019-12-06 20:34:18 +09:00
Inada Naoki
7e9905bdfa
Use new msgpack spec by default. ( #386 )
2019-12-05 21:34:10 +09:00
Inada Naoki
de320488ae
fallback: Remove old buffer protocol support ( #384 )
2019-12-05 20:47:20 +09:00
Inada Naoki
9f4b2d53b7
Remove deprecated submodule unpack ( #385 )
2019-12-05 20:47:01 +09:00
Inada Naoki
9ae43709e4
Drop old buffer protocol support ( #383 )
2019-12-05 20:20:53 +09:00
Inada Naoki
e557e17cbd
blacken
2019-12-05 18:50:13 +09:00
Inada Naoki
641406902e
Add Timestamp support ( #382 )
2019-12-05 18:29:15 +09:00
Inada Naoki
2c6668941f
Intern map keys ( #381 )
...
Fixes #372 .
2019-12-03 21:18:17 +09:00
Inada Naoki
e419cd8e2d
Remove encoding option from Unpacker. ( #380 )
2019-12-03 21:13:05 +09:00
Inada Naoki
83ebb63c44
Ressurect unicode_errors of the Packer. ( #379 )
2019-12-03 20:53:11 +09:00
Inada Naoki
e1ed0044bf
Remove encoding/unicode_errors options from Packer ( #378 )
2019-12-03 18:54:01 +09:00
Inada Naoki
891f2d8743
Drop Python 2 support from _cmsgpack ( #376 )
2019-11-28 20:23:34 +09:00
Inada Naoki
997b524f06
0.6.2
2019-09-20 16:37:08 +09:00
Inada Naoki
3146ebd330
Use Py_SIZE() when it is safe ( #369 )
2019-09-19 13:20:57 +09:00
Marty B
b98b8cab99
Avoid calling __Pyx_GetModuleGlobalName for ExtType ( #363 )
2019-09-19 01:15:09 +09:00
Felix Schwarz
05ff11dbcc
use relative imports ( #357 )
...
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.
2019-05-12 21:44:32 +09:00
Inada Naoki
8f513af999
v0.6.1
2019-01-25 21:43:28 +09:00
Inada Naoki
280308e8ce
Recommend max_buffer_len instead of max_(str|bin|ext)_len
2019-01-25 21:27:46 +09:00
Inada Naoki
28b5f46a34
Auto limit configuration ( #342 )
2019-01-24 18:46:39 +09:00
INADA Naoki
f46523b1af
use _PyFloat APIs to (de)serialize ( #340 )
2019-01-07 21:10:40 +09:00
Inada Naoki
197e30723a
Fix docstring
2018-12-04 20:10:21 +09:00
Inada Naoki
cc7fd5722b
0.6.0
2018-11-30 19:03:44 +09:00
Inada Naoki
bbdfd4d92e
cleanup
2018-11-30 16:28:41 +09:00
Inada Naoki
8ae6320072
Fix fallback
2018-11-30 11:42:51 +09:00
Inada Naoki
dc1b993079
Implement strict_map_key to fallback unpacker.
2018-11-29 22:35:12 +09:00
Inada Naoki
e9086a34e4
Add strict_map_key option to unpacker
2018-11-29 22:29:38 +09:00
jkorvin
ab2415eaa0
Unpacker: allow to use buffer with size greater than 2 GB ( #332 )
2018-11-20 15:24:35 +09:00
INADA Naoki
44254dd35e
Add StackError and FormatError ( #331 )
2018-11-20 13:12:49 +09:00