tmsgpack 0.2.0__tar.gz → 0.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tmsgpack-0.2.0/tmsgpack.egg-info → tmsgpack-0.2.2}/PKG-INFO +1 -1
- {tmsgpack-0.2.0 → tmsgpack-0.2.2}/setup.cfg +1 -1
- {tmsgpack-0.2.0 → tmsgpack-0.2.2}/tmsgpack/__init__.py +1 -1
- {tmsgpack-0.2.0 → tmsgpack-0.2.2}/tmsgpack/pure_python/api.py +2 -2
- {tmsgpack-0.2.0 → tmsgpack-0.2.2/tmsgpack.egg-info}/PKG-INFO +1 -1
- {tmsgpack-0.2.0 → tmsgpack-0.2.2}/COPYING +0 -0
- {tmsgpack-0.2.0 → tmsgpack-0.2.2}/LICENSE +0 -0
- {tmsgpack-0.2.0 → tmsgpack-0.2.2}/MANIFEST.in +0 -0
- {tmsgpack-0.2.0 → tmsgpack-0.2.2}/README.md +0 -0
- {tmsgpack-0.2.0 → tmsgpack-0.2.2}/pyproject.toml +0 -0
- {tmsgpack-0.2.0 → tmsgpack-0.2.2}/setup.py +0 -0
- {tmsgpack-0.2.0 → tmsgpack-0.2.2}/tmsgpack/cython/__init__.py +0 -0
- {tmsgpack-0.2.0 → tmsgpack-0.2.2}/tmsgpack/cython/api.py +0 -0
- {tmsgpack-0.2.0 → tmsgpack-0.2.2}/tmsgpack/cython/tmsgpack.c +0 -0
- {tmsgpack-0.2.0 → tmsgpack-0.2.2}/tmsgpack/cython/tmsgpack.pyx +0 -0
- {tmsgpack-0.2.0 → tmsgpack-0.2.2}/tmsgpack/pure_python/__init__.py +0 -0
- {tmsgpack-0.2.0 → tmsgpack-0.2.2}/tmsgpack/pure_python/buffers.py +0 -0
- {tmsgpack-0.2.0 → tmsgpack-0.2.2}/tmsgpack/pure_python/engine.py +0 -0
- {tmsgpack-0.2.0 → tmsgpack-0.2.2}/tmsgpack/pure_python/exceptions.py +0 -0
- {tmsgpack-0.2.0 → tmsgpack-0.2.2}/tmsgpack.egg-info/SOURCES.txt +0 -0
- {tmsgpack-0.2.0 → tmsgpack-0.2.2}/tmsgpack.egg-info/dependency_links.txt +0 -0
- {tmsgpack-0.2.0 → tmsgpack-0.2.2}/tmsgpack.egg-info/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""tmsgpack - Typed MessagePack serializer"""
|
|
2
2
|
|
|
3
3
|
####################### Keep version in sync with setup.cfg #######################
|
|
4
|
-
__version__ = '0.2.
|
|
4
|
+
__version__ = '0.2.2' #
|
|
5
5
|
###################################################################################
|
|
6
6
|
|
|
7
7
|
__all__ = [
|
|
@@ -37,7 +37,7 @@ class CodecAPI:
|
|
|
37
37
|
"""Extension/Hook: Define how to decode typed bytes."""
|
|
38
38
|
|
|
39
39
|
@abstractmethod
|
|
40
|
-
def
|
|
40
|
+
def value_from_list(self, obj_type, values: list) -> Any:
|
|
41
41
|
"""Extension/Hook: Define how to decode typed tuples / dicts."""
|
|
42
42
|
|
|
43
43
|
@abstractmethod
|
|
@@ -91,7 +91,7 @@ class BasicCodec(EncodeDecode):
|
|
|
91
91
|
def value_from_bytes(self, obj_type, data: bytes):
|
|
92
92
|
raise TMsgpackDecodingError(f'No bytes extension defined: {obj_type=} {data=}')
|
|
93
93
|
|
|
94
|
-
def
|
|
94
|
+
def value_from_list(self, obj_type, values: list):
|
|
95
95
|
raise TMsgpackDecodingError(f'No tuple extension defined: {obj_type=} {values=}')
|
|
96
96
|
|
|
97
97
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|