0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 03:01:36 +01:00
cpython/Modules
Jeremy Hylton 30c9f3991c Variety of small INC/DECREF patches that fix reported memory leaks
with free variables.  Thanks to Martin v. Loewis for finding two of
the problems.  This fixes SF buf 405583.

There is also a C API change: PyFrame_New() is reverting to its
pre-2.1 signature.  The change introduced by nested scopes was a
mistake.  XXX Is this okay between beta releases?

cell_clear(), the GC helper, must decref its reference to break
cycles.

frame_dealloc() must dealloc all cell vars and free vars in addition
to locals.

eval_code2() setup code must INCREF cells it copies out of the
closure.

The STORE_DEREF opcode implementation must DECREF the object it passes
to PyCell_Set().
2001-03-13 01:58:22 +00:00
..
_codecsmodule.c Added a true unicode_internal_encode function and fixed the 2000-09-21 21:09:45 +00:00
_curses_panel.c init_curses_panel(): Be more consistent with indentation and blank lines. 2001-01-27 18:58:04 +00:00
_cursesmodule.c Patch #103485 from Donn Cave: patches to make the module compile on AIX and 2001-01-29 20:47:59 +00:00
_localemodule.c RISCOS changes by dschwertberger 2001-03-02 06:28:17 +00:00
_sre.c SF patch 404928: Support for next Cygwin gcc (2.95.2-8) 2001-02-28 16:44:18 +00:00
_testcapimodule.c Related to SF bug 132008 (PyList_Reverse blows up). 2001-02-12 22:13:26 +00:00
_tkinter.c Do not release unallocated Tcl objects. Closes #117278 and #117167. 2000-10-29 00:44:43 +00:00
_weakref.c Patch #403985: Add support for weak-keyed dictionaries 2001-02-27 18:36:56 +00:00
.cvsignore
almodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
ar_beos Moved BeOS/ar-fake and BeOS/linkmodule to Modules/ar_beos and 2001-02-16 03:24:50 +00:00
arraymodule.c Correct one-line typo, reported by yole @ SF, bug 130077. 2001-01-25 22:12:43 +00:00
audioop.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
binascii.c Address a bug in the uuencode decoder, reported bu "donut" in SF bug 2001-01-09 02:11:57 +00:00
bsddbmodule.c Gustavo Niemeyer <niemeyer@conectiva.com>: 2001-02-27 18:56:46 +00:00
ccpython.cc
cdmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
cgen.py
cgensupport.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
cgensupport.h REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
clmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
cmathmodule.c asin micro-optimization suggested in email. 2001-02-22 19:51:56 +00:00
config.c.in _PyImport_Inittab: define the exceptions module's init function. 2001-01-23 21:46:57 +00:00
cPickle.c Minimal fix for the complaints about pickling Unicode objects. (SF 2000-12-19 02:08:38 +00:00
cryptmodule.c Use METH_OLDARGS instead of numeric constant 0 in method def. tables 2000-08-03 02:34:44 +00:00
cStringIO.c In O_writelines: Replace use of string.joinfields with "".join. 2001-02-09 23:44:22 +00:00
cstubs REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
dbmmodule.c SF Patch #103185, by jlt63: Some more standard modules cleanup for Cygwin 2001-01-22 15:29:14 +00:00
dlmodule.c Patch #404680: disables the nis module and enables the dl module when 2001-02-27 20:54:23 +00:00
errnomodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
fcntlmodule.c Let's keep things portable to non GCC compilers, please. 2001-01-25 10:10:39 +00:00
flmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
fmmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
fpectlmodule.c Define sunmath prototypes if sunmath.h was not included. 2001-03-07 10:22:20 +00:00
fpetestmodule.c
gcmodule.c - update Neil's email address 2000-10-04 16:34:09 +00:00
gdbmmodule.c SF patch 404928: Support for next Cygwin gcc (2.95.2-8) 2001-02-28 16:44:18 +00:00
getbuildinfo.c
getpath.c Build now happens in toplevel directory, not Modules. Don't monkey with 2001-01-24 17:13:11 +00:00
glmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
grpmodule.c Make sure we close the group and password databases when we are done with 2001-03-11 03:03:07 +00:00
imageop.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
imgfile.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
ld_so_aix
ld_so_beos Remove a hard coded Python version, and a now incorrect relative path. Closes 2001-02-16 03:27:35 +00:00
license.terms
linuxaudiodev.c Restore lost AFMT_S16_NE entry. 2001-01-17 19:31:29 +00:00
main.c RISCOS changes by dschwertberger. 2001-03-02 06:18:03 +00:00
makesetup Extra fix from bbum (SF #402357) for his previous patch: 2001-03-02 07:09:54 +00:00
makexp_aix
mathmodule.c Repaired a comment and asserted a precondition. 2000-10-12 19:42:00 +00:00
md5.h Rationalize use of limits.h, moving the inclusion to Python.h. 2000-09-26 05:46:01 +00:00
md5c.c Fix includes; not including Python.h caused the module not to compile on 2000-09-28 02:54:51 +00:00
md5module.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
mmapmodule.c SF bug 128713: type(mmap_object) blew up on Linux. 2001-01-14 05:05:51 +00:00
mpzmodule.c Richard Fish <rfish@users.sourceforge.net>: 2001-02-12 16:48:13 +00:00
newmodule.c move extra arguments to the back of the new.code() arglist 2001-02-01 19:50:29 +00:00
nismodule.c Move declaration of 'clnt_create()' NIS function to pyport.h, as it's 2001-01-21 23:34:12 +00:00
operator.c Add invert() and __invert__() as aliases for inv()/__inv__(). 2000-09-17 16:09:27 +00:00
parsermodule.c Fix problems with validation of import statement parse trees. 2001-01-07 05:59:59 +00:00
pcre-int.h
pcre.h
pcremodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
posixmodule.c conditionally include unistd.h to pick up confstr declaration. attempt to 2001-02-27 17:04:34 +00:00
puremodule.c Do the absolute minimal amount of modifications to eradicate 2000-09-01 09:01:32 +00:00
pwdmodule.c Make sure we close the group and password databases when we are done with 2001-03-11 03:03:07 +00:00
pyexpat.c Variety of small INC/DECREF patches that fix reported memory leaks 2001-03-13 01:58:22 +00:00
pypcre.c
python.c
readline.c Part of SF patch #102409 by jlt63 to support building these modules 2001-01-10 21:03:32 +00:00
regexmodule.c SF Patch #103185, by jlt63: Some more standard modules cleanup for Cygwin 2001-01-22 15:29:14 +00:00
regexpr.c
regexpr.h
resource.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
rgbimgmodule.c
rotormodule.c Part of SF patch #102409 by jlt63 to support building these modules 2001-01-10 21:03:32 +00:00
selectmodule.c RISCOS changes by dschwertberger 2001-03-02 06:28:17 +00:00
Setup.config.in Move the signal module back into Setup.config.in so it can be enabled 2001-02-21 21:10:14 +00:00
Setup.dist Mention setup.py in the instructions 2001-02-27 03:29:52 +00:00
sgimodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
shamodule.c Cleanup logic a little. Check args first, then try to create the 2001-01-29 22:46:35 +00:00
signalmodule.c Document SIG_* warning causes on Solaris. 2001-03-06 12:13:56 +00:00
socketmodule.c RISCOS changes by dschwertberger. 2001-03-02 06:34:14 +00:00
sre_constants.h added "magic" number to the _sre module, to avoid weird errors caused 2001-01-15 12:46:09 +00:00
sre.h -- added recursion limit (currently ~10,000 levels) 2000-08-03 16:29:50 +00:00
stropmodule.c Rationalize use of limits.h, moving the inclusion to Python.h. 2000-09-26 05:46:01 +00:00
structmodule.c Rationalize use of limits.h, moving the inclusion to Python.h. 2000-09-26 05:46:01 +00:00
sunaudiodev.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
svmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
symtablemodule.c Relax the rules for using 'from ... import *' and exec in the presence 2001-02-09 22:22:18 +00:00
syslogmodule.c Do the absolute minimal amount of modifications to eradicate 2000-09-01 09:01:32 +00:00
tclNotify.c
termios.c Wrap several more of the constants in #ifdef/#endif for FreeBSD; at least 2001-03-03 18:08:52 +00:00
threadmodule.c Use PyThreadState_DeleteCurrent() instead of PyThreadState_Delete() 2001-01-23 01:47:18 +00:00
timemodule.c Use Py_CHARMASK for ctype macros. Fixes bug #232787. 2001-03-06 12:12:02 +00:00
timing.h
timingmodule.c Do the absolute minimal amount of modifications to eradicate 2000-09-01 09:01:32 +00:00
tkappinit.c Removing warnings discovered by gcc -Wall 2000-08-04 15:53:06 +00:00
unicodedata_db.h compress unicode decomposition tables (this saves another 55k) 2001-01-21 22:41:08 +00:00
unicodedata.c Be a bit more strict in setting up the export of the C API for this 2001-03-03 19:41:55 +00:00
unicodename_db.h compress unicode decomposition tables (this saves another 55k) 2001-01-21 22:41:08 +00:00
xreadlinesmodule.c SF Patch #103185, by jlt63: Some more standard modules cleanup for Cygwin 2001-01-19 00:29:06 +00:00
xxmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
yuv.h REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
yuvconvert.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
zlibmodule.c Patch #103926: fix two warnings from Tru64's compiler 2001-02-22 15:52:55 +00:00