cpython/Modules
Fred Drake ca1f426080 Remove memory leaks of strings/Unicode objects passed into the character
data and default handlers -- a new reference was being passed to
Py_BuildValue() for the "O" format character; using "N" plugs the leak.

Fixed two other (minor) leaks that occurred on various error conditions.

Removed uses of the UNLESS macro, which makes code hard to read, and is
Evil.
2000-09-21 20:10:23 +00:00
..
_codecsmodule.c Changing the CNRI copyright notice according to CNRI's instructions. 2000-08-03 16:24:25 +00:00
_cursesmodule.c Don't call Py_FatalError in module initialization 2000-09-01 03:46:16 +00:00
_localemodule.c Don't call Py_FatalError in module initialization 2000-09-01 03:46:16 +00:00
_sre.c - fixed yet another gcc -pedantic warning 2000-09-21 17:03:25 +00:00
_tkinter.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
.cvsignore Add Setup.config 2000-06-30 16:09:01 +00:00
almodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
arraymodule.c arraymodule: Fix SF bug 113960. 2000-09-16 22:31:29 +00:00
audioop.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
binascii.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
bsddbmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
ccpython.cc Patch and new file by Geoff Furnish for C++ compilation. 1999-12-16 17:52:08 +00:00
cdmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
cgen.py Change copyright notice. 2000-07-01 00:16:13 +00:00
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 Use METH_VARARGS instead of numeric constant 1 in method def. tables 2000-08-03 02:06:16 +00:00
config.c.in Fix prototypes generated by makesetup, so they include '(void)' rather than 2000-07-23 00:02:15 +00:00
cPickle.c Oops. Jim's fix didn't. This one does -- I tested it a bit better 2000-09-07 14:35:37 +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 Implement readlines function. Closes Bug #110686. 2000-09-19 11:06:46 +00:00
cstubs REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
dbmmodule.c Add a constant "library" to the module which names the library used, 2000-09-15 21:35:14 +00:00
dlmodule.c Add several dl.RTLD_ constants. Closes bug 110842. 2000-09-13 16:26:10 +00:00
errnomodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
fcntlmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +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 Use PyOS_setsig() instead of signal(). Also remove redundant spaces 2000-09-21 14:32:04 +00:00
fpetestmodule.c Needed to add DL_EXPORT to (redundant?) extern decl of module init function. 1998-12-10 16:49:28 +00:00
gcmodule.c compromise value for threshold0: not too high, not too low 2000-09-05 15:44:50 +00:00
gdbmmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
getbuildinfo.c Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)', 2000-07-21 06:00:07 +00:00
getpath.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
glmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
grpmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +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 Mod suggested by Donn Cave -- invoke makexp_aix relative to $0 1997-09-03 00:45:30 +00:00
license.terms Add an optional hack for threads in Tkinter. 1997-09-28 05:52:41 +00:00
linuxaudiodev.c Move the Py_DECREF(x) after the error: label so that we don't leak x 2000-09-01 15:35:12 +00:00
main.c Py_Main(), usage(), usage_mid: Add -h and -V flags to print the usage 2000-09-15 18:40:42 +00:00
Makefile.pre.in Moodules -> Modules. 2000-09-01 02:40:11 +00:00
makesetup Add support for FreeBSD --rpath linker option; this is equivalent to 2000-08-11 13:58:37 +00:00
makexp_aix remove C++ entries of the form Class::method 1998-04-09 21:46:02 +00:00
mathmodule.c Fixed legit gripe from c.l.py that math.fmod docs aren't confusing enough. 2000-09-16 03:54:24 +00:00
md5.h Guido said include these in the Great ANSI-fication, so here they are! 2000-07-10 04:20:57 +00:00
md5c.c Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either 2000-07-16 12:04:32 +00:00
md5module.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
mmapmodule.c More Windows changes. 2000-07-30 02:46:26 +00:00
mpzmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
newmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
nismodule.c Even more ANSIfication: fix as many function pointers and declarations as 2000-07-22 23:57:55 +00:00
operator.c Add invert() and __invert__() as aliases for inv()/__inv__(). 2000-09-17 16:09:27 +00:00
parsermodule.c Simplify some of the code. Use PyErr_Format() instead of sprintf(), etc. 2000-09-12 21:58:06 +00:00
pcre-int.h AMK's revised version of the previous patch. 1998-05-07 15:32:44 +00:00
pcre.h Jack Jansen: Mac Carbon: don't include sys/types if we don't have it 2000-06-28 20:56:30 +00:00
pcremodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
posixmodule.c Closes SF bug 113894: on Windows, things like os.listdir("k:") and 2000-09-15 07:44:49 +00:00
puremodule.c Do the absolute minimal amount of modifications to eradicate 2000-09-01 09:01:32 +00:00
pwdmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
pyexpat.c Remove memory leaks of strings/Unicode objects passed into the character 2000-09-21 20:10:23 +00:00
pypcre.c Fix for bug #110651 (Jitterbug PR#343): only use the low 8 bits of an octal 2000-08-02 13:41:18 +00:00
python.c Even more ANSIfication: fix as many function pointers and declarations as 2000-07-22 23:57:55 +00:00
readline.c Add a definition of rl_library_version. Reported by jpettit@sourceforge. 2000-09-20 20:24:21 +00:00
regexmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
regexpr.c Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)', 2000-07-21 06:00:07 +00:00
regexpr.h Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either 2000-07-16 12:04:32 +00:00
resource.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
rgbimgmodule.c Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)', 2000-07-21 06:00:07 +00:00
rotormodule.c merge Include/my*.h into Include/pyport.h 2000-07-31 15:28:04 +00:00
selectmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
Setup.config.in autodetect presence of libdb - this allows bsddbmodule to be built 2000-09-08 02:17:15 +00:00
Setup.in Some systems need -lucb to compile the mmap module. Add a comment to 2000-09-15 18:55:58 +00:00
sgimodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
shamodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
signalmodule.c Make better use of GNU Pth -- patch by Andy Dustman. 2000-09-19 00:46:46 +00:00
socketmodule.c Remove a lot of the confusing conditional compilation from the beginning 2000-08-16 14:18:30 +00:00
soundex.c Use METH_VARARGS instead of numeric constant 1 in method def. tables 2000-08-03 02:06:16 +00:00
sre_constants.h final 0.9.8 updates: 2000-08-01 22:47:49 +00:00
sre.h -- added recursion limit (currently ~10,000 levels) 2000-08-03 16:29:50 +00:00
stropmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
structmodule.c Use symbolic constants for allowable short ranges. 2000-09-15 08:10:33 +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
syslogmodule.c Do the absolute minimal amount of modifications to eradicate 2000-09-01 09:01:32 +00:00
tclNotify.c Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)', 2000-07-21 06:00:07 +00:00
termios.c Use METH_OLDARGS instead of numeric constant 0 in method def. tables 2000-08-03 02:34:44 +00:00
threadmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
timemodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
timing.h remove rcs history 1996-01-26 21:10:22 +00:00
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
ucnhash.c Fix UCNs machine with >= 32bit longs 2000-07-26 03:56:06 +00:00
unicodedata.c Changing the CNRI copyright notice according to CNRI's instructions. 2000-08-03 16:24:25 +00:00
unicodedatabase.c Changing the CNRI copyright notice according to CNRI's instructions. 2000-08-03 16:24:25 +00:00
unicodedatabase.h Changing the CNRI copyright notice according to CNRI's instructions. 2000-08-03 16:24:25 +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 Use METH_VARARGS instead of numeric constant 1 2000-08-03 02:04:05 +00:00