pyobject 1.2.7.2__tar.gz → 1.2.7.3__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.
- {pyobject-1.2.7.2/pyobject.egg-info → pyobject-1.2.7.3}/PKG-INFO +1 -1
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject/__init__.py +1 -1
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject/pyobj_extension.c +2 -2
- {pyobject-1.2.7.2 → pyobject-1.2.7.3/pyobject.egg-info}/PKG-INFO +1 -1
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/LICENSE +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/MANIFEST.in +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/README.rst +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject/browser.py +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject/code_.py +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject/images/back.gif +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject/images/codeobject.gif +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject/images/dict.gif +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject/images/empty_dict.gif +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject/images/empty_list.gif +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject/images/empty_tuple.gif +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject/images/forward.gif +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject/images/function.gif +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject/images/list.gif +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject/images/number.gif +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject/images/python.gif +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject/images/python.ico +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject/images/refresh.gif +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject/images/string.gif +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject/images/tuple.gif +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject/newtypes.py +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject/search.py +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject/super_reflect.py +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject/test/README.md +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject/test/__init__.py +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject/test/browser_chs_locale.py +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject/test/empty.pyc +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject/test/interpreter_shutdown.py +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject/test/pyc_zipper_lzma.py +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject/test/pyc_zipper_unpack.py +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject/test/pyc_zipper_zlib.py +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject/test/testcode.py +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject.egg-info/SOURCES.txt +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject.egg-info/dependency_links.txt +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/pyobject.egg-info/top_level.txt +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/setup.cfg +0 -0
- {pyobject-1.2.7.2 → pyobject-1.2.7.3}/setup.py +0 -0
|
@@ -282,7 +282,7 @@ static PyObject* set_type_mro(PyObject *self, PyObject *args, PyObject *kwargs)
|
|
|
282
282
|
#ifdef _PY312
|
|
283
283
|
#define managed_static_type_state static_builtin_state /* 兼容3.12 */
|
|
284
284
|
#endif
|
|
285
|
-
|
|
285
|
+
PyObject **_lookup_tp_subclasses(PyTypeObject *self){ // 从解释器的实现typeobject.c复制
|
|
286
286
|
#ifdef _PY312P
|
|
287
287
|
if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
|
|
288
288
|
PyInterpreterState *interp = _PyInterpreterState_GET();
|
|
@@ -291,7 +291,7 @@ inline PyObject **_lookup_tp_subclasses(PyTypeObject *self){ // 从解释器的
|
|
|
291
291
|
return &(state->tp_subclasses);
|
|
292
292
|
}
|
|
293
293
|
#endif
|
|
294
|
-
return &(self->tp_subclasses);
|
|
294
|
+
return (PyObject **)&(self->tp_subclasses);
|
|
295
295
|
}
|
|
296
296
|
#define getSubclasses(cls) (*_lookup_tp_subclasses(cls))
|
|
297
297
|
static PyObject* get_type_subclasses(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|