diff options
| author | Moshe Zadka <moshez@math.huji.ac.il> | 2001-03-30 21:01:09 (GMT) |
|---|---|---|
| committer | Moshe Zadka <moshez@math.huji.ac.il> | 2001-03-30 21:01:09 (GMT) |
| commit | 23ec9ebaf9bc0cb8fa17be69b07d793584797c49 (patch) | |
| tree | 80df8b39e35e2b1fde1675486da3f9894f4f94e6 /Python/pythonrun.c | |
| parent | 324ebb156fe776a5fe88536ea18bfefd9b475b5e (diff) | |
| download | cpython-23ec9ebaf9bc0cb8fa17be69b07d793584797c49.zip cpython-23ec9ebaf9bc0cb8fa17be69b07d793584797c49.tar.gz cpython-23ec9ebaf9bc0cb8fa17be69b07d793584797c49.tar.bz2 | |
- exceptions.c - 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/pythonrun.c')
0 files changed, 0 insertions, 0 deletions
