summaryrefslogtreecommitdiffstats
path: root/Objects/object.c
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2001-01-23 16:08:34 (GMT)
committerBarry Warsaw <barry@python.org>2001-01-23 16:08:34 (GMT)
commit9667ed23c5f78be235522a1d5f39306bcb72f650 (patch)
tree10b098ee5a31170e3d91925dd6dcc4e3729567a5 /Objects/object.c
parent5bb3be2ffeca3fde00365e418013cc28bc654031 (diff)
downloadcpython-9667ed23c5f78be235522a1d5f39306bcb72f650.zip
cpython-9667ed23c5f78be235522a1d5f39306bcb72f650.tar.gz
cpython-9667ed23c5f78be235522a1d5f39306bcb72f650.tar.bz2
Leak pluggin', bug fixin' and better documentin'. Specifically,
module__doc__: Document the Warning subclass heirarchy. make_class(): Added a "goto finally" so that if populate_methods() fails, the return status will be -1 (failure) instead of 0 (success). fini_exceptions(): When decref'ing the static pointers to the exception classes, clear out their dictionaries too. This breaks a cycle from class->dict->method->class and allows the classes with unbound methods to be reclaimed. This plugs a large memory leak in a common Py_Initialize()/dosomething/Py_Finalize() loop.
Diffstat (limited to 'Objects/object.c')
0 files changed, 0 insertions, 0 deletions