private-attribute-cpp 1.3.9__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.9
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
@@ -3096,7 +3096,7 @@ static PyMethodDef PrivateModule_methods[] = {
3096
3096
  static PyTypeObject PrivateModuleType = {
3097
3097
  PyVarObject_HEAD_INIT(NULL, 0)
3098
3098
  "private_attribute_module", //tp_name
3099
- PyModule_Type.tp_basicsize, //tp_basicsize
3099
+ PyModule_Type.tp_basicsize + 1, //tp_basicsize size of module object + 1 byte for flag to avoid change attribute '__class__'
3100
3100
  0, //tp_itemsize
3101
3101
  0, //tp_dealloc
3102
3102
  0, //tp_print
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: private_attribute_cpp
3
- Version: 1.3.9
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.9',
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.',