cpython/Modules
Barry Warsaw adbf4e66df Renamed, and bug fixed:
Two interesting problems in nis_maplist().  First, it is possible that
clnt_create() will return NULL.  This was being caught, but no Python
error was being set.  I use clnt_spcreateerror() to generate the value
of the exception.

But why would clnt_create() fail?  It's because no server was being
found.  And why was this?  It was because nis_maplist() tried only to
get the NIS master for the first map in the aliases list, which is
passwd.byname, and guess what?  That's the one NIS map CNRI does *not*
export!  So the yp_master() call was failing to return a valid
server.  I now cycle through all the map aliases until I find a valid
master.  If not, a different exception is set.

I'm not sure this is the completely correct way to do all this, but
short of rewriting the entire nismodule.c (to expose the proper API to
Python), it should do the trick.
1996-12-11 00:15:58 +00:00
..
Makefile.pre.in Added Setup.local feature; make shared libs readonly 1996-09-11 23:13:07 +00:00
Setup.in Typo (missing _) in _xdr line. 1996-08-30 20:41:30 +00:00
_cursesmodule.c Keep gcc -Wall happy. 1996-12-05 23:43:35 +00:00
_tkinter.c Keep gcc -Wall happy. 1996-12-05 23:43:35 +00:00
_xdrmodule.c #include <netconfig.h> seems not needed and is harmful on NeXT, so drop it. 1996-08-30 20:39:43 +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
cStringIO.c Jim F's brainchild 1996-12-05 23:30:48 +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
cstubs Changes to keep gcc -Wall happy. 1996-12-09 18:52:11 +00:00
dbhashmodule.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
dbmmodule.c renamed in a grand fashion. 1996-12-10 00:07:00 +00:00
defmakexp_aix Latest AIX changes from Vlad 1996-08-08 19:06:31 +00:00
dlmodule.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
errnomodule.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
fcntlmodule.c Include <sys/ioctl.h>, to keep gcc -Wall happy. 1996-12-09 18:49:14 +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 New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
getpath.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
grpmodule.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
imageop.c Keep gcc -Wall happy. 1996-12-05 23:43:35 +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
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 Renamed 1996-12-09 22:32:36 +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 Renamed, and bug fixed: 1996-12-11 00:15:58 +00:00
operator.c Correct typo -- repeat implements *, not +. 1996-12-05 19:01:16 +00:00
parsermodule.c Keep gcc -Wall happy. 1996-12-05 23:43:35 +00:00
posixmodule.c Renamed. 1996-12-10 23:23:01 +00:00
pwdmodule.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
python.exp Changed _Py_EllipsesObject -> _Py_EllipsisObject. 1996-10-21 15:11:12 +00:00
regexmodule.c Keep gcc -Wall happy. 1996-12-05 23:43:35 +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
rgbimgmodule.c Keep gcc -Wall happy. 1996-12-05 23:43:35 +00:00
rotormodule.c
selectmodule.c Add ``extern void bzero();'' for SGI, to keep gcc -Wall happy. 1996-12-09 18:47:43 +00:00
sgimodule.c Great renaming. 1996-12-10 00:32:31 +00:00
signalmodule.c Keep gcc -Wall happy. 1996-12-05 23:43:35 +00:00
socketmodule.c Added extern decl for gethostname() to keep gcc -Wall happy. 1996-12-10 15:17:08 +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 New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
stropmodule.c Greatly renamed. 1996-12-09 18:35:56 +00:00
structmodule.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
sunaudiodev.c Make gcc -Wall happy; remove dummy variable (can't see where it's needed). 1996-12-10 15:21:30 +00:00
svmodule.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +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 Keep gcc -Wall happy. 1996-12-05 23:43:35 +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
timingmodule.c
tkappinit.c
xxmodule.c Keep gcc -Wall happy. 1996-12-05 23:43:35 +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