cpython/Modules
Brett Cannon e974689038 Re-implement the 'warnings' module in C. This allows for usage of the
'warnings' code in places where it was previously not possible (e.g., the
parser). It could also potentially lead to a speed-up in interpreter start-up
if the C version of the code (_warnings) is imported over the use of the
Python version in key places.

Closes issue #1631171.
2008-04-12 23:44:07 +00:00
..
_ctypes Performance improvements. 2008-04-11 14:20:26 +00:00
_sqlite Update sqlite3 module to match current version of pysqlite. 2008-03-28 20:08:36 +00:00
cjkcodecs Update big5hkscs codec to conform to the HKSCS:2004 revision. 2008-02-08 17:10:20 +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
Setup.config.in Patch to make _codecs a builtin module. This is necessary since 2002-12-12 17:37:50 +00:00
Setup.dist Remove the rgbimg module. It has been deprecated since Python 2.5. 2007-05-20 07:09:50 +00:00
_bisectmodule.c More unconsting. 2006-02-27 17:20:04 +00:00
_bsddb.c Merge this fix from the pybsddb tree: 2008-02-03 07:20:53 +00:00
_codecsmodule.c The incremental decoder for utf-7 must preserve its state between calls. 2007-11-20 23:31:27 +00:00
_collectionsmodule.c dict.copy() rises from the ashes. Revert r60687. 2008-02-12 19:05:36 +00:00
_csv.c #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 2007-12-19 02:37:44 +00:00
_curses_panel.c #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 2007-12-19 02:37:44 +00:00
_cursesmodule.c #1940: make it possible to use curses.filter() before curses.initscr() 2008-01-26 14:03:47 +00:00
_elementtree.c Coverity issue CID #182 2008-01-18 08:04:57 +00:00
_fileio.c Remove all traces of HAVE_STRERROR. 2008-03-18 15:35:58 +00:00
_functoolsmodule.c #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 2007-12-19 02:37:44 +00:00
_hashopenssl.c #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 2007-12-19 02:37:44 +00:00
_heapqmodule.c Leave heapreplace() unchanged. 2008-03-14 05:03:44 +00:00
_hotshot.c #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 2007-12-19 02:37:44 +00:00
_localemodule.c - Fix an off-by-one bug in locale.strxfrm(). 2007-04-03 04:35:59 +00:00
_lsprof.c #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 2007-12-19 02:37:44 +00:00
_randommodule.c #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 2007-12-19 02:37:44 +00:00
_sre.c Silence Coverity false alerts with CIDs #172, #183, #184 2008-01-18 19:12:56 +00:00
_ssl.c Fix compiler warnings 2008-03-27 05:03:11 +00:00
_struct.c Issue 1872: Changed the struct module typecode from 't' to '?', for 2008-03-05 15:34:29 +00:00
_testcapimodule.c Patch #1691070 from Roger Upole: Speed up PyArg_ParseTupleAndKeywords() and improve error msg 2008-02-26 17:23:51 +00:00
_tkinter.c Bug #1301: fixed a bad assert in _tkinter. 2008-01-03 23:54:04 +00:00
_weakref.c #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 2007-12-19 02:37:44 +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 #2359: add Py3k warning for array.read/array.write. 2008-03-25 08:37:23 +00:00
audioop.c Fix various minor errors in passing arguments to 2006-10-19 11:00:37 +00:00
binascii.c On platforms without zlib, make this do the right thing and return the python 2008-03-25 07:46:07 +00:00
bsddb.h Fixed a warning in _codecs_iso2022.c and some non C89 conform // comments. 2007-12-14 03:02:34 +00:00
bsddbmodule.c Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
bz2module.c fix compiler warnings 2008-04-12 20:37:48 +00:00
cPickle.c Use the new PyFile_IncUseCount & PyFile_DecUseCount calls appropriatly 2008-04-07 06:33:21 +00:00
cStringIO.c Crashers of the day: Py_CLEAR must be used when there is a chance that the 2008-02-16 14:34:57 +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
config.c.in Re-implement the 'warnings' module in C. This allows for usage of the 2008-04-12 23:44:07 +00:00
cryptmodule.c Patch #1516912: improve Modules support for OpenVMS. 2006-07-10 01:18:57 +00:00
cstubs REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
datetimemodule.c Use a buffer large enough to ensure we don't overrun, even if the value 2008-03-17 19:02:45 +00:00
dbmmodule.c Cast the arguments to PyString_AsStringAndSize() to silence compiler warnings 2008-03-18 16:47:51 +00:00
dlmodule.c #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 2007-12-19 02:37:44 +00:00
errnomodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
fcntlmodule.c Prevent ioctl op codes from being sign extended from int to unsigned long 2008-03-19 23:03:25 +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
future_builtins.c Added zip, map, filter to future_bultins (#2171) 2008-03-19 02:35:45 +00:00
gc_weakref.txt SF 1055820: weakref callback vs gc vs threads 2004-10-30 23:09:22 +00:00
gcmodule.c Implemented Martin's suggestion to clear the free lists during the garbage collection of the highest generation. 2008-02-14 12:47:33 +00:00
gdbmmodule.c The contains function raised a gcc warning. The new code is copied straight from py3k. 2008-02-26 08:18:11 +00:00
getaddrinfo.c SF #784031: Byte-order bug in socket-module getaddrinfo.c 2003-08-17 21:28:39 +00:00
getbuildinfo.c Fixing changes to getbuildinfo.c that broke linux builds 2007-06-07 23:53:49 +00:00
getnameinfo.c Remove INET6 define. Use ENABLE_IPV6 instead. 2001-12-02 10:15:37 +00:00
getpath.c Typos. 2007-03-10 07:38:14 +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 Remove itertools warnings I had added before the 2-to-3 handled the migration. 2008-03-19 18:01:58 +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 PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
main.c Applied patch #2617 from Frank Wierzbicki wit some extras from me 2008-04-12 13:03:03 +00:00
makesetup Patch #786737: Allow building in a tree of symlinks pointing to 2007-09-05 11:47:34 +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 Neaten-up a bit. 2008-02-02 05:24:44 +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 #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 2007-12-19 02:37:44 +00:00
mmapmodule.c Issue 2112. mmap does not raises EnvironmentError no more, but 2008-02-17 18:59:29 +00:00
nismodule.c Revert backwards-incompatible const changes. 2006-02-27 16:46:16 +00:00
operator.c #1506171: added operator.methodcaller(). 2008-02-23 23:04:35 +00:00
ossaudiodev.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
parsermodule.c Patch #1759: Backport of PEP 3129 class decorators 2008-02-23 15:01:05 +00:00
posixmodule.c Fix chown on 64-bit linux. It needed to take a long (64-bit on 64bit linux) as 2008-03-18 19:05:32 +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 Patch 1137: allow assigning to .buffer_size attribute of PyExpat.parser objects 2008-01-08 14:30:55 +00:00
python.c Apparently FreeBSD enables some HW floating-point exceptions by default. 2002-12-28 21:56:08 +00:00
readline.c readline module cleanup 2007-11-12 18:58:08 +00:00
resource.c Patch #1557515: Add RLIMIT_SBSIZE. 2006-09-16 17:36:37 +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 Fix and simplify error handling, silencing a compiler warning. 2008-03-26 12:57:47 +00:00
sgimodule.c Convert more METH_OLDARGS & PyArg_Parse() 2002-04-02 18:26:33 +00:00
sha256module.c #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 2007-12-19 02:37:44 +00:00
sha512module.c #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 2007-12-19 02:37:44 +00:00
shamodule.c #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 2007-12-19 02:37:44 +00:00
signalmodule.c Conditionalize sys/time.h inclusion. 2008-03-24 13:54:23 +00:00
socketmodule.c Repair compilation for Visual Studio 2005. 2008-03-28 21:55:29 +00:00
socketmodule.h Issue #1646: Make socket support TIPC. The socket module now has support 2008-01-07 16:12:44 +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 #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 2007-12-19 02:37:44 +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 Patch #1957: syslogmodule: Release GIL when calling syslog(3) 2008-02-23 17:42:31 +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 #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 2007-12-19 02:37:44 +00:00
timemodule.c type 2008-04-06 17:05:57 +00:00
timing.h Remove the advertising clause from the BSD license in timing.h. 2008-04-01 23:57:36 +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 #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 2007-12-19 02:37:44 +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 #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 2007-12-19 02:37:44 +00:00
xxsubtype.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +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 Coverity issue CID #197 2008-01-18 07:30:20 +00:00
zlibmodule.c Fix zlib crash from zlib.decompressobj().flush(val) when val was not positive. 2008-04-09 00:25:17 +00:00