cpython/Modules
Tim Peters 3906eb877a On a sizeof(long)==8 machine, ints in range(2**31, 2**32) were getting
pickled into the signed(!) 4-byte BININT format, so were getting unpickled
again as negative ints.  Repaired that.
Added some minimal docs at the top about what I've learned about the pickle
format codes (little of which was obvious from staring at the code,
although that's partly because all the size-related bugs greatly obscured
the true intent of the code).
Happy side effect:  because save_int() needed to grow a *proper* range
check in order to fix this bug, it can now use the more-efficient BININT1,
BININT2 and BININT formats when the long's value is small enough to fit
in a signed 4-byte int (before this, on a sizeof(long)==8 box it always
used the general INT format for negative ints).
test_cpickle works again on sizeof(long)==8 machines.  test_pickle is
still busted big-time.
2001-04-10 04:22:00 +00:00
..
.cvsignore Add Setup.config 2000-06-30 16:09:01 +00:00
_codecsmodule.c Added a true unicode_internal_encode function and fixed the 2000-09-21 21:09:45 +00:00
_curses_panel.c init_curses_panel(): Be more consistent with indentation and blank lines. 2001-01-27 18:58:04 +00:00
_cursesmodule.c Patch #103485 from Donn Cave: patches to make the module compile on AIX and 2001-01-29 20:47:59 +00:00
_localemodule.c RISCOS changes by dschwertberger 2001-03-02 06:28:17 +00:00
_sre.c sre 2.1b2 update: 2001-03-22 15:50:10 +00:00
_testcapimodule.c Related to SF bug 132008 (PyList_Reverse blows up). 2001-02-12 22:13:26 +00:00
_tkinter.c Do not release unallocated Tcl objects. Closes #117278 and #117167. 2000-10-29 00:44:43 +00:00
_weakref.c Revert the 1.8 patch, since it's implicated in nasty blowups (see Pyhon-Dev). 2001-03-23 06:14:28 +00:00
almodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
ar_beos Moved BeOS/ar-fake and BeOS/linkmodule to Modules/ar_beos and 2001-02-16 03:24:50 +00:00
arraymodule.c Correct one-line typo, reported by yole @ SF, bug 130077. 2001-01-25 22:12:43 +00:00
audioop.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
binascii.c Address a bug in the uuencode decoder, reported bu "donut" in SF bug 2001-01-09 02:11:57 +00:00
bsddbmodule.c Don't raise MemoryError in keys() when the database is empty. 2001-03-22 00:19:22 +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 asin micro-optimization suggested in email. 2001-02-22 19:51:56 +00:00
config.c.in _PyImport_Inittab: define the exceptions module's init function. 2001-01-23 21:46:57 +00:00
cPickle.c On a sizeof(long)==8 machine, ints in range(2**31, 2**32) were getting 2001-04-10 04:22:00 +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 In O_writelines: Replace use of string.joinfields with "".join. 2001-02-09 23:44:22 +00:00
cstubs REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
dbmmodule.c SF Patch #103185, by jlt63: Some more standard modules cleanup for Cygwin 2001-01-22 15:29:14 +00:00
dlmodule.c Patch #404680: disables the nis module and enables the dl module when 2001-02-27 20:54:23 +00:00
errnomodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
fcntlmodule.c Let's keep things portable to non GCC compilers, please. 2001-01-25 10:10:39 +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 Define sunmath prototypes if sunmath.h was not included. 2001-03-07 10:22:20 +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 - update Neil's email address 2000-10-04 16:34:09 +00:00
gdbmmodule.c SF patch 404928: Support for next Cygwin gcc (2.95.2-8) 2001-02-28 16:44:18 +00:00
getbuildinfo.c Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)', 2000-07-21 06:00:07 +00:00
getpath.c Build now happens in toplevel directory, not Modules. Don't monkey with 2001-01-24 17:13:11 +00:00
glmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
grpmodule.c Make sure we close the group and password databases when we are done with 2001-03-11 03:03:07 +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
ld_so_beos Remove a hard coded Python version, and a now incorrect relative path. Closes 2001-02-16 03:27:35 +00:00
license.terms
linuxaudiodev.c Applying SF patch #412553 by Christopher Lee: fix linuxaudiodev 2001-04-02 17:59:02 +00:00
main.c Extend support for from __future__ import nested_scopes 2001-03-22 02:47:58 +00:00
makesetup Extra fix from bbum (SF #402357) for his previous patch: 2001-03-02 07:09:54 +00:00
makexp_aix remove C++ entries of the form Class::method 1998-04-09 21:46:02 +00:00
mathmodule.c Repaired a comment and asserted a precondition. 2000-10-12 19:42:00 +00:00
md5.h Rationalize use of limits.h, moving the inclusion to Python.h. 2000-09-26 05:46:01 +00:00
md5c.c Fix includes; not including Python.h caused the module not to compile on 2000-09-28 02:54:51 +00:00
md5module.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
mmapmodule.c SF bug 128713: type(mmap_object) blew up on Linux. 2001-01-14 05:05:51 +00:00
mpzmodule.c Richard Fish <rfish@users.sourceforge.net>: 2001-02-12 16:48:13 +00:00
newmodule.c move extra arguments to the back of the new.code() arglist 2001-02-01 19:50:29 +00:00
nismodule.c Move declaration of 'clnt_create()' NIS function to pyport.h, as it's 2001-01-21 23:34:12 +00:00
operator.c Add invert() and __invert__() as aliases for inv()/__inv__(). 2000-09-17 16:09:27 +00:00
parsermodule.c Fix problems with validation of import statement parse trees. 2001-01-07 05:59:59 +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 conditionally include unistd.h to pick up confstr declaration. attempt to 2001-02-27 17:04:34 +00:00
puremodule.c Do the absolute minimal amount of modifications to eradicate 2000-09-01 09:01:32 +00:00
pwdmodule.c Make sure we close the group and password databases when we are done with 2001-03-11 03:03:07 +00:00
pyexpat.c get_version_string(): New function -- returns a Python string object that 2001-03-24 19:58:26 +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 Part of SF patch #102409 by jlt63 to support building these modules 2001-01-10 21:03:32 +00:00
regexmodule.c SF Patch #103185, by jlt63: Some more standard modules cleanup for Cygwin 2001-01-22 15:29:14 +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 Part of SF patch #102409 by jlt63 to support building these modules 2001-01-10 21:03:32 +00:00
selectmodule.c RISCOS changes by dschwertberger 2001-03-02 06:28:17 +00:00
Setup.config.in Move the signal module back into Setup.config.in so it can be enabled 2001-02-21 21:10:14 +00:00
Setup.dist Update the Tix version (long overdue :-). 2001-03-22 22:18:55 +00:00
sgimodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
shamodule.c Cleanup logic a little. Check args first, then try to create the 2001-01-29 22:46:35 +00:00
signalmodule.c Document SIG_* warning causes on Solaris. 2001-03-06 12:13:56 +00:00
socketmodule.c Committing patch 405101 2001-03-18 17:11:56 +00:00
sre.h -- added recursion limit (currently ~10,000 levels) 2000-08-03 16:29:50 +00:00
sre_constants.h sre 2.1b2 update: 2001-03-22 15:50:10 +00:00
stropmodule.c Rationalize use of limits.h, moving the inclusion to Python.h. 2000-09-26 05:46:01 +00:00
structmodule.c Repair portability of sign extension when reading signed ints on boxes 2001-04-08 23:39:38 +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
symtablemodule.c add DEF_BOUND constant 2001-03-22 23:10:44 +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 Michael Hudson <mwh21@cam.ac.uk>: 2001-04-09 19:32:52 +00:00
threadmodule.c Use PyThreadState_DeleteCurrent() instead of PyThreadState_Delete() 2001-01-23 01:47:18 +00:00
timemodule.c SF patch 407758, "timemodule patches for Cygwin", from Norman Vine. 2001-03-20 03:26:49 +00:00
timing.h
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
unicodedata.c Be a bit more strict in setting up the export of the C API for this 2001-03-03 19:41:55 +00:00
unicodedata_db.h compress unicode decomposition tables (this saves another 55k) 2001-01-21 22:41:08 +00:00
unicodename_db.h compress unicode decomposition tables (this saves another 55k) 2001-01-21 22:41:08 +00:00
xreadlinesmodule.c Fix a memory leak -- there's no need to INCREF() the result of 2001-03-23 18:30:19 +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 Patch #103926: fix two warnings from Tru64's compiler 2001-02-22 15:52:55 +00:00