• Guido van Rossum's avatar
    The minidom.Node class has a debug attribute which, when its _debug · 9e79a25b
    Guido van Rossum yazdı
    flag is true, is set to a StringIO object that silently collects all
    debug messages.  This is triggered by the Node._debug=1 statement at
    the top of test_minidom.py.  After the tests, we better delete that
    StringIO object to avoid wasting memory.  We also reset the _debug
    flag.  (Note that this is an undetectable memory leak, and the memory
    doesn't get collected by the cycle-gc either, because it's all
    reachable -- it's just useless.)
    9e79a25b
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...