private-attribute-cpp 1.4.0__tar.gz → 1.4.2__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.
- {private_attribute_cpp-1.4.0/private_attribute_cpp.egg-info → private_attribute_cpp-1.4.2}/PKG-INFO +1 -1
- {private_attribute_cpp-1.4.0 → private_attribute_cpp-1.4.2}/private_attribute.cpp +3 -3
- {private_attribute_cpp-1.4.0 → private_attribute_cpp-1.4.2/private_attribute_cpp.egg-info}/PKG-INFO +1 -1
- {private_attribute_cpp-1.4.0 → private_attribute_cpp-1.4.2}/setup.py +1 -1
- {private_attribute_cpp-1.4.0 → private_attribute_cpp-1.4.2}/LICENSE +0 -0
- {private_attribute_cpp-1.4.0 → private_attribute_cpp-1.4.2}/MANIFEST.in +0 -0
- {private_attribute_cpp-1.4.0 → private_attribute_cpp-1.4.2}/README.md +0 -0
- {private_attribute_cpp-1.4.0 → private_attribute_cpp-1.4.2}/picosha2.h +0 -0
- {private_attribute_cpp-1.4.0 → private_attribute_cpp-1.4.2}/private_attribute.pyi +0 -0
- {private_attribute_cpp-1.4.0 → private_attribute_cpp-1.4.2}/private_attribute_cpp.egg-info/SOURCES.txt +0 -0
- {private_attribute_cpp-1.4.0 → private_attribute_cpp-1.4.2}/private_attribute_cpp.egg-info/dependency_links.txt +0 -0
- {private_attribute_cpp-1.4.0 → private_attribute_cpp-1.4.2}/private_attribute_cpp.egg-info/not-zip-safe +0 -0
- {private_attribute_cpp-1.4.0 → private_attribute_cpp-1.4.2}/private_attribute_cpp.egg-info/top_level.txt +0 -0
- {private_attribute_cpp-1.4.0 → private_attribute_cpp-1.4.2}/setup.cfg +0 -0
{private_attribute_cpp-1.4.0/private_attribute_cpp.egg-info → private_attribute_cpp-1.4.2}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: private_attribute_cpp
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.2
|
|
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
|
|
@@ -1803,7 +1803,7 @@ need_analyse_type(PyObject* type)
|
|
|
1803
1803
|
}
|
|
1804
1804
|
#if PY_VERSION_HEX < 0x030D0000
|
|
1805
1805
|
PyObject* metaclass = PyWeakref_GET_OBJECT(metaclassref);
|
|
1806
|
-
if (
|
|
1806
|
+
if (PyObject_IsInstance(type, metaclass)) {
|
|
1807
1807
|
return true;
|
|
1808
1808
|
}
|
|
1809
1809
|
#else
|
|
@@ -2297,7 +2297,7 @@ ensure_subclass_tp(PyTypeObject* type_instance)
|
|
|
2297
2297
|
ensure_tp((PyTypeObject*)subclass);
|
|
2298
2298
|
#else
|
|
2299
2299
|
PyObject* subclass;
|
|
2300
|
-
if (PyWeakref_GetRef(value, (PyObject**)&subclass)
|
|
2300
|
+
if (PyWeakref_GetRef(value, (PyObject**)&subclass) != 1) {
|
|
2301
2301
|
continue;
|
|
2302
2302
|
}
|
|
2303
2303
|
if (!subclass || !PyType_Check(subclass)) {
|
|
@@ -2597,7 +2597,7 @@ subtype_change_all_slots(PyTypeObject* cls, const char* name)
|
|
|
2597
2597
|
}
|
|
2598
2598
|
#else
|
|
2599
2599
|
PyObject* obj;
|
|
2600
|
-
if (PyWeakref_GetRef(value, &obj) !=
|
|
2600
|
+
if (PyWeakref_GetRef(value, &obj) != 1) {
|
|
2601
2601
|
continue;
|
|
2602
2602
|
}
|
|
2603
2603
|
if (!obj) {
|
{private_attribute_cpp-1.4.0 → private_attribute_cpp-1.4.2/private_attribute_cpp.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: private_attribute_cpp
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.2
|
|
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.4.
|
|
22
|
+
version='1.4.2',
|
|
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.',
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|