Staging
v0.5.1
https://github.com/python/cpython
Revision 23ec9ebaf9bc0cb8fa17be69b07d793584797c49 authored by Moshe Zadka on 30 March 2001, 21:01:09 UTC, committed by Moshe Zadka on 30 March 2001, 21:01:09 UTC
  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.
1 parent 324ebb1
History
Tip revision: 23ec9ebaf9bc0cb8fa17be69b07d793584797c49 authored by Moshe Zadka on 30 March 2001, 21:01:09 UTC
- exceptions.c - make_class() Added a "goto finally" so that if
Tip revision: 23ec9eb
File Mode Size
BeOS
Demo
Doc
Grammar
Include
Lib
Misc
Modules
Objects
PC
PCbuild
Parser
Python
Tools
.cvsignore -rw-r--r-- 79 bytes
.hgtags -rw-r--r-- 1.7 KB
LICENSE -rw-r--r-- 8.0 KB
Makefile.in -rw-r--r-- 17.4 KB
README -rw-r--r-- 35.1 KB
acconfig.h -rw-r--r-- 5.4 KB
config.h.in -rw-r--r-- 16.0 KB
configure -rwxr-xr-x 167.9 KB
configure.in -rw-r--r-- 34.4 KB
install-sh -rwxr-xr-x 2.2 KB

README

back to top