private-attribute-cpp 2.1.13__tar.gz → 2.1.15__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.
Files changed (24) hide show
  1. {private_attribute_cpp-2.1.13/private_attribute_cpp.egg-info → private_attribute_cpp-2.1.15}/PKG-INFO +3 -1
  2. {private_attribute_cpp-2.1.13 → private_attribute_cpp-2.1.15}/private_attribute.cpp +0 -7
  3. {private_attribute_cpp-2.1.13 → private_attribute_cpp-2.1.15/private_attribute_cpp.egg-info}/PKG-INFO +3 -1
  4. {private_attribute_cpp-2.1.13 → private_attribute_cpp-2.1.15}/setup.py +2 -1
  5. {private_attribute_cpp-2.1.13 → private_attribute_cpp-2.1.15}/LICENSE +0 -0
  6. {private_attribute_cpp-2.1.13 → private_attribute_cpp-2.1.15}/MANIFEST.in +0 -0
  7. {private_attribute_cpp-2.1.13 → private_attribute_cpp-2.1.15}/README.md +0 -0
  8. {private_attribute_cpp-2.1.13 → private_attribute_cpp-2.1.15}/picosha2.h +0 -0
  9. {private_attribute_cpp-2.1.13 → private_attribute_cpp-2.1.15}/private_attribute.pyi +0 -0
  10. {private_attribute_cpp-2.1.13 → private_attribute_cpp-2.1.15}/private_attribute_cpp.egg-info/SOURCES.txt +0 -0
  11. {private_attribute_cpp-2.1.13 → private_attribute_cpp-2.1.15}/private_attribute_cpp.egg-info/dependency_links.txt +0 -0
  12. {private_attribute_cpp-2.1.13 → private_attribute_cpp-2.1.15}/private_attribute_cpp.egg-info/not-zip-safe +0 -0
  13. {private_attribute_cpp-2.1.13 → private_attribute_cpp-2.1.15}/private_attribute_cpp.egg-info/top_level.txt +0 -0
  14. {private_attribute_cpp-2.1.13 → private_attribute_cpp-2.1.15}/setup.cfg +0 -0
  15. {private_attribute_cpp-2.1.13 → private_attribute_cpp-2.1.15}/tests/test_attr_classify_owner.py +0 -0
  16. {private_attribute_cpp-2.1.13 → private_attribute_cpp-2.1.15}/tests/test_class_private_attrs.py +0 -0
  17. {private_attribute_cpp-2.1.13 → private_attribute_cpp-2.1.15}/tests/test_gc_collect.py +0 -0
  18. {private_attribute_cpp-2.1.13 → private_attribute_cpp-2.1.15}/tests/test_private_abc.py +0 -0
  19. {private_attribute_cpp-2.1.13 → private_attribute_cpp-2.1.15}/tests/test_private_attrs.py +0 -0
  20. {private_attribute_cpp-2.1.13 → private_attribute_cpp-2.1.15}/tests/test_private_func.py +0 -0
  21. {private_attribute_cpp-2.1.13 → private_attribute_cpp-2.1.15}/tests/test_private_inheritance.py +0 -0
  22. {private_attribute_cpp-2.1.13 → private_attribute_cpp-2.1.15}/tests/test_private_method.py +0 -0
  23. {private_attribute_cpp-2.1.13 → private_attribute_cpp-2.1.15}/tests/test_private_wrap.py +0 -0
  24. {private_attribute_cpp-2.1.13 → private_attribute_cpp-2.1.15}/tests/test_slots_cycle.py +0 -0
@@ -1,11 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: private_attribute_cpp
3
- Version: 2.1.13
3
+ Version: 2.1.15
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
7
7
  Author-email: 13140752715@example.com
8
8
  License: MIT
9
+ Requires-Python: >=3.10
9
10
  Description-Content-Type: text/markdown
10
11
  License-File: LICENSE
11
12
  Dynamic: author
@@ -15,6 +16,7 @@ Dynamic: description-content-type
15
16
  Dynamic: home-page
16
17
  Dynamic: license
17
18
  Dynamic: license-file
19
+ Dynamic: requires-python
18
20
  Dynamic: summary
19
21
 
20
22
  # Private Attribute (c++ implementation)
@@ -3765,13 +3765,6 @@ metaclass_weakref_callback(PyObject* self, PyObject* /*weakref*/) noexcept
3765
3765
  }
3766
3766
  uintptr_t id = (uintptr_t)pointer;
3767
3767
 
3768
- // Clean up the class-level AllData owned by this registered metaclass
3769
- // (type_attr_dict / all_type_subclass_attr / object buckets / caches).
3770
- // This replaces the old tp_finalize hook (register_finalize) which has
3771
- // been removed: a weakref callback fires on every death path (refcount and
3772
- // cyclic GC) without making the metaclass "finalizable".
3773
- PrivateAttrType_finalize((PyObject*)id);
3774
-
3775
3768
  std::unique_lock lock(::AllData::all_register_new_metaclass_mutex);
3776
3769
 
3777
3770
  auto it = ::AllData::all_register_type_weak_ref.find(id);
@@ -1,11 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: private_attribute_cpp
3
- Version: 2.1.13
3
+ Version: 2.1.15
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
7
7
  Author-email: 13140752715@example.com
8
8
  License: MIT
9
+ Requires-Python: >=3.10
9
10
  Description-Content-Type: text/markdown
10
11
  License-File: LICENSE
11
12
  Dynamic: author
@@ -15,6 +16,7 @@ Dynamic: description-content-type
15
16
  Dynamic: home-page
16
17
  Dynamic: license
17
18
  Dynamic: license-file
19
+ Dynamic: requires-python
18
20
  Dynamic: summary
19
21
 
20
22
  # Private Attribute (c++ implementation)
@@ -24,7 +24,7 @@ readme = open('README.md').read()
24
24
 
25
25
  setup(
26
26
  name='private_attribute_cpp',
27
- version='2.1.13',
27
+ version='2.1.15',
28
28
  author="HuangHaoHua",
29
29
  author_email="13140752715@example.com",
30
30
  description='A Python package that provides a way to define private attributes in C++ implementation.',
@@ -33,6 +33,7 @@ setup(
33
33
  long_description=readme,
34
34
  long_description_content_type='text/markdown',
35
35
  license="MIT",
36
+ python_requires=">=3.10",
36
37
  # add "private_attribute.pyi"
37
38
  package_data={'': ['private_attribute.pyi']},
38
39