tmsgpack 0.2.18__tar.gz → 0.2.20__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.20
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tmsgpack
3
- Version: 0.2.18
3
+ Version: 0.2.20
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
@@ -1540,8 +1540,8 @@ struct __pyx_opt_args_8tmsgpack_6cython_9EncodeCtx_put_dict {
1540
1540
  * ctypedef object TMsgpackCodec
1541
1541
  *
1542
1542
  * cdef class EncodeCtx: # <<<<<<<<<<<<<<
1543
- * cdef TMsgpackCodec codec
1544
- * cdef BaseEncodeBuffer ebuf
1543
+ * cdef readonly TMsgpackCodec codec
1544
+ * cdef BaseEncodeBuffer ebuf
1545
1545
  */
1546
1546
  struct __pyx_obj_8tmsgpack_6cython_EncodeCtx {
1547
1547
  PyObject_HEAD
@@ -1632,8 +1632,8 @@ struct __pyx_obj_8tmsgpack_6cython_SafeDecodeBuffer {
1632
1632
  * ctypedef object TMsgpackCodec
1633
1633
  *
1634
1634
  * cdef class EncodeCtx: # <<<<<<<<<<<<<<
1635
- * cdef TMsgpackCodec codec
1636
- * cdef BaseEncodeBuffer ebuf
1635
+ * cdef readonly TMsgpackCodec codec
1636
+ * cdef BaseEncodeBuffer ebuf
1637
1637
  */
1638
1638
 
1639
1639
  struct __pyx_vtabstruct_8tmsgpack_6cython_EncodeCtx {
@@ -2736,7 +2736,7 @@ static const char __pyx_k_start[] = "start";
2736
2736
  static const char __pyx_k_state[] = "state";
2737
2737
  static const char __pyx_k_super[] = "super";
2738
2738
  static const char __pyx_k_value[] = "value";
2739
- static const char __pyx_k_0_2_18[] = "0.2.18";
2739
+ static const char __pyx_k_0_2_20[] = "0.2.20";
2740
2740
  static const char __pyx_k_dict_2[] = "_dict";
2741
2741
  static const char __pyx_k_enable[] = "enable";
2742
2742
  static const char __pyx_k_extend[] = "extend";
@@ -2918,6 +2918,7 @@ static PyObject *__pyx_pf_8tmsgpack_6cython_9EncodeCtx_4put_bytes(struct __pyx_o
2918
2918
  static PyObject *__pyx_pf_8tmsgpack_6cython_9EncodeCtx_6put_sequence(struct __pyx_obj_8tmsgpack_6cython_EncodeCtx *__pyx_v_self, PyObject *__pyx_v__type, PyObject *__pyx_v_value); /* proto */
2919
2919
  static PyObject *__pyx_pf_8tmsgpack_6cython_9EncodeCtx_8put_dict(struct __pyx_obj_8tmsgpack_6cython_EncodeCtx *__pyx_v_self, PyObject *__pyx_v__type, PyObject *__pyx_v_value, int __pyx_v_sort); /* proto */
2920
2920
  static PyObject *__pyx_pf_8tmsgpack_6cython_9EncodeCtx_10put_value(struct __pyx_obj_8tmsgpack_6cython_EncodeCtx *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
2921
+ static PyObject *__pyx_pf_8tmsgpack_6cython_9EncodeCtx_5codec___get__(struct __pyx_obj_8tmsgpack_6cython_EncodeCtx *__pyx_v_self); /* proto */
2921
2922
  static PyObject *__pyx_pf_8tmsgpack_6cython_9EncodeCtx_5value___get__(struct __pyx_obj_8tmsgpack_6cython_EncodeCtx *__pyx_v_self); /* proto */
2922
2923
  static PyObject *__pyx_pf_8tmsgpack_6cython_9EncodeCtx_9sort_keys___get__(struct __pyx_obj_8tmsgpack_6cython_EncodeCtx *__pyx_v_self); /* proto */
2923
2924
  static PyObject *__pyx_pf_8tmsgpack_6cython_9EncodeCtx_12__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_8tmsgpack_6cython_EncodeCtx *__pyx_v_self); /* proto */
@@ -3057,7 +3058,7 @@ typedef struct {
3057
3058
  PyTypeObject *__pyx_ptype_8tmsgpack_6cython_BaseDecodeBuffer;
3058
3059
  PyTypeObject *__pyx_ptype_8tmsgpack_6cython_SafeEncodeBuffer;
3059
3060
  PyTypeObject *__pyx_ptype_8tmsgpack_6cython_SafeDecodeBuffer;
3060
- PyObject *__pyx_kp_u_0_2_18;
3061
+ PyObject *__pyx_kp_u_0_2_20;
3061
3062
  PyObject *__pyx_kp_u_B;
3062
3063
  PyObject *__pyx_n_s_BaseDecodeBuffer;
3063
3064
  PyObject *__pyx_n_s_BaseDecodeBuffer___reduce_cython;
@@ -3420,7 +3421,7 @@ static int __pyx_m_clear(PyObject *m) {
3420
3421
  Py_CLEAR(clear_module_state->__pyx_type_8tmsgpack_6cython_SafeEncodeBuffer);
3421
3422
  Py_CLEAR(clear_module_state->__pyx_ptype_8tmsgpack_6cython_SafeDecodeBuffer);
3422
3423
  Py_CLEAR(clear_module_state->__pyx_type_8tmsgpack_6cython_SafeDecodeBuffer);
3423
- Py_CLEAR(clear_module_state->__pyx_kp_u_0_2_18);
3424
+ Py_CLEAR(clear_module_state->__pyx_kp_u_0_2_20);
3424
3425
  Py_CLEAR(clear_module_state->__pyx_kp_u_B);
3425
3426
  Py_CLEAR(clear_module_state->__pyx_n_s_BaseDecodeBuffer);
3426
3427
  Py_CLEAR(clear_module_state->__pyx_n_s_BaseDecodeBuffer___reduce_cython);
@@ -3761,7 +3762,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
3761
3762
  Py_VISIT(traverse_module_state->__pyx_type_8tmsgpack_6cython_SafeEncodeBuffer);
3762
3763
  Py_VISIT(traverse_module_state->__pyx_ptype_8tmsgpack_6cython_SafeDecodeBuffer);
3763
3764
  Py_VISIT(traverse_module_state->__pyx_type_8tmsgpack_6cython_SafeDecodeBuffer);
3764
- Py_VISIT(traverse_module_state->__pyx_kp_u_0_2_18);
3765
+ Py_VISIT(traverse_module_state->__pyx_kp_u_0_2_20);
3765
3766
  Py_VISIT(traverse_module_state->__pyx_kp_u_B);
3766
3767
  Py_VISIT(traverse_module_state->__pyx_n_s_BaseDecodeBuffer);
3767
3768
  Py_VISIT(traverse_module_state->__pyx_n_s_BaseDecodeBuffer___reduce_cython);
@@ -4130,7 +4131,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
4130
4131
  #define __pyx_ptype_8tmsgpack_6cython_BaseDecodeBuffer __pyx_mstate_global->__pyx_ptype_8tmsgpack_6cython_BaseDecodeBuffer
4131
4132
  #define __pyx_ptype_8tmsgpack_6cython_SafeEncodeBuffer __pyx_mstate_global->__pyx_ptype_8tmsgpack_6cython_SafeEncodeBuffer
4132
4133
  #define __pyx_ptype_8tmsgpack_6cython_SafeDecodeBuffer __pyx_mstate_global->__pyx_ptype_8tmsgpack_6cython_SafeDecodeBuffer
4133
- #define __pyx_kp_u_0_2_18 __pyx_mstate_global->__pyx_kp_u_0_2_18
4134
+ #define __pyx_kp_u_0_2_20 __pyx_mstate_global->__pyx_kp_u_0_2_20
4134
4135
  #define __pyx_kp_u_B __pyx_mstate_global->__pyx_kp_u_B
4135
4136
  #define __pyx_n_s_BaseDecodeBuffer __pyx_mstate_global->__pyx_n_s_BaseDecodeBuffer
4136
4137
  #define __pyx_n_s_BaseDecodeBuffer___reduce_cython __pyx_mstate_global->__pyx_n_s_BaseDecodeBuffer___reduce_cython
@@ -4441,7 +4442,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
4441
4442
  /* #### Code section: module_code ### */
4442
4443
 
4443
4444
  /* "tmsgpack/cython.pyx":79
4444
- * cdef readonly bint sort_keys
4445
+ * cdef readonly bint sort_keys
4445
4446
  *
4446
4447
  * def __cinit__(self, TMsgpackCodec codec, BaseEncodeBuffer ebuf): # <<<<<<<<<<<<<<
4447
4448
  * self.codec = codec
@@ -4619,7 +4620,7 @@ static int __pyx_pf_8tmsgpack_6cython_9EncodeCtx___cinit__(struct __pyx_obj_8tms
4619
4620
  __pyx_v_self->sort_keys = __pyx_t_2;
4620
4621
 
4621
4622
  /* "tmsgpack/cython.pyx":79
4622
- * cdef readonly bint sort_keys
4623
+ * cdef readonly bint sort_keys
4623
4624
  *
4624
4625
  * def __cinit__(self, TMsgpackCodec codec, BaseEncodeBuffer ebuf): # <<<<<<<<<<<<<<
4625
4626
  * self.codec = codec
@@ -6784,12 +6785,51 @@ static PyObject *__pyx_pf_8tmsgpack_6cython_9EncodeCtx_10put_value(struct __pyx_
6784
6785
  return __pyx_r;
6785
6786
  }
6786
6787
 
6788
+ /* "tmsgpack/cython.pyx":73
6789
+ *
6790
+ * cdef class EncodeCtx:
6791
+ * cdef readonly TMsgpackCodec codec # <<<<<<<<<<<<<<
6792
+ * cdef BaseEncodeBuffer ebuf
6793
+ * cdef readonly object value
6794
+ */
6795
+
6796
+ /* Python wrapper */
6797
+ static PyObject *__pyx_pw_8tmsgpack_6cython_9EncodeCtx_5codec_1__get__(PyObject *__pyx_v_self); /*proto*/
6798
+ static PyObject *__pyx_pw_8tmsgpack_6cython_9EncodeCtx_5codec_1__get__(PyObject *__pyx_v_self) {
6799
+ CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
6800
+ PyObject *__pyx_r = 0;
6801
+ __Pyx_RefNannyDeclarations
6802
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
6803
+ __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
6804
+ __pyx_r = __pyx_pf_8tmsgpack_6cython_9EncodeCtx_5codec___get__(((struct __pyx_obj_8tmsgpack_6cython_EncodeCtx *)__pyx_v_self));
6805
+
6806
+ /* function exit code */
6807
+ __Pyx_RefNannyFinishContext();
6808
+ return __pyx_r;
6809
+ }
6810
+
6811
+ static PyObject *__pyx_pf_8tmsgpack_6cython_9EncodeCtx_5codec___get__(struct __pyx_obj_8tmsgpack_6cython_EncodeCtx *__pyx_v_self) {
6812
+ PyObject *__pyx_r = NULL;
6813
+ __Pyx_RefNannyDeclarations
6814
+ __Pyx_RefNannySetupContext("__get__", 1);
6815
+ __Pyx_XDECREF(__pyx_r);
6816
+ __Pyx_INCREF(__pyx_v_self->codec);
6817
+ __pyx_r = ((PyObject *)__pyx_v_self->codec);
6818
+ goto __pyx_L0;
6819
+
6820
+ /* function exit code */
6821
+ __pyx_L0:;
6822
+ __Pyx_XGIVEREF(__pyx_r);
6823
+ __Pyx_RefNannyFinishContext();
6824
+ return __pyx_r;
6825
+ }
6826
+
6787
6827
  /* "tmsgpack/cython.pyx":75
6788
- * cdef TMsgpackCodec codec
6789
- * cdef BaseEncodeBuffer ebuf
6790
- * cdef readonly object value # <<<<<<<<<<<<<<
6791
- * cdef bint _used
6792
- * cdef readonly bint sort_keys
6828
+ * cdef readonly TMsgpackCodec codec
6829
+ * cdef BaseEncodeBuffer ebuf
6830
+ * cdef readonly object value # <<<<<<<<<<<<<<
6831
+ * cdef bint _used
6832
+ * cdef readonly bint sort_keys
6793
6833
  */
6794
6834
 
6795
6835
  /* Python wrapper */
@@ -6824,9 +6864,9 @@ static PyObject *__pyx_pf_8tmsgpack_6cython_9EncodeCtx_5value___get__(struct __p
6824
6864
  }
6825
6865
 
6826
6866
  /* "tmsgpack/cython.pyx":77
6827
- * cdef readonly object value
6828
- * cdef bint _used
6829
- * cdef readonly bint sort_keys # <<<<<<<<<<<<<<
6867
+ * cdef readonly object value
6868
+ * cdef bint _used
6869
+ * cdef readonly bint sort_keys # <<<<<<<<<<<<<<
6830
6870
  *
6831
6871
  * def __cinit__(self, TMsgpackCodec codec, BaseEncodeBuffer ebuf):
6832
6872
  */
@@ -25120,6 +25160,10 @@ static int __pyx_tp_clear_8tmsgpack_6cython_EncodeCtx(PyObject *o) {
25120
25160
  return 0;
25121
25161
  }
25122
25162
 
25163
+ static PyObject *__pyx_getprop_8tmsgpack_6cython_9EncodeCtx_codec(PyObject *o, CYTHON_UNUSED void *x) {
25164
+ return __pyx_pw_8tmsgpack_6cython_9EncodeCtx_5codec_1__get__(o);
25165
+ }
25166
+
25123
25167
  static PyObject *__pyx_getprop_8tmsgpack_6cython_9EncodeCtx_value(PyObject *o, CYTHON_UNUSED void *x) {
25124
25168
  return __pyx_pw_8tmsgpack_6cython_9EncodeCtx_5value_1__get__(o);
25125
25169
  }
@@ -25135,6 +25179,7 @@ static PyMethodDef __pyx_methods_8tmsgpack_6cython_EncodeCtx[] = {
25135
25179
  };
25136
25180
 
25137
25181
  static struct PyGetSetDef __pyx_getsets_8tmsgpack_6cython_EncodeCtx[] = {
25182
+ {(char *)"codec", __pyx_getprop_8tmsgpack_6cython_9EncodeCtx_codec, 0, (char *)0, 0},
25138
25183
  {(char *)"value", __pyx_getprop_8tmsgpack_6cython_9EncodeCtx_value, 0, (char *)0, 0},
25139
25184
  {(char *)"sort_keys", __pyx_getprop_8tmsgpack_6cython_9EncodeCtx_sort_keys, 0, (char *)0, 0},
25140
25185
  {0, 0, 0, 0, 0}
@@ -26008,7 +26053,7 @@ static PyMethodDef __pyx_methods[] = {
26008
26053
 
26009
26054
  static int __Pyx_CreateStringTabAndInitStrings(void) {
26010
26055
  __Pyx_StringTabEntry __pyx_string_tab[] = {
26011
- {&__pyx_kp_u_0_2_18, __pyx_k_0_2_18, sizeof(__pyx_k_0_2_18), 0, 1, 0, 0},
26056
+ {&__pyx_kp_u_0_2_20, __pyx_k_0_2_20, sizeof(__pyx_k_0_2_20), 0, 1, 0, 0},
26012
26057
  {&__pyx_kp_u_B, __pyx_k_B, sizeof(__pyx_k_B), 0, 1, 0, 0},
26013
26058
  {&__pyx_n_s_BaseDecodeBuffer, __pyx_k_BaseDecodeBuffer, sizeof(__pyx_k_BaseDecodeBuffer), 0, 0, 1, 1},
26014
26059
  {&__pyx_n_s_BaseDecodeBuffer___reduce_cython, __pyx_k_BaseDecodeBuffer___reduce_cython, sizeof(__pyx_k_BaseDecodeBuffer___reduce_cython), 0, 0, 1, 1},
@@ -27512,11 +27557,11 @@ if (!__Pyx_RefNanny) {
27512
27557
  /* "tmsgpack/cython.pyx":4
27513
27558
  * # DON'T EDIT THIS FILE. EDIT THE SOURCES, INSTEAD: tmsgpack/src-parts/[inserted by cython to avoid comment start]*
27514
27559
  *
27515
- * __version__ = "0.2.18" # <<<<<<<<<<<<<<
27560
+ * __version__ = "0.2.20" # <<<<<<<<<<<<<<
27516
27561
  *
27517
27562
  * from libc.stdint cimport int8_t, int16_t, int32_t, int64_t
27518
27563
  */
27519
- if (PyDict_SetItem(__pyx_d, __pyx_n_s_version, __pyx_kp_u_0_2_18) < 0) __PYX_ERR(1, 4, __pyx_L1_error)
27564
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_version, __pyx_kp_u_0_2_20) < 0) __PYX_ERR(1, 4, __pyx_L1_error)
27520
27565
 
27521
27566
  /* "tmsgpack/cython.pyx":13
27522
27567
  * 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.18"
4
+ __version__ = "0.2.20"
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
@@ -70,11 +70,11 @@ NoneType = type(None)
70
70
  ctypedef object TMsgpackCodec
71
71
 
72
72
  cdef class EncodeCtx:
73
- cdef TMsgpackCodec codec
74
- cdef BaseEncodeBuffer ebuf
75
- cdef readonly object value
76
- cdef bint _used
77
- cdef readonly bint sort_keys
73
+ cdef readonly TMsgpackCodec codec
74
+ cdef BaseEncodeBuffer ebuf
75
+ cdef readonly object value
76
+ cdef bint _used
77
+ cdef readonly bint sort_keys
78
78
 
79
79
  def __cinit__(self, TMsgpackCodec codec, BaseEncodeBuffer ebuf):
80
80
  self.codec = codec
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tmsgpack
3
- Version: 0.2.18
3
+ Version: 0.2.20
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.18
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes