cpython/Modules
Gregory P. Smith e9fef694b4 Change socket.error to inherit from IOError rather than being a stand
alone class.  This addresses the primary concern in

 http://bugs.python.org/issue1706815

python-dev discussion here:

 http://mail.python.org/pipermail/python-dev/2007-July/073749.html

I chose IOError rather than EnvironmentError as the base class since
socket objects are often used as transparent duck typed file objects
in code already prepared to deal with IOError exceptions.

also a minor fix:

 urllib2 - fix a couple places where IOError was raised rather than URLError.
           for better or worse, URLError already inherits from IOError so
           this won't break any existing code.

 test_urllib2net - replace bad ftp urls.
2007-09-09 23:36:46 +00:00
..
_ctypes Remove unneeded #include. 2007-09-07 09:30:40 +00:00
_sqlite PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
cjkcodecs Add cheot-ga-keut composed make-up sequence support in EUC-KR codec. 2007-08-20 06:49:18 +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 email address update 2007-09-09 20:25:00 +00:00
_codecsmodule.c Backport r57105 and r57145 from the py3k branch: UTF-32 codecs. 2007-08-17 16:41:28 +00:00
_collectionsmodule.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
_csv.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
_curses_panel.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
_cursesmodule.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
_elementtree.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
_functoolsmodule.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
_hashopenssl.c email address update 2007-09-09 20:25:00 +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 PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
_localemodule.c - Fix an off-by-one bug in locale.strxfrm(). 2007-04-03 04:35:59 +00:00
_lsprof.c Patch #1733973 by peaker: 2007-09-06 08:30:51 +00:00
_randommodule.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
_sre.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
_ssl.c SSL certificate distinguished names should be represented by tuples 2007-09-05 00:46:27 +00:00
_struct.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
_testcapimodule.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
_tkinter.c Backport r56875 from py3k; double LEAVE_PYTHON when AsString() fails 2007-08-09 21:47:11 +00:00
_typesmodule.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
_weakref.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
addrinfo.h
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
arraymodule.c Improve extended slicing support in builtin types and classes. Specifically: 2007-08-28 15:28:19 +00:00
audioop.c Fix various minor errors in passing arguments to 2006-10-19 11:00:37 +00:00
binascii.c Backport checkin: 2007-05-09 18:10:47 +00:00
bsddbmodule.c Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
bz2module.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
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
config.c.in Patch #1520294: Support for getset and member descriptors in types.py, 2006-07-27 23:43:15 +00:00
cPickle.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
cryptmodule.c Patch #1516912: improve Modules support for OpenVMS. 2006-07-10 01:18:57 +00:00
cStringIO.c Fix compilation warning. 2007-08-08 13:50:02 +00:00
cstubs
datetimemodule.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
dbmmodule.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
dlmodule.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +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 PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
gdbmmodule.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
getaddrinfo.c
getbuildinfo.c Fixing changes to getbuildinfo.c that broke linux builds 2007-06-07 23:53:49 +00:00
getnameinfo.c
getpath.c Typos. 2007-03-10 07:38:14 +00:00
glmodule.c
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 PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
ld_so_aix SF Bug # 941346, AIX shared library fix 2005-10-03 03:57:09 +00:00
ld_so_beos
linuxaudiodev.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
main.c Fix bug 1764407 - the -i switch now does the right thing when using the -m switch 2007-08-25 10:50:41 +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 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 PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
mmapmodule.c Improve extended slicing support in builtin types and classes. Specifically: 2007-08-28 15:28:19 +00:00
nismodule.c Revert backwards-incompatible const changes. 2006-02-27 16:46:16 +00:00
operator.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +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 PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
posixmodule.c Document that we rely on the OS to release the crypto 2007-09-04 09:51:57 +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 PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
python.c
readline.c Patch #1388440: Add set_completion_display_matches_hook and 2007-09-04 13:13:14 +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 PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
Setup.config.in
Setup.dist Remove the rgbimg module. It has been deprecated since Python 2.5. 2007-05-20 07:09:50 +00:00
sgimodule.c
sha256module.c email address update 2007-09-09 20:25:00 +00:00
sha512module.c email address update 2007-09-09 20:25:00 +00:00
shamodule.c email address update 2007-09-09 20:25:00 +00:00
signalmodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
socketmodule.c Change socket.error to inherit from IOError rather than being a stand 2007-09-09 23:36:46 +00:00
socketmodule.h Patch #1432399: Add HCI sockets. 2007-02-14 10:07:37 +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
stropmodule.c Replace INT_MAX with PY_SSIZE_T_MAX. 2006-04-13 07:34:09 +00:00
sunaudiodev.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +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
threadmodule.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
timemodule.c In Windows' time.clock(), when QueryPerformanceFrequency() fails, 2007-03-29 12:42:07 +00:00
timing.h
timingmodule.c
tkappinit.c
unicodedata.c Bug #1704793: Return UTF-16 pair if unicodedata.lookup cannot 2007-07-28 07:03:05 +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 PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +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
yuvconvert.c
zipimport.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
zlibmodule.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00