• Barry Warsaw's avatar
    A few miscellaneous helpers. · 9bf16440
    Barry Warsaw yazdı
    PyObject_Dump(): New function that is useful when debugging Python's C
    runtime.  In something like gdb it can be a pain to get some useful
    information out of PyObject*'s.  This function prints the str() of the
    object to stderr, along with the object's refcount and hex address.
    
    PyGC_Dump(): Similar to PyObject_Dump() but knows how to cast from the
    garbage collector prefix back to the PyObject* structure.
    
    [See Misc/gdbinit for some useful gdb hooks]
    
    none_dealloc(): Rather than SEGV if we accidentally decref None out of
    existance, we assign None's and NotImplemented's destructor slot to
    this function, which just calls abort().
    9bf16440
Adı
Son kayıt (commit)
Son güncelleme
..
.cvsignore Loading commit data...
Makefile.in Loading commit data...
abstract.c Loading commit data...
bufferobject.c Loading commit data...
classobject.c Loading commit data...
cobject.c Loading commit data...
complexobject.c Loading commit data...
dictobject.c Loading commit data...
fileobject.c Loading commit data...
floatobject.c Loading commit data...
frameobject.c Loading commit data...
funcobject.c Loading commit data...
intobject.c Loading commit data...
listobject.c Loading commit data...
longobject.c Loading commit data...
methodobject.c Loading commit data...
moduleobject.c Loading commit data...
object.c Loading commit data...
rangeobject.c Loading commit data...
sliceobject.c Loading commit data...
stringobject.c Loading commit data...
tupleobject.c Loading commit data...
typeobject.c Loading commit data...
unicodectype.c Loading commit data...
unicodeobject.c Loading commit data...
unicodetype_db.h Loading commit data...
xxobject.c Loading commit data...