cpython/Python
Guido van Rossum 25826c93c4 Charles Waldman writes:
"""
Running "test_extcall" repeatedly results in memory leaks.

One of these can't be fixed (at least not easily!), it happens since
this code:

def saboteur(**kw):
    kw['x'] = locals()
d = {}
saboteur(a=1, **d)

creates a circular reference - d['x']['d']==d

The others are due to some missing decrefs in ceval.c, fixed by the
patch attached below.

Note:  I originally wrote this without the "goto", just adding the
missing decref's where needed.  But I think the goto is justified in
keeping the executable code size of ceval as small as possible.
"""

[I think the circular reference is more like kw['x']['kw'] == kw. --GvR]
2000-04-21 21:17:39 +00:00
..
atof.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
bltinmodule.c When refering to Unicode characters in exception messages and 2000-04-13 02:42:50 +00:00
ceval.c Charles Waldman writes: 2000-04-21 21:17:39 +00:00
codecs.c Marc-Andre's third try at this bulk patch seems to work (except that 2000-04-05 20:11:21 +00:00
compile.c M.-A. Lemburg <mal@lemburg.com>: 2000-04-13 14:10:44 +00:00
dup2.c MPW changes 1994-08-29 10:43:12 +00:00
dynload_aix.c Cleanup patches from Greg Stein: 1999-12-22 14:09:35 +00:00
dynload_beos.c Cleanup patches from Greg Stein: 1999-12-22 14:09:35 +00:00
dynload_dl.c Cleanup patches from Greg Stein: 1999-12-22 14:09:35 +00:00
dynload_hpux.c Cleanup patches from Greg Stein: 1999-12-22 14:09:35 +00:00
dynload_mac.c Patch by Jack Jansen: 2000-02-14 17:58:25 +00:00
dynload_next.c Skip Montanaro: add string precisions to calls to PyErr_Format 2000-04-10 12:46:51 +00:00
dynload_os2.c Cleanup patches from Greg Stein: 1999-12-22 14:09:35 +00:00
dynload_shlib.c Cleanup patches from Greg Stein: 1999-12-22 14:09:35 +00:00
dynload_stub.c The old platform-specific contents of importdl.c, broken down into one 1999-12-20 21:18:49 +00:00
dynload_win.c Cleanup patches from Greg Stein: 1999-12-22 14:09:35 +00:00
errors.c Mark discovered a bug in his patch: he didn't *use* PyExc_WindowsError 2000-03-02 13:55:01 +00:00
fmod.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
frozen.c Add primitive test for frozen package. 1998-04-03 21:10:36 +00:00
frozenmain.c Call PyInitFrozenExtensions() as requested by Mark Hammond (his patch). 1999-01-02 21:42:48 +00:00
getargs.c Marc-Andre Lemburg: 2000-03-28 20:29:59 +00:00
getcompiler.c Make it return a _const_ char*. 1997-07-19 19:48:41 +00:00
getcopyright.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
getcwd.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
getmtime.c First part of package support. 1997-09-05 07:33:22 +00:00
getopt.c Tim Peters discovered a bug in the Python-supplied getopt(): 1999-09-13 13:45:32 +00:00
getplatform.c Make it return a _const_ char*. 1997-07-19 19:48:41 +00:00
getversion.c Allow longer strings (up to 80 chars each) for version, build, 1999-04-22 12:03:40 +00:00
graminit.c slightly modified version of Greg Ewing's extended call syntax patch 2000-03-28 23:49:17 +00:00
hypot.c *** empty log message *** 1996-08-29 18:10:41 +00:00
import.c Massive patch by Skip Montanaro to add ":name" to as many 2000-02-29 13:59:29 +00:00
importdl.c Cleanup patches from Greg Stein: 1999-12-22 14:09:35 +00:00
importdl.h For Windows, need to add #include <windows.h>. 1999-12-20 22:55:03 +00:00
Makefile.in Marc-Andre Lemburg: add new unicode files 2000-03-10 23:04:14 +00:00
marshal.c Use modern PyArg_ParseTuple style, with function names. 2000-03-31 00:37:41 +00:00
memmove.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
modsupport.c Change rare occurrences of #if HAVE_LONG_LONG to #ifdef. 1999-01-25 21:48:56 +00:00
mystrtoul.c Changes by Mark Hammond for Windows CE. Mostly of the form 1999-04-07 16:07:23 +00:00
pyfpe.c Restructure the file so that it is never empty. No longer needs 1998-08-25 17:48:25 +00:00
pystate.c CRITICAL PATCH! 1999-06-18 14:22:24 +00:00
pythonmain.c Allow mac user to set "command line flags" by option-starting python. 1995-07-29 13:53:59 +00:00
pythonrun.c Fix PR#7 comparisons of recursive objects 2000-04-14 19:13:24 +00:00
sigcheck.c Quickly renamed the remaining files -- this directory is done. 1997-04-29 20:08:16 +00:00
strdup.c Patches by William Lewis for Nextstep descendants. 1999-01-27 17:53:11 +00:00
strerror.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
strtod.c Changes by Mark Hammond for Windows CE. Mostly of the form 1999-04-07 16:07:23 +00:00
structmember.c Trivial little change: when setting a member to an object, hold the 1998-05-20 22:25:32 +00:00
sysmodule.c Simplify creation of the version_info value for clarity, per 2000-04-13 20:03:20 +00:00
thread.c Changes by Mark Hammond for Windows CE. Mostly of the form 1999-04-07 16:07:23 +00:00
thread_beos.h Thanks to Chris Herborth, the thread primitives now have proper Py* 1998-12-21 19:32:43 +00:00
thread_cthread.h Thanks to Chris Herborth, the thread primitives now have proper Py* 1998-12-21 19:32:43 +00:00
thread_foobar.h Thanks to Chris Herborth, the thread primitives now have proper Py* 1998-12-21 19:32:43 +00:00
thread_lwp.h Thanks to Chris Herborth, the thread primitives now have proper Py* 1998-12-21 19:32:43 +00:00
thread_nt.h The rest of the changes by Trent Mick and Dale Nagata for warning-free 2000-01-20 22:32:56 +00:00
thread_os2.h Thanks to Chris Herborth, the thread primitives now have proper Py* 1998-12-21 19:32:43 +00:00
thread_pthread.h Rob Riggs wrote: 1999-03-15 20:27:53 +00:00
thread_sgi.h Thanks to Chris Herborth, the thread primitives now have proper Py* 1998-12-21 19:32:43 +00:00
thread_solaris.h While I can't really test this thoroughly, Pat Knight and the Solaris 1999-04-13 14:32:12 +00:00
thread_wince.h Win/CE thread support by Mark Hammond. 1999-04-08 13:57:06 +00:00
traceback.c Change traceback error message to "most recent call last" from 2000-03-31 00:39:23 +00:00