• 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
BeOS Loading commit data...
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
setup.cfg.in Loading commit data...
setup.py Loading commit data...