cpython/Modules
Barry Warsaw c357325663 Several changes. Test program to follow.
- Where optional arguments were being used, converted to
  PyArg_ParseTuple() style instead of nested PyArg_Parse() style.

- Check for and handle many potential error conditions that were never
  being tested.

- internal reg_* functions renamed to regobj_* (makes it easier to
  figure out which are global regex functions and which are for regex
  objects).

- reg_group (now regobj_group) was quite extensively reworked.  it no
  longer recurses to do its job (by factoring core functionality into
  a separate function that knows about string and integer indexes).

- some minor formatting fixes.

- regex_set_syntax() now invalidates the cache.  Without this change
  (in the example below), the second search would produce different
  output depending on whether the first search were performed or not
  (since performing the first search would cache the compiled object
  with RE_SYNTAX_EMACS, causing the second test to unexpectedly fail).

  regex.search('(a+)|(b+)', 'cdb')
  prev = regex.set_syntax(RE_SYNTAX_AWK)
  regex.search('(a+)|(b+)', 'cdb')
1996-12-20 21:56:07 +00:00
..
_cursesmodule.c Keep gcc -Wall happy. 1996-12-05 23:43:35 +00:00
_tkinter.c Another fix for Split() -- don't refuse {"} but turn it into ". 1996-12-17 01:25:36 +00:00
_xdrmodule.c Updated to standard Python C coding style, and fixed a few error 1996-12-17 00:01:40 +00:00
almodule.c Keep gcc -Wall happy. 1996-12-05 23:43:35 +00:00
arraymodule.c Removed some unneeded header files and reedited with a fixed-width font 1996-12-09 22:24:19 +00:00
audioop.c Keep gcc -Wall happy. 1996-12-05 23:43:35 +00:00
binascii.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
bsddbmodule.c Fix bad format char in error msg (%s should be %d). 1996-12-05 23:30:16 +00:00
cdmodule.c Keep gcc -Wall happy. 1996-12-05 23:43:35 +00:00
cgen.py Added `void' to declaration of initgl(), to keep gcc -Wall happy. 1996-12-09 18:51:51 +00:00
cgensupport.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
cgensupport.h Added remaining declarations needed/used in glmodule.c; keeps gcc -Wall happy. 1996-12-10 15:41:19 +00:00
clmodule.c Keep gcc -Wall happy. 1996-12-05 23:43:35 +00:00
cmathmodule.c Removed redundant inclusion of <errno.h> (sorry, Roj!). 1996-12-10 00:12:14 +00:00
config.c.in New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
cryptmodule.c renamed grandly. 1996-12-09 23:14:26 +00:00
cStringIO.c Jim F's brainchild 1996-12-05 23:30:48 +00:00
cstubs Changes to keep gcc -Wall happy. 1996-12-09 18:52:11 +00:00
dbmmodule.c Opps, fixed a couple of newly introduced wrapping problems. 1996-12-13 15:59:22 +00:00
defmakexp_aix Latest AIX changes from Vlad 1996-08-08 19:06:31 +00:00
dlmodule.c Renamed. 1996-12-13 20:33:44 +00:00
errnomodule.c Removed a #inlclude <errno.h> since it's implied with "Python.h" 1996-12-13 23:29:09 +00:00
fcntlmodule.c Opps, left in a /*#include "modsupport.h"*/ 1996-12-17 17:46:28 +00:00
flmodule.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
fmmodule.c Keep gcc -Wall happy. 1996-12-05 23:43:35 +00:00
gdbmmodule.c Renamed in a grand-ee-ous way! 1996-12-17 19:55:33 +00:00
getpath.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
grpmodule.c Eradicated all references to getintarg and getstrarg and substituded the 1996-12-18 20:07:39 +00:00
imageop.c Renamed. 1996-12-20 20:50:39 +00:00
imgfile.c Added a bunch of extern void decls, to keep gcc -Wall happy. 1996-12-09 18:49:42 +00:00
ld_so_aix Major upgrade by Vladimir Marangozov. 1996-10-21 15:10:39 +00:00
main.c Include unistd.h to keep gcc -Wall happy. 1996-12-09 18:46:58 +00:00
Makefile.pre.in Added Jeremy's resource module. 1996-12-18 18:37:27 +00:00
makesetup Support *shared* and *static* as aliases for *noconfig* and *config*. 1996-08-20 19:49:13 +00:00
makexp_aix Re-install aix files (what happened?) 1996-08-08 19:05:09 +00:00
mathmodule.c Removed references to getdoublearg and get2doublearg rename macros and 1996-12-18 21:59:01 +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 Renamed a few symbols that were found in comments. 1996-12-09 23:22:35 +00:00
newmodule.c Renamed. 1996-12-10 16:25:56 +00:00
nismodule.c cat and puste errors 1996-12-11 01:00:46 +00:00
operator.c Tabification changes only; the module was already newly named. 1996-12-18 19:50:00 +00:00
parsermodule.c Keep gcc -Wall happy. 1996-12-05 23:43:35 +00:00
posixmodule.c 1. Export open(2) flag constants for every defined constant 1996-12-19 23:50:02 +00:00
pwdmodule.c Minor formatting changes. 1996-12-19 22:22:32 +00:00
python.exp Changed _Py_EllipsesObject -> _Py_EllipsisObject. 1996-10-21 15:11:12 +00:00
regexmodule.c Several changes. Test program to follow. 1996-12-20 21:56:07 +00:00
regexpr.c Keep gcc -Wall happy. 1996-12-05 23:43:35 +00:00
regexpr.h rename exported symbols with _Py_ prefix 1996-05-24 20:51:38 +00:00
resource.c Added Jeremy's resource module. 1996-12-18 18:37:27 +00:00
rgbimgmodule.c Grandly renamed. 1996-12-11 21:33:16 +00:00
rotormodule.c changes for MPW 1995-03-09 12:14:15 +00:00
selectmodule.c list2set(): correct return value (an int, not a PyObject*). 1996-12-16 18:15:34 +00:00
Setup.in Added Jeremy's resource module. 1996-12-18 18:37:27 +00:00
sgimodule.c Great renaming. 1996-12-10 00:32:31 +00:00
signalmodule.c initsignal(): Added SIGXCPU and SIGXFSZ. Left in the definitions for 1996-12-16 20:24:22 +00:00
socketmodule.c Added the new getprotobyname() call to the module overview at the top. 1996-12-19 16:42:52 +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 Greatly renamed. 1996-12-09 18:35:56 +00:00
structmodule.c Renamed. 1996-12-12 23:32:31 +00:00
sunaudiodev.c Renamed, however there is no test case. I did test some of the module 1996-12-13 00:11:04 +00:00
svmodule.c Corrected two errors introduced by the renaming (and the subsequent 1996-12-17 20:43:55 +00:00
syslogmodule.c Keep gcc -Wall happy. 1996-12-05 23:43:35 +00:00
termios.c Fix operator priority bug found thanks to gcc -Wall. 1996-12-10 15:23:00 +00:00
threadmodule.c Renamed. 1996-12-17 00:05:22 +00:00
timemodule.c Added #ifdef around ``extern int ftime();'' for MS WINDOWS (which has 1996-12-09 18:38:52 +00:00
timing.h remove rcs history 1996-01-26 21:10:22 +00:00
timingmodule.c removed rcs cruft 1995-06-14 22:23:17 +00:00
tkappinit.c Initial revision 1994-06-27 08:00:16 +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