0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 11:15:56 +01:00
cpython/Doc/whatsnew
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
..
2.0.rst Move the 3k reST doc tree in place. 2007-08-15 14:28:22 +00:00
2.1.rst Move the 3k reST doc tree in place. 2007-08-15 14:28:22 +00:00
2.2.rst Move the 3k reST doc tree in place. 2007-08-15 14:28:22 +00:00
2.3.rst Move the 3k reST doc tree in place. 2007-08-15 14:28:22 +00:00
2.4.rst Move the 3k reST doc tree in place. 2007-08-15 14:28:22 +00:00
2.5.rst Move the 3k reST doc tree in place. 2007-08-15 14:28:22 +00:00
2.6.rst merge this from trunk: 2007-09-09 23:55:55 +00:00
3.0.rst In response to issue 1101, place vastly more emphasis on the new print() 2007-09-06 14:46:41 +00:00