cpython/Modules
Gerhard Häring 0741a60ca7 Merged changes from standalone version 2.3.3. This should probably all be
merged into the 2.5 maintenance branch:

- self->statement was not checked while fetching data, which could
  lead to crashes if you used the pysqlite API in unusual ways.
  Closing the cursor and continuing to fetch data was enough.

- Converters are stored in a converters dictionary. The converter name
  is uppercased first. The old upper-casing algorithm was wrong and
  was replaced by a simple call to the Python string's upper() method
  instead.

-Applied patch by Glyph Lefkowitz that fixes the problem with
 subsequent SQLITE_SCHEMA errors.

- Improvement to the row type: rows can now be iterated over and have a keys()
  method. This improves compatibility with both tuple and dict a lot.

- A bugfix for the subsecond resolution in timestamps.

- Corrected the way the flags PARSE_DECLTYPES and PARSE_COLNAMES are
  checked for. Now they work as documented.

- gcc on Linux sucks. It exports all symbols by default in shared
  libraries, so if symbols are not unique it can lead to problems with
  symbol lookup.  pysqlite used to crash under Apache when mod_cache
  was enabled because both modules had the symbol cache_init. I fixed
  this by applying the prefix pysqlite_ almost everywhere. Sigh.
2007-01-14 01:43:50 +00:00
..
_ctypes Fixes for 64-bit Windows: In ctypes.wintypes, correct the definitions 2007-01-11 21:18:56 +00:00
_sqlite Merged changes from standalone version 2.3.3. This should probably all be 2007-01-14 01:43:50 +00:00
cjkcodecs Bug #1572832: fix a bug in ISO-2022 codecs which may cause segfault 2006-10-08 13:48:34 +00:00
expat Handle failures from lookup. 2006-08-13 18:12:26 +00:00
zlib Remove unneeded directories. 2006-01-03 06:48:38 +00:00
_bisectmodule.c More unconsting. 2006-02-27 17:20:04 +00:00
_bsddb.c bump module version to match supported berkeleydb version 2007-01-05 02:06:17 +00:00
_codecsmodule.c Klocwork made another run and found a bunch more problems. 2006-08-12 01:43:40 +00:00
_csv.c Fix problems found by Coverity. 2006-05-10 06:57:58 +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 Bug #1548092: fix curses.tparm seg fault on invalid input. Needs backport to 2.5.1 and earlier. 2006-09-02 02:50:35 +00:00
_elementtree.c SF#1534630 2006-08-16 16:47:07 +00:00
_functoolsmodule.c Apply modified version of Collin Winter's patch #1478788 2006-05-29 12:43:05 +00:00
_hashopenssl.c Make use of METH_O and METH_NOARGS where possible. 2006-05-29 21:04:52 +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 Klocwork made another run and found a bunch more problems. 2006-08-12 01:43:40 +00:00
_localemodule.c Patch #1495999: Part two of Windows CE changes. 2006-06-10 12:23:46 +00:00
_lsprof.c Initialize structseq types only once. 2006-04-16 18:55:50 +00:00
_randommodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
_sre.c Cause a PyObject_Malloc() failure to trigger a MemoryError, and then 2006-10-04 13:42:43 +00:00
_ssl.c Fix various minor errors in passing arguments to 2006-10-19 11:00:37 +00:00
_struct.c Fix #1530559, struct.pack raises TypeError where it used to convert. 2006-08-04 23:59:21 +00:00
_testcapimodule.c Fix crash in test on HP-UX. Apparently, it's not possible to delete a lock if 2006-10-28 21:17:51 +00:00
_tkinter.c Don't deref v if it's NULL. 2006-08-12 02:33:36 +00:00
_typesmodule.c Patch #1520294: Support for getset and member descriptors in types.py, 2006-07-27 23:43:15 +00:00
_weakref.c _PyWeakref_GetWeakrefCount() now returns a Py_ssize_t instead of long. 2006-08-02 06:14:22 +00:00
addrinfo.h Add comments at end of every #endif and fix ones already there when for closing 2004-07-10 19:30:39 +00:00
almodule.c Remove extra semi-colons reported by Johnny Lee on python-dev. Backport if anyone cares. 2006-09-23 04:11:38 +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 Fix SF bug #1545837: array.array borks on deepcopy. 2006-08-24 18:40:20 +00:00
audioop.c Fix various minor errors in passing arguments to 2006-10-19 11:00:37 +00:00
binascii.c Bug #1588217: don't parse "= " as a soft line break in binascii's 2006-11-16 17:08:45 +00:00
bsddbmodule.c Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
bz2module.c [Patch #1615868 by Lars Gustaebel] Use Py_off_t to fix BZ2File.seek() for offsets > 2Gb 2006-12-18 19:22:24 +00:00
cdmodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
cgen.py Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +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 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 Fix zero-length corner case for iterating over a mutating deque. 2007-01-08 18:09:20 +00:00
config.c.in Patch #1520294: Support for getset and member descriptors in types.py, 2006-07-27 23:43:15 +00:00
cPickle.c Forward-port of r52136,52138: a review of overflow-detecting code. 2006-10-04 12:17:45 +00:00
cryptmodule.c Patch #1516912: improve Modules support for OpenVMS. 2006-07-10 01:18:57 +00:00
cStringIO.c Make cStringIO.truncate raise IOError for negative 2006-11-19 10:41:41 +00:00
cstubs REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
datetimemodule.c Bug #1556784: allow format strings longer than 127 characters in 2006-09-30 11:17:34 +00:00
dbmmodule.c Fix various minor errors in passing arguments to 2006-10-19 11:00:37 +00:00
dlmodule.c Patch #1516912: improve Modules support for OpenVMS. 2006-07-10 01:18:57 +00:00
errnomodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
fcntlmodule.c Tweak wording 2006-07-29 15:43:13 +00:00
flmodule.c Convert more modules to METH_VARARGS. 2006-05-29 21:58:42 +00:00
fmmodule.c Convert fmmodule to METH_VARARGS. 2006-05-29 13:53:16 +00:00
fpectlmodule.c Patch #1516912: improve Modules support for OpenVMS. 2006-07-10 01:18:57 +00:00
fpetestmodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
gc_weakref.txt SF 1055820: weakref callback vs gc vs threads 2004-10-30 23:09:22 +00:00
gcmodule.c List gc.get_count() in the module docstring. 2006-10-09 19:43:24 +00:00
gdbmmodule.c Make use of METH_O and METH_NOARGS where possible. 2006-05-29 21:04:52 +00:00
getaddrinfo.c SF #784031: Byte-order bug in socket-module getaddrinfo.c 2003-08-17 21:28:39 +00:00
getbuildinfo.c Generate getbuildinfo.o each time the linker is invoked; 2006-01-18 09:13:51 +00:00
getnameinfo.c Remove INET6 define. Use ENABLE_IPV6 instead. 2001-12-02 10:15:37 +00:00
getpath.c Patch #1516912: improve Modules support for OpenVMS. 2006-07-10 01:18:57 +00:00
glmodule.c SF patch #577031, remove PyArg_NoArgs() since it's deprecated 2002-07-28 15:23:23 +00:00
grpmodule.c Move over to use of METH_O and METH_NOARGS. 2006-05-25 22:00:14 +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 * regression bug, count_next was coercing a Py_ssize_t to an unsigned Py_size_t 2006-09-21 17:50:26 +00:00
ld_so_aix SF Bug # 941346, AIX shared library fix 2005-10-03 03:57:09 +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 Compilation problem caused by conflicting typedefs for uint32_t 2006-10-04 10:23:57 +00:00
main.c Silence a warning from gcc 4.0.1 by specifying a function's parameter list is 2007-01-05 21:45:09 +00:00
makesetup [Patch #536769] Add -Xcompiler flag for adding arguments and switches for 2002-03-29 18:00:19 +00:00
makexp_aix - Changes donated by Elemental Security to make it work on AIX 5.3 2005-09-14 18:09:42 +00:00
mathmodule.c Speed up function calls into the math module by using METH_O. 2006-11-19 21:26:53 +00:00
md5.c - Patch #360466: Replace the MD5 implementation from RSA Data Security Inc 2006-04-03 16:27:50 +00:00
md5.h - Patch #360466: Replace the MD5 implementation from RSA Data Security Inc 2006-04-03 16:27:50 +00:00
md5module.c - Patch #360466: Replace the MD5 implementation from RSA Data Security Inc 2006-04-03 16:27:50 +00:00
mmapmodule.c Alexander Belopolsky pointed out that pos is a size_t 2006-08-22 13:56:56 +00:00
nismodule.c Revert backwards-incompatible const changes. 2006-02-27 16:46:16 +00:00
operator.c Patch #1538606, Patch to fix __index__() clipping. 2006-08-12 17:03:09 +00:00
ossaudiodev.c Compilation problem caused by conflicting typedefs for uint32_t 2006-10-04 10:23:57 +00:00
parsermodule.c Expose column offset information in parse trees. 2006-08-22 20:46:00 +00:00
posixmodule.c Patch #1580674: with this patch os.readlink uses the filesystem encoding to 2006-10-22 10:45:18 +00:00
puremodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
pwdmodule.c Initialize structseq types only once. 2006-04-16 18:55:50 +00:00
pyexpat.c - back out Expat change; the final fix to Expat will be different 2006-07-06 05:13:22 +00:00
python.c Apparently FreeBSD enables some HW floating-point exceptions by default. 2002-12-28 21:56:08 +00:00
readline.c [Bug #1552726] Avoid repeatedly polling in interactive mode -- only put a timeout on the select() 2006-09-07 13:59:38 +00:00
resource.c Patch #1557515: Add RLIMIT_SBSIZE. 2006-09-16 17:36:37 +00:00
rgbimgmodule.c Verify verdat which is returned from malloc is not NULL. 2006-08-12 03:18:50 +00:00
rotatingtree.c randombits(): Stop compiler warning about mixing 2006-02-15 03:01:30 +00:00
rotatingtree.h Fix comment typo 2006-04-22 01:58:40 +00:00
selectmodule.c Patch #1516912: improve Modules support for OpenVMS. 2006-07-10 01:18:57 +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 Bug #1535081: A leading underscore has been added to the names of 2006-08-06 07:26:21 +00:00
sgimodule.c Convert more METH_OLDARGS & PyArg_Parse() 2002-04-02 18:26:33 +00:00
sha256module.c Make use of METH_O and METH_NOARGS where possible. 2006-05-29 21:04:52 +00:00
sha512module.c Make use of METH_O and METH_NOARGS where possible. 2006-05-29 21:04:52 +00:00
shamodule.c Make use of METH_O and METH_NOARGS where possible. 2006-05-29 21:04:52 +00:00
signalmodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
socketmodule.c Comment typo 2006-12-19 14:29:04 +00:00
socketmodule.h Patch #1544279: Improve thread-safety of the socket module by moving 2006-12-03 11:23:45 +00:00
spwdmodule.c v is already checked for NULL, so just DECREF it 2006-08-02 06:15:10 +00:00
sre.h Impl ssize_t 2006-06-12 03:05:40 +00:00
sre_constants.h Implemented non-recursive SRE matching. 2003-10-17 22:13:16 +00:00
stropmodule.c Replace INT_MAX with PY_SSIZE_T_MAX. 2006-04-13 07:34:09 +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 Make use of METH_O and METH_NOARGS where possible. 2006-05-29 21:04:52 +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 Fix error in comment, and in test_long_api and test_longlong_api remove 2001-06-16 08:10:13 +00:00
threadmodule.c Add some asserts. In sysmodule, I think these were to try to silence 2006-10-28 21:15:30 +00:00
timemodule.c Fix typo. 2006-12-21 18:06:30 +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 Remove warning about implicit declaration of strcmp() 2004-06-13 20:29:55 +00:00
unicodedata.c Replace C++ comment with C comment (fixes SF bug #1593525). 2006-11-09 16:23:26 +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 Move test code out of xxmodule and into _testcapimodule.c where it belongs. 2006-03-15 05:43:10 +00:00
xxsubtype.c remove forward declarations. No constructors to move for these files. Makes 2006-04-12 04:29:01 +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 It's very unlikely, though possible that source is not a string. Verify 2006-08-13 18:12:03 +00:00
zlibmodule.c Patch #1503046, Conditional compilation of zlib.(de)compressobj.copy 2006-06-12 03:33:09 +00:00