cpython/Modules
Jeremy Hylton d10552379d Two fixes to find_class:
1. Only DECREF the class's module when the module is retrieved via
PyImport_Import.  If it is retrieved from the modules dictionary with
PyDict_GetItem, it is using a borrowed reference.

2. If the module doesn't define the desired class, raise the same
SystemError that pickle.py does instead of returning an AttributeError
(which is cryptic at best).

Also, fix the PyArg_ParseTuple in cpm_loads (the externally visible
loads) function:  Use "S" instead of "O" because cStringIO will croak
with a "bad arguments to internal function" if passed anything other
than a string.
1998-08-11 19:52:51 +00:00
..
_cursesmodule.c
_localemodule.c Changes for BeOS, QNX and long long, by Chris Herborth. 1998-08-04 22:53:56 +00:00
_tkinter.c Undo a silly effect of a global substitution: the macintosh panic() 1998-08-05 13:53:32 +00:00
almodule.c Fix some problems that a picky SGI compiler reported. Two were benign 1998-07-07 22:19:27 +00:00
arraymodule.c
audioop.c Purported fixes for 64-bit platforms with help from John Jorgensen 1998-04-23 20:23:00 +00:00
binascii.c
bsddbmodule.c Make new gcc -Wall happy 1998-04-10 22:27:42 +00:00
cdmodule.c
cgen.py
cgensupport.c
cgensupport.h
clmodule.c
cmathmodule.c
config.c.in
cPickle.c Two fixes to find_class: 1998-08-11 19:52:51 +00:00
cryptmodule.c
cStringIO.c Use 'S' format character for the optional constructor argument, so we 1998-07-24 19:53:54 +00:00
cstubs Generate the clear() method manually (calling __GLclear(), another 1998-04-28 16:09:16 +00:00
dbmmodule.c
dlmodule.c Fix mysterious undetected error -- call to non-existant Py_Err_SetStr() 1997-12-16 23:58:15 +00:00
errnomodule.c Added a module docstring (that's all this module needs). 1998-08-11 17:50:22 +00:00
fcntlmodule.c
flmodule.c
fmmodule.c
fpectlmodule.c Patch by Oliver Andrich for Lunix using glibc. 1997-12-15 18:07:10 +00:00
fpetestmodule.c
gdbmmodule.c Don't allow unescaped newlines in doc strings. 1998-04-13 18:11:55 +00:00
getbuildinfo.c
getpath.c When following symlinks to the real executable, use a loop so a 1998-04-29 21:07:06 +00:00
glmodule.c
grpmodule.c
imageop.c Purported fixes for 64-bit platforms with help from John Jorgensen 1998-04-23 20:23:00 +00:00
imgfile.c
ld_so_aix
license.terms
main.c Typo in usage message. 1998-04-13 20:28:18 +00:00
Makefile.pre.in Changes for BeOS, QNX and long long, by Chris Herborth. 1998-08-04 22:53:56 +00:00
makesetup When a .o file is an absolute pathname, assume it's a file for which 1998-05-14 02:37:45 +00:00
makexp_aix remove C++ entries of the form Class::method 1998-04-09 21:46:02 +00:00
mathmodule.c
md5.h
md5c.c
md5module.c
mpzmodule.c Export MPZType -- the type of mpz objects.... 1998-04-03 15:33:43 +00:00
newmodule.c Marc-Andre Lemburg's patch to support instance methods with other 1998-07-08 14:58:16 +00:00
nismodule.c
operator.c Add an alias (and preferred name) "contains" for "sequenceIncludes". 1998-05-22 18:12:59 +00:00
parsermodule.c parser__pickler(): Use Py_DECREF() when reference is known to be non-NULL. 1998-08-04 15:58:10 +00:00
pcre-int.h AMK's revised version of the previous patch. 1998-05-07 15:32:44 +00:00
pcre.h AMK's revised version of the previous patch. 1998-05-07 15:32:44 +00:00
pcremodule.c Add test for failure of the getattr call in pcre_expand() -- it used 1998-07-17 20:19:48 +00:00
posixmodule.c In Win32 version of listdir(), when FindFirstFile() returns 1998-08-06 03:23:32 +00:00
puremodule.c
pwdmodule.c Changes for BeOS, QNX and long long, by Chris Herborth. 1998-08-04 22:53:56 +00:00
pypcre.c Fix benign problems found by a picky SGI compiler (unreachable break 1998-07-07 22:22:22 +00:00
python.c Now include Python.h 1998-08-08 20:01:22 +00:00
readline.c Changes for BeOS, QNX and long long, by Chris Herborth. 1998-08-04 22:53:56 +00:00
regexmodule.c
regexpr.c Fix a benign problem found by a picky SGI compiler (unreachable break 1998-07-07 22:23:22 +00:00
regexpr.h
resource.c Typo: RUSAGE_CHILDERN -> RUSAGE_CHILDREN. 1997-12-09 19:35:48 +00:00
rgbimgmodule.c Purported fixes for 64-bit platforms with help from John Jorgensen 1998-04-23 20:23:00 +00:00
rotormodule.c
selectmodule.c Changes for BeOS, QNX and long long, by Chris Herborth. 1998-08-04 22:53:56 +00:00
Setup.in Changes for BeOS, QNX and long long, by Chris Herborth. 1998-08-04 22:53:56 +00:00
Setup.thread.in Moved the thread module to its own Setup.thread(.in) file, 1997-12-04 00:48:27 +00:00
sgimodule.c
signalmodule.c (pause_doc): Sun CC complains about newline in string literal 1998-07-21 22:41:18 +00:00
socketmodule.c Removed unused variables. 1998-08-06 03:21:15 +00:00
soundex.c
stdwinmodule.c Add getintarg(), getlongarg(), getstrarg() to macros since these no 1997-10-20 23:22:07 +00:00
stropmodule.c Better error messages when raising ValueError for int literals. (The 1998-08-04 15:04:52 +00:00
structmodule.c Unsigned 1 and 2 byte sized formats shouldn't result in long integer values! 1998-06-29 04:00:40 +00:00
sunaudiodev.c
svmodule.c
syslogmodule.c Changes for BeOS, QNX and long long, by Chris Herborth. 1998-08-04 22:53:56 +00:00
tclNotify.c
termios.c Changes for BeOS, QNX and long long, by Chris Herborth. 1998-08-04 22:53:56 +00:00
threadmodule.c Changes for BeOS, QNX and long long, by Chris Herborth. 1998-08-04 22:53:56 +00:00
timemodule.c Changes for BeOS, QNX and long long, by Chris Herborth. 1998-08-04 22:53:56 +00:00
timing.h
timingmodule.c
tkappinit.c Yes, Virginia, Tix does have a Tix_SafeInit() function. 1997-12-02 20:38:38 +00:00
xxmodule.c Add a test for a bad format character. 1997-12-09 20:37:25 +00:00
yuv.h
yuvconvert.c
zlibmodule.c Fix benign problems found by a picky SGI compiler (unreachable break 1998-07-07 22:21:45 +00:00