cpython/Modules
Sjoerd Mullender 7e6bbe1516 The format of the string data used in the imageop module is described
as "This is the same format as used by gl.lrectwrite() and the imgfile
module."  This implies a certain byte order in multi-byte pixel
formats.  However, the code was originally written on an SGI
(big-endian) and *uses* the fact that bytes are stored in a particular
order in ints.  This means that the code uses and produces different
byte order on little-endian systems.

This fix adds a module-level flag "backward_compatible" (default not
set, and if not set, behaves as if set to 1--i.e. backward compatible)
that can be used on a little-endian system to use the same byte order
as the SGI.  Using this flag it is then possible to prepare
SGI-compatible images on a little-endian system.

This patch is the result of a (small) discussion on python-dev and was
submitted to SourceForge as patch #874358.
2004-01-10 20:43:43 +00:00
..
expat Update to Expat 1.95.7; there are no changes to the Expat sources. 2003-10-21 15:38:55 +00:00
.cvsignore Add Setup.config 2000-06-30 16:09:01 +00:00
Setup.config.in Patch to make _codecs a builtin module. This is necessary since 2002-12-12 17:37:50 +00:00
Setup.dist Patch #752671: NetBSD needs to link libintl to _locale.so. 2003-06-14 21:03:05 +00:00
_bisectmodule.c SF Patch #864863: Bisect C implementation 2004-01-05 10:13:35 +00:00
_bsddb.c * SF patch 835100 - C++ // comments are not allowed. Use /* */ 2003-11-03 21:35:31 +00:00
_codecsmodule.c Fix for [ 543344 ] Interpreter crashes when recoding; suggested 2003-02-04 19:35:03 +00:00
_csv.c doc nit 2003-12-02 18:57:47 +00:00
_curses_panel.c Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype 2002-08-02 02:27:13 +00:00
_cursesmodule.c [Patch #739124] Add use_default_colors() to curses module 2003-08-13 23:11:04 +00:00
_hotshot.c Getting rid of all the code inside #ifdef macintosh too. 2003-11-20 01:44:59 +00:00
_localemodule.c Got rid of macglue.h, replacing it by pymactoolbox.h where relevant. 2003-11-20 13:31:00 +00:00
_randommodule.c SF bug #812202: randint is always even 2003-10-05 09:09:15 +00:00
_sre.c Cleaning up recursive pieces left in the reorganization. 2003-12-13 20:32:08 +00:00
_ssl.c Patch #803998: Correctly check for error in SSL_write. 2003-10-27 14:24:37 +00:00
_testcapimodule.c Fix silly leak in test used in test_exceptions. 2003-08-15 13:03:30 +00:00
_tkinter.c Getting rid of all the code inside #ifdef macintosh too. 2003-11-20 01:44:59 +00:00
_weakref.c Fix ref(), proxy() docstrings, based on comments from David Abrahams. 2002-08-02 20:23:40 +00:00
addrinfo.h Rename LONG_LONG to PY_LONG_LONG. Fixes #710285. 2003-03-29 10:06:18 +00:00
almodule.c Simplify and speedup uses of Py_BuildValue(): 2003-10-12 19:09:37 +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 Simplify and speedup uses of Py_BuildValue(): 2003-10-12 19:09:37 +00:00
audioop.c Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype 2002-08-02 02:27:13 +00:00
binascii.c binascii_a2b_base64: Properly return an empty string if the input was all 2003-03-17 11:24:29 +00:00
bsddbmodule.c add open function to bsddb185 module so the file format sniffing can be 2003-05-06 20:38:52 +00:00
bz2module.c Use appropriate macros not the deprecated DL_IMPORT/DL_EXPORT macros 2003-07-01 20:15:21 +00:00
cPickle.c Simplify and speedup uses of Py_BuildValue(): 2003-10-12 19:09:37 +00:00
cStringIO.c Simplify and speedup uses of Py_BuildValue(): 2003-10-12 19:09:37 +00:00
ccpython.cc Patch and new file by Geoff Furnish for C++ compilation. 1999-12-16 17:52:08 +00:00
cdmodule.c Repair widespread misuse of _PyString_Resize. Since it's clear people 2002-04-27 18:44:32 +00:00
cgen.py Convert a pile of obvious "yes/no" functions to return bool. 2002-04-04 22:55:58 +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 Repair widespread misuse of _PyString_Resize. Since it's clear people 2002-04-27 18:44:32 +00:00
cmathmodule.c Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype 2002-08-02 02:27:13 +00:00
config.c.in Removed WITH_CYCLE_GC #ifdef-ery. Holes: 2002-07-07 03:59:34 +00:00
cryptmodule.c Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype 2002-08-02 02:27:13 +00:00
cstubs REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
datetimemodule.c Fix a bunch of typos in documentation, docstrings and comments. 2003-10-20 14:01:56 +00:00
dbmmodule.c Fix SF # 640557, '64-bit' systems and the dbm module 2002-11-22 23:29:31 +00:00
dlmodule.c Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype 2002-08-02 02:27:13 +00:00
errnomodule.c Getting rid of code dependent on GUSI or the MetroWerks compiler. 2003-11-19 22:52:23 +00:00
fcntlmodule.c Fix typo, refer to proper argument name 2003-06-30 01:54:04 +00:00
flmodule.c Simplify and speedup uses of Py_BuildValue(): 2003-10-12 19:09:37 +00:00
fmmodule.c staticforward bites the dust. 2002-07-17 16:30:39 +00:00
fpectlmodule.c Patch #708495: Port more stuff to OpenVMS. 2003-05-03 09:14:54 +00:00
fpetestmodule.c Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype 2002-08-02 02:27:13 +00:00
gc_weakref.txt SF bug 839548: Bug in type's GC handling causes segfaults. 2003-11-20 21:21:46 +00:00
gcmodule.c Convert return value to boolean. 2004-01-04 04:00:13 +00:00
gdbmmodule.c Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype 2002-08-02 02:27:13 +00:00
getaddrinfo.c SF #784031: Byte-order bug in socket-module getaddrinfo.c 2003-08-17 21:28:39 +00:00
getbuildinfo.c Getting rid of all the code inside #ifdef macintosh too. 2003-11-20 01:44:59 +00:00
getnameinfo.c Remove INET6 define. Use ENABLE_IPV6 instead. 2001-12-02 10:15:37 +00:00
getpath.c Make sure zip_path is null-terminated, since it's on the stack 2002-12-31 12:45:12 +00:00
glmodule.c SF patch #577031, remove PyArg_NoArgs() since it's deprecated 2002-07-28 15:23:23 +00:00
grpmodule.c Patch #708495: Port more stuff to OpenVMS. 2003-05-03 09:14:54 +00:00
heapqmodule.c Make private/local functions static 2003-12-13 22:31:53 +00:00
imageop.c The format of the string data used in the imageop module is described 2004-01-10 20:43:43 +00:00
imgfile.c Convert METH_OLDARGS -> METH_VARARGS: also PyArg_Parse -> PyArg_ParseTuple 2002-03-31 15:43:28 +00:00
itertoolsmodule.c Implement itertools.groupby() 2003-12-06 16:23:06 +00:00
ld_so_aix Mod suggested by Donn Cave -- invoke makexp_aix relative to $0 1997-09-03 00:45:30 +00:00
ld_so_beos Remove a hard coded Python version, and a now incorrect relative path. Closes 2001-02-16 03:27:35 +00:00
linuxaudiodev.c Allow the device name to be passed to linuxaudiodev.open(), for 2002-11-27 22:19:15 +00:00
main.c Getting rid of support for the ancient Apple MPW compiler. 2003-11-19 15:24:47 +00:00
makesetup [Patch #536769] Add -Xcompiler flag for adding arguments and switches for 2002-03-29 18:00:19 +00:00
makexp_aix remove C++ entries of the form Class::method 1998-04-09 21:46:02 +00:00
mathmodule.c Getting rid of support for the ancient Apple MPW compiler. 2003-11-19 15:24:47 +00:00
md5.h Issue an explicit error when we can't find an appropriate type for 2002-05-29 14:00:22 +00:00
md5c.c Fix a bunch of typos in documentation, docstrings and comments. 2003-10-20 14:01:56 +00:00
md5module.c typo 2003-07-08 21:17:25 +00:00
mmapmodule.c [Patch #708374] Only apply the check for file size if the file is a regular file, not a character or block device. 2003-07-15 12:37:46 +00:00
mpzmodule.c Fix memory leaks reported by valgrind 2002-08-14 02:03:50 +00:00
nismodule.c SF #633013, Fix NIS causing interpreter core dump 2002-11-04 23:21:09 +00:00
operator.c Fix typos. 2003-12-04 22:17:49 +00:00
ossaudiodev.c Whitespace normalization; break a long line. 2003-06-02 14:15:34 +00:00
parsermodule.c Getting rid of all the code inside #ifdef macintosh too. 2003-11-20 01:44: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 Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype 2002-08-02 02:27:13 +00:00
posixmodule.c FIx unicodefilename support of posix.uname(). This fixes test_unicode_file 2004-01-04 13:54:25 +00:00
puremodule.c Patch #477750: Use METH_ constants in Modules. 2002-01-17 23:15:58 +00:00
pwdmodule.c - The pwd module incorrectly advertised its struct type as 2003-10-23 23:54:57 +00:00
pyexpat.c Simplify and speedup uses of Py_BuildValue(): 2003-10-12 19:09:37 +00:00
pypcre.c Fix a bunch of typos in documentation, docstrings and comments. 2003-10-20 14:01:56 +00:00
python.c Apparently FreeBSD enables some HW floating-point exceptions by default. 2002-12-28 21:56:08 +00:00
readline.c Patch #804543: strdup saved locales. Backported to 2.3. 2003-11-13 07:43:21 +00:00
regexmodule.c Simplify and speedup uses of Py_BuildValue(): 2003-10-12 19:09:37 +00:00
regexpr.c Replace abort with Py_FatalError. 2002-08-07 16:21:51 +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 Get build working with pre-C99 compilers 2003-03-30 20:51:29 +00:00
rgbimgmodule.c Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype 2002-08-02 02:27:13 +00:00
rotormodule.c [Patch #679505] Trigger DeprecationWarning on importing the rotor module 2003-04-24 13:17:13 +00:00
selectmodule.c Simplify and speedup uses of Py_BuildValue(): 2003-10-12 19:09:37 +00:00
sgimodule.c Convert more METH_OLDARGS & PyArg_Parse() 2002-04-02 18:26:33 +00:00
shamodule.c Use personal e-mail address 2002-10-30 21:08:34 +00:00
signalmodule.c Patch [ 776725 ] add SIGRTMIN, SIGRTMAX to signalmodule.c 2003-07-31 10:35:29 +00:00
socketmodule.c Add IPV6_ socket options from RFCs 3493 and 3542. Fixes #867012. 2003-12-30 11:14:01 +00:00
socketmodule.h Patch #708495: Port more stuff to OpenVMS. 2003-05-03 09:14:54 +00:00
sre.h Implemented non-recursive SRE matching. 2003-10-17 22:13:16 +00:00
sre_constants.h Implemented non-recursive SRE matching. 2003-10-17 22:13:16 +00:00
stropmodule.c Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype 2002-08-02 02:27:13 +00:00
structmodule.c Getting rid of code dependent on GUSI or the MetroWerks compiler. 2003-11-19 22:52:23 +00:00
sunaudiodev.c staticforward bites the dust. 2002-07-17 16:30:39 +00:00
svmodule.c Simplify and speedup uses of Py_BuildValue(): 2003-10-12 19:09:37 +00:00
symtablemodule.c Simplify and speedup uses of Py_BuildValue(): 2003-10-12 19:09:37 +00:00
syslogmodule.c Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype 2002-08-02 02:27:13 +00:00
termios.c Patch #787189: Explicitly define CTRL on SGI. 2003-10-31 13:01:24 +00:00
testcapi_long.h Fix error in comment, and in test_long_api and test_longlong_api remove 2001-06-16 08:10:13 +00:00
threadmodule.c Correct function name. 2003-06-16 18:51:28 +00:00
timemodule.c Getting rid of all the code inside #ifdef macintosh too. 2003-11-20 01:44:59 +00:00
timing.h remove rcs history 1996-01-26 21:10:22 +00:00
timingmodule.c Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype 2002-08-02 02:27:13 +00:00
tkappinit.c Mods by Tony Lownds (patch 490100, slightly massaged by me) to make Tkinter 2001-12-09 23:15:56 +00:00
unicodedata.c Overallocate target buffer for normalization more early. Fixes #834676. 2003-11-06 20:47:57 +00:00
unicodedata_db.h Add unidata_version. Bump generator version number. 2002-11-25 09:13:37 +00:00
unicodename_db.h Add unidata_version. Bump generator version number. 2002-11-25 09:13:37 +00:00
xreadlinesmodule.c Renamed PyObject_GenericGetIter to PyObject_SelfIter 2003-03-17 19:46:11 +00:00
xxmodule.c Another dummy type. 2003-02-13 18:44:57 +00:00
xxsubtype.c add some example docstrings using PyDoc_STR 2002-08-14 01:45:37 +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
zipimport.c Patch #801349: 64-bit fix for AMD64 from Gwenole Beauchesne. 2003-09-07 13:36:48 +00:00
zlibmodule.c - Thanks to Scott David Daniels, a subtle bug in how the zlib 2003-02-03 20:45:52 +00:00