cpython/Modules
Jeremy Hylton cb91404890 Several changes:
1. Fix bug in (de)compression objects.  The final string resize used
zst.total_out to determine the length of the string, but the
(de)compression object will output data a little bit at a time, which
means total_out is not the string size.  Fix: save original value of
total_out at the start of the call.

2. Be sure to Py_DECREF the result value if you exit with an
exception.

3. Use PyInt_FromLong instead of Py_BuildValue

4. include more constants from the zlib header file

5. Use PyErr_Format instead of using a local buffer and sprintf.
1997-09-04 23:39:23 +00:00
..
Makefile.pre.in Add unsupported variable EXE which can be set to .exe on systems where 1997-08-22 20:53:47 +00:00
Setup.in Added first line to set Emacs makefile mode (pretty colors :-) 1997-09-04 13:05:14 +00:00
_cursesmodule.c Avoid warning from gcc on Linux about dropping const. 1997-05-09 02:17:12 +00:00
_tkinter.c Remove redundant decl for PyOS_InputHook. 1997-08-21 17:26:04 +00:00
almodule.c New version by Sjoerd, with support for IRIX 6 audio library. 1997-04-03 17:06:32 +00:00
arraymodule.c Added buffer_info() method that returns address and length in bytes of 1997-08-12 14:55:56 +00:00
audioop.c fixed ratecv to continue working if product of rates is bigger than 32 bits 1997-05-20 15:59:35 +00:00
binascii.c Plug memory leak (DECREF doc string properly after inserting in dict). 1997-08-04 23:55:25 +00:00
bsddbmodule.c Patches by AMK to check that the db is still open. 1997-07-17 22:56:01 +00:00
cPickle.c #Plug small memory leaks in constructors. 1997-09-03 18:19:40 +00:00
cStringIO.c #Plug small memory leaks in constructors. 1997-09-03 18:19:40 +00:00
cdmodule.c Renamed but not well tested. 1997-01-03 23:00:51 +00:00
cgen.py Keep gcc -Wall happy. 1997-04-29 21:34:16 +00:00
cgensupport.c Moved here from ../Python and quickly renamed. 1997-04-29 15:43:55 +00:00
cgensupport.h Moved rename2's macros relevant to this module here and added comment 1997-04-29 15:35:28 +00:00
clmodule.c Megapatch for IRIX 6 by Sjoerd. 1997-08-12 14:58:54 +00:00
cmathmodule.c New form of PyFPE_END_PROTECT macro. 1997-03-14 04:32:50 +00:00
config.c.in Renamed inittab. 1997-04-29 20:31:59 +00:00
cryptmodule.c renamed grandly. 1996-12-09 23:14:26 +00:00
cstubs Quickly renamed. 1997-04-29 15:39:28 +00:00
dbmmodule.c Patches by AMK to check that the db is still open. 1997-07-17 22:56:01 +00:00
dlmodule.c Renamed. 1996-12-13 20:33:44 +00:00
errnomodule.c (Jack:) Mac only: get GUSI errno.h values too. 1997-04-11 19:11:25 +00:00
fcntlmodule.c Keep gcc -Wall happy 1997-08-15 02:52:08 +00:00
flmodule.c Keep gcc -Wall happy. 1997-04-29 21:34:16 +00:00
fmmodule.c Renamed, but not tested. Guido will you try your test script on this? 1997-01-17 16:08:55 +00:00
fpectlmodule.c Keep gcc -Wall happy. 1997-04-29 21:34:16 +00:00
fpetestmodule.c New form of PyFPE_END_PROTECT macro. 1997-03-14 04:32:50 +00:00
gdbmmodule.c Patches by AMK to check that the db is still open. 1997-07-17 22:56:01 +00:00
getbuildinfo.c Include config.h so it can define const away for K&R. 1997-05-20 22:40:26 +00:00
getpath.c Globally renamed join() to joinpath() to avoid compilation error on Cray. 1997-08-20 23:48:16 +00:00
glmodule.c Hm. What was previously checked in was the edited *output* of the old 1997-04-29 15:46:43 +00:00
grpmodule.c Nailed a couple of memory leaks, caught by Purify. 1997-01-09 22:22:05 +00:00
imageop.c Tweaks to keep the Microsoft compiler quier. 1997-04-09 19:24:53 +00:00
imgfile.c New form of PyFPE_END_PROTECT macro. 1997-03-14 04:32:50 +00:00
ld_so_aix Mod suggested by Donn Cave -- invoke makexp_aix relative to $0 1997-09-03 00:45:30 +00:00
main.c Added -X option to suppress default import of site.py. Also split the 1997-08-29 22:34:47 +00:00
makesetup Support include statement :-( 1997-04-02 05:33:00 +00:00
makexp_aix Re-install aix files (what happened?) 1996-08-08 19:05:09 +00:00
mathmodule.c Removed MetroWerks workaround, replaced by defines in mymath.h (Jack) 1997-05-20 15:59:04 +00:00
md5.h Use INT_MAX/LONG_MAX instead of non-ANSI LONG_BIT 1996-07-21 02:34:55 +00:00
md5c.c Always include config.h 1996-08-19 22:12:39 +00:00
md5module.c Renamed 1996-12-09 22:32:36 +00:00
mpzmodule.c Use a trick to make the test for GMP v2 to work when GMP v1 defines 1997-08-17 19:08:33 +00:00
newmodule.c Two more arguments to newcodeobject -- first lineno and lineno table. 1997-01-24 03:58:52 +00:00
nismodule.c Nailed a couple of memory leaks, caught by Purify. 1997-01-09 22:22:05 +00:00
operator.c #Plug small memory leaks in constructors. 1997-09-03 18:19:40 +00:00
parsermodule.c Add doc string to type object. 1997-05-23 04:04:17 +00:00
posixmodule.c Added /**/ around #end tags 1997-08-21 02:30:45 +00:00
puremodule.c (puremodule.c): New module which exports the Purify and Quantify C API 1997-01-17 00:01:33 +00:00
pwdmodule.c Added configuration tests for presence of alarm(), pause(), and getpwent() 1997-08-22 20:42:00 +00:00
python.c Keep gcc -Wall happy 1997-08-15 02:52:08 +00:00
readline.c Renamed Py_input_hook to PyOS_InputHook. 1997-08-11 18:57:29 +00:00
regexmodule.c Change [_Py_]re_compile_pattern() to return a char*. 1997-09-03 00:47:36 +00:00
regexpr.c Change [_Py_]re_compile_pattern() to return a char*. 1997-09-03 00:47:36 +00:00
regexpr.h Change [_Py_]re_compile_pattern() to return a char*. 1997-09-03 00:47:36 +00:00
reopmodule.c Casts by Jack to shut up the Mac compiler. 1997-08-18 15:31:24 +00:00
resource.c Different strategy regarding whether to declare getrusage() and 1997-08-17 16:24:30 +00:00
rgbimgmodule.c Partial(?) 64bit patch (AMK). 1997-05-22 20:24:07 +00:00
rotormodule.c workaround for Mac MSL header definitions of TRUE and FALSE (Jack) 1997-05-20 15:58:36 +00:00
selectmodule.c list2set(): correct return value (an int, not a PyObject*). 1996-12-16 18:15:34 +00:00
sgimodule.c Great renaming. 1996-12-10 00:32:31 +00:00
signalmodule.c Added configuration tests for presence of alarm(), pause(), and getpwent() 1997-08-22 20:42:00 +00:00
socketmodule.c socket_type -> SocketType 1997-06-02 22:18:09 +00:00
soundex.c Add case for 'R' and a little bit of cleanup. Andrew Kuchling. 1996-12-05 23:41:26 +00:00
stdwinmodule.c Renamed, but *not* tested or compiled. I don't even have the STDWIN 1996-12-12 22:48:20 +00:00
stropmodule.c Keep gcc -Wall happy. 1997-04-29 21:34:16 +00:00
structmodule.c Ignore whitespace between formats (not internal to a count+format). 1997-08-26 20:39:54 +00:00
sunaudiodev.c Bugfix by Sjoerd: 1997-04-11 15:23:52 +00:00
svmodule.c Corrected two errors introduced by the renaming (and the subsequent 1996-12-17 20:43:55 +00:00
syslogmodule.c (puremodule.c): New module which exports the Purify and Quantify C API 1997-01-17 00:01:33 +00:00
termios.c Add 'return' keyword before error calls. 1997-07-17 22:55:06 +00:00
threadmodule.c Oops, one more checkin. Use the new tstate/interp interface. 1997-08-02 03:13:11 +00:00
timemodule.c Win32 precision clock() -- Mark Hammond. 1997-04-02 05:35:28 +00:00
timing.h remove rcs history 1996-01-26 21:10:22 +00:00
timingmodule.c Renamed. 1997-01-13 22:57:42 +00:00
tkappinit.c Add sections for PIL (Fred Lundh). 1997-05-14 19:22:11 +00:00
xxmodule.c Added the example "thin ice" from the extensions manual. 1996-12-13 02:57:25 +00:00
yuv.h New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
yuvconvert.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
zlibmodule.c Several changes: 1997-09-04 23:39:23 +00:00