diff options
author | Barry Warsaw <barry@python.org> | 2001-01-23 16:08:34 +0000 |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2001-01-23 16:08:34 +0000 |
commit | 9667ed23c5f78be235522a1d5f39306bcb72f650 (patch) | |
tree | 10b098ee5a31170e3d91925dd6dcc4e3729567a5 /Python/dynload_os2.c | |
parent | 5bb3be2ffeca3fde00365e418013cc28bc654031 (diff) | |
download | cpython-git-9667ed23c5f78be235522a1d5f39306bcb72f650.tar.gz |
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 'Python/dynload_os2.c')
0 files changed, 0 insertions, 0 deletions