cpython/Modules
Thomas Heller fe8f862cda Integrate patch from Neal Norwitz. He writes:
"""
The attached patch fixes all the ctypes tests so they pass on amd64.
It also fixes several warnings.  I'm not sure what else to do with the
patch.  Let me know how you want to handle these in the future.

I'm not sure the patch is 100% correct.  You will need to decide what
can be 64 bits and what can't.  I believe
sq_{item,slice,ass_item,ass_slice} all need to use Py_ssize_t.  The
types in ctypes.h may not require all the changes I made.  I don't
know how you want to support older version, so I unconditionally
changed the types to Py_ssize_t.
"""

The patch is also in the ctypes SVN repository now, after small
changes to add compatibility with older Python versions.
2006-03-14 19:53:09 +00:00
..
_ctypes Integrate patch from Neal Norwitz. He writes: 2006-03-14 19:53:09 +00:00
cjkcodecs Bug #1448490: Fix a bug that ISO-2022 codecs could not handle 2006-03-13 10:20:08 +00:00
expat Remove two instances of trailing commas. Resolves patch #1209781. 2006-02-19 15:28:47 +00:00
zlib
_bisectmodule.c More unconsting. 2006-02-27 17:20:04 +00:00
_bsddb.c Fix another leak in bsddb, and avoid use of uninitialized value -- funny how 2006-03-12 00:01:38 +00:00
_codecsmodule.c Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
_csv.c More unconsting. 2006-02-27 17:20:04 +00:00
_curses_panel.c Coverity-found bug: don't use temp->next *before* checking it for NULL. Also 2006-03-07 13:38:14 +00:00
_cursesmodule.c Revert backwards-incompatible const changes. 2006-02-27 16:46:16 +00:00
_elementtree.c merged with cElementTree development trunk (1.0.6 snapshot): 2006-03-12 21:06:35 +00:00
_hashopenssl.c Properly fix Py_SAFE_DOWNCAST-triggerd bugs. 2006-03-02 05:05:17 +00:00
_heapqmodule.c Also make _heapq.nlargest() use Py_ssize_t instead of ints, to iter over 2006-02-16 19:21:53 +00:00
_hotshot.c _hotshot hotshot_profiler(): If write_header() returned 2006-03-07 23:53:32 +00:00
_localemodule.c Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
_lsprof.c Thanks to Coverity, these were all reported by their Prevent tool. 2006-03-07 04:48:24 +00:00
_randommodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
_sre.c Thanks to Coverity, these were all reported by their Prevent tool. 2006-03-07 04:48:24 +00:00
_ssl.c Try to improve name based on discussion on python-checkins with Jim Jewett 2006-02-13 00:35:21 +00:00
_testcapimodule.c Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
_tkinter.c Coverity found refleak: need to free 'v' after calling Tkinter_Error(). 2006-03-07 14:04:31 +00:00
_weakref.c
addrinfo.h
almodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
ar_beos
arraymodule.c Checking in the code for PEP 357. 2006-03-07 18:50:55 +00:00
audioop.c Thanks to Coverity, these were all reported by their Prevent tool. 2006-03-07 04:48:24 +00:00
binascii.c Use Py_ssize_t for arithmetic on Py_ssize_t's, instead of unsigned ints. 2006-03-01 23:10:05 +00:00
bsddbmodule.c Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
bz2module.c Revert backwards-incompatible const changes. 2006-02-27 16:46:16 +00:00
ccpython.cc
cdmodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
cgen.py
cgensupport.c
cgensupport.h
clmodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
cmathmodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
collectionsmodule.c - Patch 1433928: 2006-02-25 22:38:04 +00:00
config.c.in Create _ast module. 2006-02-27 15:23:19 +00:00
cPickle.c Revert backwards-incompatible const changes. 2006-02-27 16:46:16 +00:00
cryptmodule.c
cStringIO.c SF #1444030: Fix several potential defects found by Coverity. 2006-03-07 15:39:21 +00:00
cstubs
datetimemodule.c More unconsting. 2006-02-27 17:20:04 +00:00
dbmmodule.c Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
dlmodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
errnomodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
fcntlmodule.c Explain why we use the unsigned int format for a signed int variable. 2006-03-02 17:58:27 +00:00
flmodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
fmmodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
fpectlmodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
fpetestmodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
functionalmodule.c Fix typo in functional module 2006-02-21 17:49:57 +00:00
gc_weakref.txt
gcmodule.c SF patch #1443865; gc.get_count() added and optional argument 'generation' 2006-03-07 09:46:03 +00:00
gdbmmodule.c Fix gcc (4.0.x) warning about use of uninitialized variable. 2006-03-01 22:54:36 +00:00
getaddrinfo.c
getbuildinfo.c
getnameinfo.c
getpath.c Patch #931938: prevent setting sys.prefix to "" 2006-02-20 17:37:36 +00:00
glmodule.c
grpmodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
imageop.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
imgfile.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
itertoolsmodule.c More unconsting. 2006-02-27 17:20:04 +00:00
ld_so_aix
ld_so_beos
linuxaudiodev.c Rework channelnumber/samplesize detetion code's output variables a bit to 2006-03-01 22:45:36 +00:00
main.c Try to be a bit more consistent on all platforms: 2006-03-09 05:58:11 +00:00
makesetup
makexp_aix
mathmodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
md5.h
md5c.c
md5module.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
mmapmodule.c Checking in the code for PEP 357. 2006-03-07 18:50:55 +00:00
nismodule.c Revert backwards-incompatible const changes. 2006-02-27 16:46:16 +00:00
operator.c Checking in the code for PEP 357. 2006-03-07 18:50:55 +00:00
ossaudiodev.c Rework channelnumber/samplesize detetion code's output variables a bit to 2006-03-01 22:45:36 +00:00
parsermodule.c Patch #1440601: Add col_offset attribute to AST nodes. 2006-03-01 22:49:05 +00:00
posixmodule.c Reformulate 42903 using an if statement. 2006-03-07 23:59:33 +00:00
puremodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
pwdmodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
pyexpat.c Fix logic error and DECREF reported by Coverity. 2006-03-08 06:36:45 +00:00
python.c
readline.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
regexmodule.c Don't DECREF a borrowed reference. 2006-03-07 11:58:50 +00:00
regexpr.c
regexpr.h
resource.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
rgbimgmodule.c Add deprecation warning to modules deprecated since 2000. 2006-02-17 11:29:04 +00:00
rotatingtree.c randombits(): Stop compiler warning about mixing 2006-02-15 03:01:30 +00:00
rotatingtree.h Added the cProfile module. 2006-02-08 12:53:56 +00:00
selectmodule.c Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
Setup.config.in
Setup.dist
sgimodule.c
sha256module.c Revert backwards-incompatible const changes. 2006-02-27 16:46:16 +00:00
sha512module.c Revert backwards-incompatible const changes. 2006-02-27 16:46:16 +00:00
shamodule.c Revert backwards-incompatible const changes. 2006-02-27 16:46:16 +00:00
signalmodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
socketmodule.c More unconsting. 2006-02-27 17:20:04 +00:00
socketmodule.h
spwdmodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
sre.h
sre_constants.h
stropmodule.c Make ssize_t-clean. 2006-02-17 15:49:09 +00:00
structmodule.c struct_pack(): Repair new assert-fail crash in 2006-02-16 20:19:46 +00:00
sunaudiodev.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
svmodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
symtablemodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
syslogmodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
termios.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
testcapi_long.h
threadmodule.c Um, I thought I'd already checked this in. 2006-03-10 02:28:35 +00:00
timemodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
timing.h
timingmodule.c
tkappinit.c
unicodedata.c Adjust CJK Ideograph range to Unicode 4.1. 2006-03-11 12:16:23 +00:00
unicodedata_db.h Update Unicode database to Unicode 4.1. 2006-03-09 23:38:20 +00:00
unicodename_db.h Update Unicode database to Unicode 4.1. 2006-03-09 23:38:20 +00:00
xxmodule.c Fix and test (manually w/xx module) passing NULLs to PyObject_Str() and 2006-03-14 06:02:16 +00:00
xxsubtype.c
yuv.h
yuvconvert.c
zipimport.c SF #1444030: Fix several potential defects found by Coverity. 2006-03-07 15:39:21 +00:00
zlibmodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00