tmsgpack 0.2.13__tar.gz → 0.2.14__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.
@@ -0,0 +1 @@
1
+ 0.2.14
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tmsgpack
3
- Version: 0.2.13
3
+ Version: 0.2.14
4
4
  Summary: Typed MessagePack serializer (inspired by but different from msgpack)
5
5
  Home-page: https://github.com/Yaakov-Belch/tmsgpack
6
6
  Author: Yaakov Belch
@@ -38,11 +38,11 @@ class BasicCodec(EncodeDecode):
38
38
  def decompose_value(self, ectx):
39
39
  raise TMsgpackError(f'Unsupported value: {ectx.value}')
40
40
 
41
- def value_from_bytes(self, obj_type, data: bytes):
42
- raise TMsgpackError(f'No bytes extension defined: {obj_type=} {data=}')
41
+ def value_from_bytes(self, dctx):
42
+ raise TMsgpackError(f'No bytes extension defined: {dctx._type}')
43
43
 
44
- def value_from_list(self, obj_type, values: list):
45
- raise TMsgpackError(f'No tuple extension defined: {obj_type=} {values=}')
44
+ def value_from_list(self, dctx):
45
+ raise TMsgpackError(f'No tuple extension defined: {dctx._type}')
46
46
 
47
47
 
48
48
  basic_codec = BasicCodec()
@@ -2730,7 +2730,7 @@ static const char __pyx_k_start[] = "start";
2730
2730
  static const char __pyx_k_state[] = "state";
2731
2731
  static const char __pyx_k_super[] = "super";
2732
2732
  static const char __pyx_k_value[] = "value";
2733
- static const char __pyx_k_0_2_13[] = "0.2.13";
2733
+ static const char __pyx_k_0_2_14[] = "0.2.14";
2734
2734
  static const char __pyx_k_dict_2[] = "_dict";
2735
2735
  static const char __pyx_k_enable[] = "enable";
2736
2736
  static const char __pyx_k_extend[] = "extend";
@@ -3041,7 +3041,7 @@ typedef struct {
3041
3041
  PyTypeObject *__pyx_ptype_8tmsgpack_6cython_BaseDecodeBuffer;
3042
3042
  PyTypeObject *__pyx_ptype_8tmsgpack_6cython_SafeEncodeBuffer;
3043
3043
  PyTypeObject *__pyx_ptype_8tmsgpack_6cython_SafeDecodeBuffer;
3044
- PyObject *__pyx_kp_u_0_2_13;
3044
+ PyObject *__pyx_kp_u_0_2_14;
3045
3045
  PyObject *__pyx_kp_u_B;
3046
3046
  PyObject *__pyx_n_s_BaseDecodeBuffer;
3047
3047
  PyObject *__pyx_n_s_BaseDecodeBuffer___reduce_cython;
@@ -3394,7 +3394,7 @@ static int __pyx_m_clear(PyObject *m) {
3394
3394
  Py_CLEAR(clear_module_state->__pyx_type_8tmsgpack_6cython_SafeEncodeBuffer);
3395
3395
  Py_CLEAR(clear_module_state->__pyx_ptype_8tmsgpack_6cython_SafeDecodeBuffer);
3396
3396
  Py_CLEAR(clear_module_state->__pyx_type_8tmsgpack_6cython_SafeDecodeBuffer);
3397
- Py_CLEAR(clear_module_state->__pyx_kp_u_0_2_13);
3397
+ Py_CLEAR(clear_module_state->__pyx_kp_u_0_2_14);
3398
3398
  Py_CLEAR(clear_module_state->__pyx_kp_u_B);
3399
3399
  Py_CLEAR(clear_module_state->__pyx_n_s_BaseDecodeBuffer);
3400
3400
  Py_CLEAR(clear_module_state->__pyx_n_s_BaseDecodeBuffer___reduce_cython);
@@ -3725,7 +3725,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
3725
3725
  Py_VISIT(traverse_module_state->__pyx_type_8tmsgpack_6cython_SafeEncodeBuffer);
3726
3726
  Py_VISIT(traverse_module_state->__pyx_ptype_8tmsgpack_6cython_SafeDecodeBuffer);
3727
3727
  Py_VISIT(traverse_module_state->__pyx_type_8tmsgpack_6cython_SafeDecodeBuffer);
3728
- Py_VISIT(traverse_module_state->__pyx_kp_u_0_2_13);
3728
+ Py_VISIT(traverse_module_state->__pyx_kp_u_0_2_14);
3729
3729
  Py_VISIT(traverse_module_state->__pyx_kp_u_B);
3730
3730
  Py_VISIT(traverse_module_state->__pyx_n_s_BaseDecodeBuffer);
3731
3731
  Py_VISIT(traverse_module_state->__pyx_n_s_BaseDecodeBuffer___reduce_cython);
@@ -4084,7 +4084,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
4084
4084
  #define __pyx_ptype_8tmsgpack_6cython_BaseDecodeBuffer __pyx_mstate_global->__pyx_ptype_8tmsgpack_6cython_BaseDecodeBuffer
4085
4085
  #define __pyx_ptype_8tmsgpack_6cython_SafeEncodeBuffer __pyx_mstate_global->__pyx_ptype_8tmsgpack_6cython_SafeEncodeBuffer
4086
4086
  #define __pyx_ptype_8tmsgpack_6cython_SafeDecodeBuffer __pyx_mstate_global->__pyx_ptype_8tmsgpack_6cython_SafeDecodeBuffer
4087
- #define __pyx_kp_u_0_2_13 __pyx_mstate_global->__pyx_kp_u_0_2_13
4087
+ #define __pyx_kp_u_0_2_14 __pyx_mstate_global->__pyx_kp_u_0_2_14
4088
4088
  #define __pyx_kp_u_B __pyx_mstate_global->__pyx_kp_u_B
4089
4089
  #define __pyx_n_s_BaseDecodeBuffer __pyx_mstate_global->__pyx_n_s_BaseDecodeBuffer
4090
4090
  #define __pyx_n_s_BaseDecodeBuffer___reduce_cython __pyx_mstate_global->__pyx_n_s_BaseDecodeBuffer___reduce_cython
@@ -25214,7 +25214,7 @@ static PyMethodDef __pyx_methods[] = {
25214
25214
 
25215
25215
  static int __Pyx_CreateStringTabAndInitStrings(void) {
25216
25216
  __Pyx_StringTabEntry __pyx_string_tab[] = {
25217
- {&__pyx_kp_u_0_2_13, __pyx_k_0_2_13, sizeof(__pyx_k_0_2_13), 0, 1, 0, 0},
25217
+ {&__pyx_kp_u_0_2_14, __pyx_k_0_2_14, sizeof(__pyx_k_0_2_14), 0, 1, 0, 0},
25218
25218
  {&__pyx_kp_u_B, __pyx_k_B, sizeof(__pyx_k_B), 0, 1, 0, 0},
25219
25219
  {&__pyx_n_s_BaseDecodeBuffer, __pyx_k_BaseDecodeBuffer, sizeof(__pyx_k_BaseDecodeBuffer), 0, 0, 1, 1},
25220
25220
  {&__pyx_n_s_BaseDecodeBuffer___reduce_cython, __pyx_k_BaseDecodeBuffer___reduce_cython, sizeof(__pyx_k_BaseDecodeBuffer___reduce_cython), 0, 0, 1, 1},
@@ -26681,11 +26681,11 @@ if (!__Pyx_RefNanny) {
26681
26681
  /* "tmsgpack/cython.pyx":4
26682
26682
  * # DON'T EDIT THIS FILE. EDIT THE SOURCES, INSTEAD: tmsgpack/src-parts/[inserted by cython to avoid comment start]*
26683
26683
  *
26684
- * __version__ = "0.2.13" # <<<<<<<<<<<<<<
26684
+ * __version__ = "0.2.14" # <<<<<<<<<<<<<<
26685
26685
  *
26686
26686
  * from libc.stdint cimport int8_t, int16_t, int32_t, int64_t
26687
26687
  */
26688
- if (PyDict_SetItem(__pyx_d, __pyx_n_s_version, __pyx_kp_u_0_2_13) < 0) __PYX_ERR(1, 4, __pyx_L1_error)
26688
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_version, __pyx_kp_u_0_2_14) < 0) __PYX_ERR(1, 4, __pyx_L1_error)
26689
26689
 
26690
26690
  /* "tmsgpack/cython.pyx":13
26691
26691
  * ctypedef double float64_t
@@ -1,7 +1,7 @@
1
1
  # THIS FILE IS AUTOMATICALLY CREATED BY THE test-run.sh SCRIPT!
2
2
  # DON'T EDIT THIS FILE. EDIT THE SOURCES, INSTEAD: tmsgpack/src-parts/*
3
3
 
4
- __version__ = "0.2.13"
4
+ __version__ = "0.2.14"
5
5
 
6
6
  from libc.stdint cimport int8_t, int16_t, int32_t, int64_t
7
7
  from libc.stdint cimport uint8_t, uint16_t, uint32_t, uint64_t
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tmsgpack
3
- Version: 0.2.13
3
+ Version: 0.2.14
4
4
  Summary: Typed MessagePack serializer (inspired by but different from msgpack)
5
5
  Home-page: https://github.com/Yaakov-Belch/tmsgpack
6
6
  Author: Yaakov Belch
@@ -1 +0,0 @@
1
- 0.2.13
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes