Home
last modified time | relevance | path

Searched refs:tp_clear (Results 1 – 9 of 9) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dgc_weakref.txt12 runs tp_clear on all unreachable objects, if an unreachable object is
13 resurrected then tp_clear will eventually be called on it (or may already
15 historically common bug), tp_clear empties an instance's __dict__, and
16 "impossible" AttributeErrors result. At worst, tp_clear leaves behind an
44 will call before it's done --tp_clear()). It's not even necessarily that a
92 that have already suffered a tp_clear() call. There's no guarantee that an
93 object is in a sane state after tp_clear(). Bad things (including
128 defined-- or even predictable --order in which tp_clear() gets called on
148 So, to prevent any Python code from running while gc is invoking tp_clear()
158 tp_clear() on weakrefs with callbacks first. Instead the weakref module
[all …]
Dgcmodule.c767 if ((clear = Py_TYPE(op)->tp_clear) != NULL) { in delete_garbage()
D_collectionsmodule.c1509 return PyDict_Type.tp_clear((PyObject *)dd); in defdict_tp_clear()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dobject.h365 inquiry tp_clear; member
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dobject.h365 inquiry tp_clear; member
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dtypeobject.c880 while ((baseclear = base->tp_clear) == subtype_clear) { in subtype_clear()
2465 type->tp_clear = subtype_clear; in type_new()
3694 (!type->tp_traverse && !type->tp_clear)) {
3698 if (type->tp_clear == NULL)
3699 type->tp_clear = base->tp_clear;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dtypeobject.c872 while ((baseclear = base->tp_clear) == subtype_clear) { in subtype_clear()
2445 type->tp_clear = subtype_clear; in type_new()
3659 (!type->tp_traverse && !type->tp_clear)) {
3663 if (type->tp_clear == NULL)
3664 type->tp_clear = base->tp_clear;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dgcmodule.c818 if ((clear = Py_TYPE(op)->tp_clear) != NULL) { in delete_garbage()
D_collectionsmodule.c1579 return PyDict_Type.tp_clear((PyObject *)dd); in defdict_tp_clear()