OXIESEC PANEL
- Current Dir:
/
/
snap
/
certbot
/
4737
/
usr
/
include
/
python3.12
/
cpython
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
06/12/2025 06:19:49 PM
rwxr-xr-x
📄
abstract.h
7.69 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
bytearrayobject.h
1.14 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
bytesobject.h
4.32 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
cellobject.h
1.05 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
ceval.h
1.61 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
classobject.h
2.19 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
code.h
15.81 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
compile.h
2.6 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
complexobject.h
1.22 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
context.h
1.92 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
descrobject.h
1.6 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
dictobject.h
4.58 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
fileobject.h
818 bytes
02/04/2025 02:48:35 PM
rw-r--r--
📄
fileutils.h
232 bytes
02/04/2025 02:48:35 PM
rw-r--r--
📄
floatobject.h
900 bytes
02/04/2025 02:48:35 PM
rw-r--r--
📄
frameobject.h
1.08 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
funcobject.h
6.98 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
genobject.h
3.24 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
import.h
1.58 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
initconfig.h
7.64 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
interpreteridobject.h
387 bytes
02/04/2025 02:48:35 PM
rw-r--r--
📄
listobject.h
1.59 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
longintrepr.h
4.77 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
longobject.h
4.57 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
memoryobject.h
2.22 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
methodobject.h
2.22 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
modsupport.h
4.23 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
object.h
20.71 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
objimpl.h
3.24 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
odictobject.h
1.28 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
picklebufobject.h
848 bytes
02/04/2025 02:48:35 PM
rw-r--r--
📄
pthread_stubs.h
3.42 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pyctype.h
1.35 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pydebug.h
1.38 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pyerrors.h
4.18 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pyfpe.h
444 bytes
02/04/2025 02:48:35 PM
rw-r--r--
📄
pyframe.h
1.44 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pylifecycle.h
3.34 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pymem.h
3.3 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pystate.h
16.82 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pythonrun.h
4.79 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pythread.h
1.39 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pytime.h
12.08 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
setobject.h
2.1 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
sysmodule.h
489 bytes
02/04/2025 02:48:35 PM
rw-r--r--
📄
traceback.h
444 bytes
02/04/2025 02:48:35 PM
rw-r--r--
📄
tupleobject.h
1.34 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
unicodeobject.h
33.66 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
warnings.h
564 bytes
02/04/2025 02:48:35 PM
rw-r--r--
📄
weakrefobject.h
1.98 KB
02/04/2025 02:48:35 PM
rw-r--r--
Editing: weakrefobject.h
Close
#ifndef Py_CPYTHON_WEAKREFOBJECT_H # error "this header file must not be included directly" #endif /* PyWeakReference is the base struct for the Python ReferenceType, ProxyType, * and CallableProxyType. */ struct _PyWeakReference { PyObject_HEAD /* The object to which this is a weak reference, or Py_None if none. * Note that this is a stealth reference: wr_object's refcount is * not incremented to reflect this pointer. */ PyObject *wr_object; /* A callable to invoke when wr_object dies, or NULL if none. */ PyObject *wr_callback; /* A cache for wr_object's hash code. As usual for hashes, this is -1 * if the hash code isn't known yet. */ Py_hash_t hash; /* If wr_object is weakly referenced, wr_object has a doubly-linked NULL- * terminated list of weak references to it. These are the list pointers. * If wr_object goes away, wr_object is set to Py_None, and these pointers * have no meaning then. */ PyWeakReference *wr_prev; PyWeakReference *wr_next; vectorcallfunc vectorcall; }; PyAPI_FUNC(Py_ssize_t) _PyWeakref_GetWeakrefCount(PyWeakReference *head); PyAPI_FUNC(void) _PyWeakref_ClearRef(PyWeakReference *self); static inline PyObject* PyWeakref_GET_OBJECT(PyObject *ref_obj) { PyWeakReference *ref; PyObject *obj; assert(PyWeakref_Check(ref_obj)); ref = _Py_CAST(PyWeakReference*, ref_obj); obj = ref->wr_object; // Explanation for the Py_REFCNT() check: when a weakref's target is part // of a long chain of deallocations which triggers the trashcan mechanism, // clearing the weakrefs can be delayed long after the target's refcount // has dropped to zero. In the meantime, code accessing the weakref will // be able to "see" the target object even though it is supposed to be // unreachable. See issue gh-60806. if (Py_REFCNT(obj) > 0) { return obj; } return Py_None; } #define PyWeakref_GET_OBJECT(ref) PyWeakref_GET_OBJECT(_PyObject_CAST(ref))