cpython/Modules
Gregory P. Smith c111d9fbbd merge this from trunk:
r58067 | gregory.p.smith | 2007-09-09 16:36:46 -0700 (Sun, 09 Sep 2007) | 22 lin
es

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:55:55 +00:00
..
_ctypes Merged revisions 57778-58052 via svnmerge from 2007-09-08 17:39:28 +00:00
_sqlite Straggler (forgot to save this earlier). 2007-08-29 14:26:02 +00:00
cjkcodecs Fix a couple of warnings 2007-08-26 05:32:41 +00:00
expat Remove support for BeOS 2007-08-17 12:57:41 +00:00
zlib Remove RISCOS support 2007-08-16 14:35:24 +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 cPickle was removed 2007-08-24 02:51:04 +00:00
_bisectmodule.c More unconsting. 2006-02-27 17:20:04 +00:00
_bsddb.c email address update 2007-09-09 20:17:22 +00:00
_codecsmodule.c Apply SF patch #1775604: This adds three new codecs (utf-32, utf-32-le and 2007-08-16 21:55:45 +00:00
_collectionsmodule.c Kill remaining tp_print definitions. 2007-08-07 19:58:47 +00:00
_csv.c Fix the last remaining test_csv failure. 2007-08-07 23:59:30 +00:00
_curses_panel.c Convert a bunch of constant strings in C to unicode. 2007-08-23 21:42:55 +00:00
_cursesmodule.c Remove curses temp file consistently. 2007-08-30 23:34:01 +00:00
_elementtree.c SF patch # 1769767, get test_xml_etree_c working. More conversions are probably needed. 2007-08-08 06:56:02 +00:00
_fileio.c Remove a bogus comment based on the code above. 2007-08-16 05:18:31 +00:00
_functoolsmodule.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
_hashopenssl.c Refuse to compute digests from PyUnicode (str) instances. 2007-08-29 14:21:45 +00:00
_heapqmodule.c Use UTF-8 for a docstring that contains non-ASCII chars. 2007-08-23 23:58:43 +00:00
_hotshot.c Merged revisions 56492-56752 via svnmerge from 2007-08-05 15:29:28 +00:00
_localemodule.c Use unicode 2007-08-26 07:21:45 +00:00
_lsprof.c Merged revisions 57778-58052 via svnmerge from 2007-09-08 17:39:28 +00:00
_randommodule.c Remove checking redundantly for checks of PyInt and PyLong. 2007-08-31 04:32:55 +00:00
_sre.c Remove checking redundantly for checks of PyInt and PyLong. 2007-08-31 04:32:55 +00:00
_ssl.c Merged revisions 57778-58052 via svnmerge from 2007-09-08 17:39:28 +00:00
_struct.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
_testcapimodule.c Three patches from issue #1047, by Amaury Forgeot d'Arc: 2007-08-29 18:38:11 +00:00
_tkinter.c Tkinter binding involving Control-spacebar raises unicode error 2007-08-27 01:55:21 +00:00
_typesmodule.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
_weakref.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
addrinfo.h Cruft removal: 2006-12-28 04:47:50 +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 Remove the simple slicing API. All slicing is now done with slice objects. 2007-08-30 22:57:53 +00:00
atexitmodule.c missing docstrings 2007-08-06 20:59:28 +00:00
audioop.c Make audioop and its tests use bytes throughout. 2007-07-20 07:36:26 +00:00
binascii.c Remove unused variable. 2007-08-23 18:31:24 +00:00
bz2module.c Convert a bunch of constant strings in C to unicode. 2007-08-23 21:42:55 +00:00
cStringIO.c Merged revisions 56782-56847 via svnmerge from 2007-08-09 14:26:58 +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 Somehow this contained a bogus reference to "exceptions" which caused 2007-04-07 03:14:46 +00:00
cryptmodule.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
datetimemodule.c Remove checking redundantly for checks of PyInt and PyLong. 2007-08-31 04:32:55 +00:00
dbmmodule.c The dbm module should use bytes for keys. This makes test_shelve pass. 2007-08-14 15:42:45 +00:00
dlmodule.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
errnomodule.c Use unicode for the errno.errorcode names 2007-08-24 00:10:00 +00:00
fcntlmodule.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
fpectlmodule.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +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 Convert a bunch of constant strings in C to unicode. 2007-08-23 21:42:55 +00:00
gdbmmodule.c Change module to produce and consume bytes. 2007-08-11 19:28:53 +00:00
getaddrinfo.c SF patch #1670209, Remove Py_PROTO from socket by Pete Shinners. 2007-02-27 19:06:23 +00:00
getbuildinfo.c Merged revisions 55817-55961 via svnmerge from 2007-06-13 18:07:49 +00:00
getnameinfo.c SF patch #1670209, Remove Py_PROTO from socket by Pete Shinners. 2007-02-27 19:06:23 +00:00
getpath.c Merged revisions 53952-54987 via svnmerge from 2007-04-27 19:54:29 +00:00
grpmodule.c Use unicode 2007-08-26 02:54:31 +00:00
itertoolsmodule.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +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
main.c Revert 57722. Move error dialog APIs to msvcrt instead, 2007-08-31 07:58:36 +00:00
makesetup Merged revisions 57778-58052 via svnmerge from 2007-09-08 17:39:28 +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 Fix math.ceil() and math.floor() to fall back to __ceil__ and __floor__ 2007-08-23 22:56:55 +00:00
md5module.c Adds stand alone _md5 and _sha1 modules for use by hashlib on systems 2007-09-09 06:44:34 +00:00
mmapmodule.c Remove the simple slicing API. All slicing is now done with slice objects. 2007-08-30 22:57:53 +00:00
nismodule.c Use s# instead of t# for nis_match. 2007-08-30 10:21:51 +00:00
operator.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
ossaudiodev.c Use unicode 2007-08-26 04:57:08 +00:00
parsermodule.c Use unicode and remove support for some uses of str8. 2007-08-26 04:51:28 +00:00
posixmodule.c Merged revisions 57778-58052 via svnmerge from 2007-09-08 17:39:28 +00:00
pwdmodule.c Use unicode for password modules 2007-08-24 23:26:23 +00:00
pyexpat.c Use unicode 2007-08-25 17:20:32 +00:00
python.c Apparently FreeBSD enables some HW floating-point exceptions by default. 2002-12-28 21:56:08 +00:00
readline.c Merged revisions 57778-58052 via svnmerge from 2007-09-08 17:39:28 +00:00
resource.c Four months of trunk changes (including a few releases...) 2006-12-13 04:49:30 +00:00
rotatingtree.c randombits(): Stop compiler warning about mixing 2006-02-15 03:01:30 +00:00
rotatingtree.h Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk. 2006-05-27 19:21:47 +00:00
selectmodule.c Remove support for BeOS 2007-08-17 12:57:41 +00:00
sha1module.c Adds stand alone _md5 and _sha1 modules for use by hashlib on systems 2007-09-09 06:44:34 +00:00
sha256module.c Adds stand alone _md5 and _sha1 modules for use by hashlib on systems 2007-09-09 06:44:34 +00:00
sha512module.c Adds stand alone _md5 and _sha1 modules for use by hashlib on systems 2007-09-09 06:44:34 +00:00
signalmodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
socketmodule.c merge this from trunk: 2007-09-09 23:55:55 +00:00
socketmodule.h Remove support for BeOS 2007-08-17 12:57:41 +00:00
spwdmodule.c Use unicode for password modules 2007-08-24 23:26:23 +00:00
sre.h Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
sre_constants.h Implemented non-recursive SRE matching. 2003-10-17 22:13:16 +00:00
symtablemodule.c Hide list comp variables and support set comprehensions 2007-04-15 12:05:43 +00:00
syslogmodule.c Whoops, not sure how I screwed up the name. Now builds and passes the test. 2007-08-25 00:29:58 +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 Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
timemodule.c Move definition of TZNAME_ENCODING further up. 2007-08-30 15:40:24 +00:00
tkappinit.c Remove warning about implicit declaration of strcmp() 2004-06-13 20:29:55 +00:00
unicodedata.c Merged revisions 56753-56781 via svnmerge from 2007-08-06 23:33:07 +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 Use unicode for reference (is there any way to build this module) 2007-08-24 22:49:25 +00:00
xxsubtype.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +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 Use unicode (and bytes as appropriate) 2007-08-26 05:08:21 +00:00
zlibmodule.c Convert a bunch of constant strings in C to unicode. 2007-08-23 21:42:55 +00:00