private-attribute-cpp 1.3.8__tar.gz → 1.3.10__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: private_attribute_cpp
3
- Version: 1.3.8
3
+ Version: 1.3.10
4
4
  Summary: A Python package that provides a way to define private attributes in C++ implementation.
5
5
  Home-page: https://github.com/Locked-chess-official/private_attribute_cpp
6
6
  Author: HuangHaoHua
@@ -2970,10 +2970,6 @@ ensure_metaclass_tp(PyObject* /*self*/, PyObject* metaclass)
2970
2970
  Py_RETURN_NONE;
2971
2971
  }
2972
2972
 
2973
- typedef struct PrivateModule {
2974
- PyObject_HEAD
2975
- }PrivateModule;
2976
-
2977
2973
  static PyObject*
2978
2974
  PrivateModule_get_PrivateWrapProxy(PyObject* /*self*/, void* /*closure*/)
2979
2975
  {
@@ -3100,7 +3096,7 @@ static PyMethodDef PrivateModule_methods[] = {
3100
3096
  static PyTypeObject PrivateModuleType = {
3101
3097
  PyVarObject_HEAD_INIT(NULL, 0)
3102
3098
  "private_attribute_module", //tp_name
3103
- sizeof(PrivateModule), //tp_basicsize
3099
+ PyModule_Type.tp_basicsize + 1, //tp_basicsize size of module object + 1 byte for flag to avoid change attribute '__class__'
3104
3100
  0, //tp_itemsize
3105
3101
  0, //tp_dealloc
3106
3102
  0, //tp_print
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: private_attribute_cpp
3
- Version: 1.3.8
3
+ Version: 1.3.10
4
4
  Summary: A Python package that provides a way to define private attributes in C++ implementation.
5
5
  Home-page: https://github.com/Locked-chess-official/private_attribute_cpp
6
6
  Author: HuangHaoHua
@@ -19,7 +19,7 @@ readme = open('README.md').read()
19
19
 
20
20
  setup(
21
21
  name='private_attribute_cpp',
22
- version='1.3.8',
22
+ version='1.3.10',
23
23
  author="HuangHaoHua",
24
24
  author_email="13140752715@example.com",
25
25
  description='A Python package that provides a way to define private attributes in C++ implementation.',