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