Commit Graph

742 Commits

Author SHA1 Message Date
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
Andrew M. Kuchling b4c629566c Add more items 2007-09-01 21:18:31 +00:00
Andrew M. Kuchling 6c066dd3ad Add various items 2007-09-01 20:43:36 +00:00
Georg Brandl 8ec7f65613 Move the 2.6 reST doc tree in place. 2007-08-15 14:28:01 +00:00
Georg Brandl f56181ff53 Delete the LaTeX doc tree. 2007-08-15 14:26:55 +00:00
Georg Brandl 304f9ff770 Clarify PEP 343 description. 2007-07-29 08:26:10 +00:00
Neal Norwitz a38c7c282e Update expected birthday of 2.6 2007-06-02 18:33:53 +00:00
Andrew M. Kuchling 0f852e2740 Note removed modules 2007-05-21 00:03:15 +00:00
Andrew M. Kuchling 400a49ba79 Add window.chgat() method, submitted via e-mail by Fabian Kreutz 2007-04-11 13:39:00 +00:00
Georg Brandl 43445315ae Typo fix. 2007-03-31 11:59:54 +00:00
Georg Brandl dc580bd821 Duplicate label fix. 2007-03-31 11:58:36 +00:00
Andrew M. Kuchling 588a95d594 Add item. (Oops, accidentally checked this in on my branch) 2007-03-30 18:00:15 +00:00
Andrew M. Kuchling 8aa30927ab Add comments on maintenance of this file 2007-03-21 14:32:43 +00:00
Neal Norwitz 216f9b0709 Add a comment about 3k migration 2007-03-20 05:08:23 +00:00
Georg Brandl 1d4b834574 Patch #1682878: the new socket methods are recv_into and recvfrom_into, not *_buf. 2007-03-18 08:25:00 +00:00
Andrew M. Kuchling 7659a87e49 Add NamedTuple 2007-03-01 14:36:12 +00:00
Andrew M. Kuchling c6a1ef3fe1 Add some items 2007-02-26 23:54:17 +00:00
Andrew M. Kuchling 27b4c8b23c Add item 2007-01-25 20:02:13 +00:00
Andrew M. Kuchling 9059843a60 Describe new methods in Queue module 2006-12-18 17:38:14 +00:00
Andrew M. Kuchling 0693ae147c [Bug #1616726] Fix description of generator.close(); if you raise some random exception, the exception is raised and doesn't trigger a RuntimeError 2006-12-18 17:22:07 +00:00
Andrew M. Kuchling ff5c229ef2 Bump version 2006-12-18 17:16:05 +00:00
Andrew M. Kuchling e452f51bc4 Add missing word 2006-11-07 20:39:16 +00:00
Andrew M. Kuchling 2c184e6703 Add item 2006-10-27 11:36:41 +00:00
Andrew M. Kuchling b501a7e67b Set svn:keywords property 2006-10-27 11:33:29 +00:00
Neal Norwitz 9356e11223 SF Bug #1563963, add missing word and cleanup first sentance 2006-09-23 18:11:58 +00:00
Fred Drake 62e955ad13 add boilerplate "What's New" document so the docs will build 2006-09-23 00:26:31 +00:00
Andrew M. Kuchling 3d1839f541 Use native SQLite types 2006-09-08 14:02:45 +00:00
Andrew M. Kuchling 7f295de9a3 Explain SQLite a bit more clearly 2006-09-08 13:35:49 +00:00
Andrew M. Kuchling 0449c516d4 Add missing word 2006-09-08 13:25:23 +00:00
Andrew M. Kuchling a60b60e72e Rearrange example a bit, and show rpartition() when separator is not found 2006-09-05 13:02:40 +00:00
Nick Coghlan f1f42d850f Fix final documentation nits before backporting decimal module fixes to 2.5 2006-09-03 01:02:00 +00:00
Raymond Hettinger 68b6d3b85a Fix documentation nits for decimal context managers. 2006-09-02 17:07:23 +00:00
Andrew M. Kuchling 213e764d38 Update bug/patch counts 2006-08-16 14:18:23 +00:00
Andrew M. Kuchling ddf37888b8 Link to docs; remove an XXX comment 2006-08-16 13:51:32 +00:00
Andrew M. Kuchling 115ea43bff Bump document version to 1.0; remove pystone paragraph 2006-08-16 13:41:52 +00:00
Andrew M. Kuchling efd68c789e Add UnicodeWarning 2006-08-16 13:22:20 +00:00
Andrew M. Kuchling 13300f2bfa [Patch #1534027] Add notes on locale module changes 2006-08-09 13:57:05 +00:00
Andrew M. Kuchling b71366081f [Bug #1536021] Mention __hash__ change 2006-08-09 13:03:41 +00:00
Andrew M. Kuchling 4f71b55040 Bump version number 2006-08-08 19:00:34 +00:00
Andrew M. Kuchling a9771307b5 'Other changes' section now has only one item; move the item elsewhere and remove the section 2006-08-08 19:00:14 +00:00
Andrew M. Kuchling 88eb45fa1e Move obmalloc item into C API section 2006-08-08 18:56:08 +00:00
Andrew M. Kuchling 04c897a2a9 Mention csv newline changes 2006-07-31 13:18:27 +00:00
Andrew M. Kuchling 4bcfe53e29 Add PyErr_WarnEx() 2006-07-31 12:52:26 +00:00
George Yoshida c7605270b4 Rename struct.pack_to to struct.pack_into as changed in revision 46642. 2006-07-30 16:37:37 +00:00
Fred Drake e0d4aecfc2 lots of markup nits, most commonly Unix/unix --> \UNIX 2006-07-30 03:03:43 +00:00
Fred Drake fbdeaad069 expunge the xmlcore changes:
41667, 41668 - initial switch to xmlcore
  47044        - mention of xmlcore in What's New
  50687        - mention of xmlcore in the library reference

re-apply xmlcore changes to xml:
  41674        - line ending changes (re-applied manually), directory props
  41677        - add cElementTree wrapper
  41678        - PSF licensing for etree
  41812        - whitespace normalization
  42724        - fix svn:eol-style settings
  43681, 43682 - remove Python version-compatibility cruft from minidom
  46773        - fix encoding of \r\n\t in attr values in saxutils
  47269        - added XMLParser alias for cElementTree compatibility

additional tests were added in Lib/test/test_sax.py that failed with
the xmlcore changes; these relate to SF bugs #1511497, #1513611
2006-07-29 16:56:15 +00:00
Andrew M. Kuchling c032ee939b Set bug/patch count. Take a bow, everyone! 2006-07-29 16:08:40 +00:00
Andrew M. Kuchling 2d20a5fe99 Typo fix 2006-07-29 15:42:46 +00:00
Andrew M. Kuchling 9d93341489 [Patch #1529811] Correction to description of r|* mode 2006-07-28 12:07:12 +00:00
Andrew M. Kuchling 9ad7a60f62 Repair typos 2006-07-27 18:44:10 +00:00
Andrew M. Kuchling 7a752e7ad4 Attribute more features 2006-07-17 16:47:54 +00:00
Andrew M. Kuchling 8c051da2cf Mention new options 2006-07-14 13:32:38 +00:00
Andrew M. Kuchling b0aa54ece8 Bump version number; add sys._current_frames 2006-07-11 17:20:16 +00:00
Andrew M. Kuchling beb572b50a ImportWarning is now silent by default 2006-07-06 13:57:28 +00:00
Andrew M. Kuchling cd77e1cb2d Describe workaround for PyRange_New()'s removal 2006-06-26 12:43:43 +00:00
Andrew M. Kuchling 1a0e129864 [Bug #1511998] Various comments from Nick Coghlan; thanks! 2006-06-26 12:40:02 +00:00
Georg Brandl b2c9ba8c9d Fix my name ;) 2006-06-22 19:02:18 +00:00
Fred Drake 56b76c8a65 fix markup nit 2006-06-22 15:50:08 +00:00
Andrew M. Kuchling f6a84f5615 Mention how to suppress warnings 2006-06-22 13:10:23 +00:00
Andrew M. Kuchling 10340608f0 Bump version 2006-06-21 17:17:28 +00:00
Andrew M. Kuchling 643b041105 Note some of Barry's work 2006-06-21 17:17:10 +00:00
Andrew M. Kuchling b492244e35 Link to LibRef module documentation 2006-06-21 17:10:18 +00:00
Andrew M. Kuchling 1fb8d83a54 [Bug #1504456] Mention xml -> xmlcore change 2006-06-20 13:20:30 +00:00
Andrew M. Kuchling 7c4e79c9eb Minor edits and rearrangements; markup fix 2006-06-20 13:11:29 +00:00
Andrew M. Kuchling b1992d0ec6 Add introductory paragraphs summarizing the release; minor edits 2006-06-20 13:05:12 +00:00
Andrew M. Kuchling 5ab504ef2f Terminology and typography fixes 2006-06-20 12:19:54 +00:00
Andrew M. Kuchling 2c4e462e96 Add four library items 2006-06-20 12:15:09 +00:00
Andrew M. Kuchling f6856cef8e Uncomment wsgiref section 2006-06-20 11:52:16 +00:00
Andrew M. Kuchling 7259d7bfd6 Add item 2006-06-14 13:59:15 +00:00
Andrew M. Kuchling 317af10569 Add ability to set stack size 2006-06-13 16:41:41 +00:00
Andrew M. Kuchling aabc5f6f2f Mention uuid module 2006-06-13 11:57:04 +00:00
Andrew M. Kuchling b3f2985c8d Add some wsgiref text 2006-06-09 19:56:05 +00:00
Andrew M. Kuchling a04d118586 Describe startswith()/endswiith() change; add reminder about wsgiref 2006-06-09 19:03:16 +00:00
Andrew M. Kuchling 7dbb1ff77d Markup fix 2006-06-09 10:22:35 +00:00
Andrew M. Kuchling e878fe6a58 Update functools section 2006-06-09 01:10:17 +00:00
Andrew M. Kuchling 3b336c7ced Add an item; also, escape % 2006-06-07 17:03:46 +00:00
Andrew M. Kuchling 1271f003a6 Mention other placeholders 2006-06-07 17:02:52 +00:00
Andrew M. Kuchling 1985ff76ca Mention second encoding speedup 2006-06-05 00:08:09 +00:00
George Yoshida 660a4e9c6d Remove a redundant word 2006-06-04 17:04:12 +00:00
Andrew M. Kuchling 07cf0722b3 Mention SimpleXMLRPCServer change 2006-05-31 14:12:47 +00:00
Andrew M. Kuchling 0d272bbccf 'functional' module was renamed to 'functools' 2006-05-31 13:18:56 +00:00
George Yoshida a2d6c8a9d3 fix typo 2006-05-27 17:09:17 +00:00
Richard Jones 87f5471230 credit where credit is due 2006-05-27 13:50:42 +00:00
Andrew M. Kuchling dae266ec61 Mention new-style exceptions 2006-05-27 13:44:37 +00:00
Andrew M. Kuchling b98d65c0b7 Add Py_LOCAL macros 2006-05-27 11:26:33 +00:00
Andrew M. Kuchling afe6598732 Add rpartition() and path caching 2006-05-26 18:41:18 +00:00
Andrew M. Kuchling c6f5c871b9 Typo fix 2006-05-26 14:04:19 +00:00
Andrew M. Kuchling 230c3e1bc0 Add buffer support for struct, socket 2006-05-26 14:03:41 +00:00
Andrew M. Kuchling ad0cb65fca Add str.partition() 2006-05-26 12:39:48 +00:00
Andrew M. Kuchling 3cdf24bc99 Minor edits; add an item 2006-05-25 00:23:03 +00:00
Andrew M. Kuchling 70bd199fa4 Add item 2006-05-23 19:32:35 +00:00
Andrew M. Kuchling 150faff195 Add two items 2006-05-23 19:29:38 +00:00
Andrew M. Kuchling 3e134a5960 Use 'speed' instead of 'performance', because I agree with the argument
at http://zestyping.livejournal.com/193260.html that 'erformance' really means
something more general.
2006-05-23 12:49:35 +00:00
Andrew M. Kuchling 1cdace4294 Mention string improvements 2006-05-23 12:47:01 +00:00
Andrew M. Kuchling c602723e45 Add some items; mention the sprint 2006-05-23 12:44:36 +00:00
Andrew M. Kuchling 1e9f574a18 Minor edits 2006-05-20 19:25:16 +00:00
Andrew M. Kuchling e04fe8c62e Typo fix; add clarifying word 2006-05-19 00:03:55 +00:00
Andrew M. Kuchling c0a0decd54 PEP 243 has been withdrawn, so don't refer to it any more.
The PyPI upload material has been moved into the section on PEP314.
2006-05-16 16:27:31 +00:00
Andrew M. Kuchling d779b353fa Add item 2006-05-16 16:11:54 +00:00
Andrew M. Kuchling 356af466c8 Clarify description of exception handling 2006-05-10 17:19:04 +00:00
Fred Drake f25fa6ddb9 avoid ugly markup based on the unfortunate conversions of ">>" and "<<" to
guillemets; no need for magic here
2006-05-03 02:04:40 +00:00
Andrew M. Kuchling f322d68327 Update context manager section for removal of __context__ 2006-05-02 22:47:49 +00:00
Andrew M. Kuchling a883701dff Provide encoding as keyword argument; soften warning paragraph about encodings 2006-05-02 11:30:03 +00:00
Andrew M. Kuchling 6849488914 Add item 2006-05-01 16:32:49 +00:00
Andrew M. Kuchling e3c958c33b Some ElementTree fixes: import from xml, not xmlcore; fix case of module name; mention list() instead of getchildren() 2006-05-01 12:45:02 +00:00
Andrew M. Kuchling 09612281ef Add item 2006-04-30 21:19:49 +00:00
Andrew M. Kuchling c9236111ed Add two items 2006-04-30 01:07:09 +00:00
Andrew M. Kuchling aa013da0b3 Add item 2006-04-29 12:10:43 +00:00
Andrew M. Kuchling 18db487692 Make case of 'ZIP' consistent 2006-04-29 12:10:28 +00:00
Andrew M. Kuchling b37bcb59bc Add item 2006-04-29 11:53:15 +00:00
Andrew M. Kuchling 99714cf9d0 Bump document version 2006-04-27 12:23:07 +00:00
Andrew M. Kuchling 98189244a2 Add labels to all sections 2006-04-26 12:23:39 +00:00
Andrew M. Kuchling 7e5abb9d1f [Bug #1475080] Fix example 2006-04-26 12:21:06 +00:00
George Yoshida 3bbbc49060 minor tweak 2006-04-25 14:09:58 +00:00
Andrew M. Kuchling d798a181ab Rework context terminology 2006-04-25 12:47:25 +00:00
Andrew M. Kuchling b33842ac51 Add two items; easy_install is now off the table, though pkgutil still is 2006-04-25 12:31:38 +00:00
Andrew M. Kuchling 0a7ed8c2d3 Edits, using the new term
'context specifier' in a few places
2006-04-24 14:30:47 +00:00
Andrew M. Kuchling d4c2177b78 Add two items 2006-04-23 21:51:10 +00:00
Andrew M. Kuchling edb575e758 Edits to the PEP 343 section 2006-04-23 21:01:04 +00:00
Phillip J. Eby a93ee47422 Guido wrote contextlib, not me, but thanks anyway. ;) 2006-04-21 21:53:37 +00:00
Andrew M. Kuchling e78eeb1544 Add item 2006-04-21 13:26:42 +00:00
Andrew M. Kuchling fb08e73714 Add \label to make better HTML filenames 2006-04-21 13:08:02 +00:00
Andrew M. Kuchling 42c6e2f6b2 Add two items; typographical improvement for the 'with' statement; minor edits 2006-04-21 13:01:45 +00:00
Andrew M. Kuchling 3b675d299c Change a footnote to a parenthetical (in two senses) paragraph 2006-04-20 13:43:21 +00:00
Andrew M. Kuchling af015cfcbf Argh, make another markup fix 2006-04-20 13:39:40 +00:00
Andrew M. Kuchling 33432183d8 Markup fix 2006-04-20 13:38:36 +00:00
Andrew M. Kuchling 63fe9b5ae2 Add some items; add "New module" consistently; make contextlib.closing example more interesting and more correct (thanks Gustavo!); add a name 2006-04-20 13:36:06 +00:00
Andrew M. Kuchling 6719131129 Write datetime.strptime() item; show use of @contextmanager in defining __context__ methods; minor edits; add two names 2006-04-19 12:55:39 +00:00
Andrew M. Kuchling 952f196ae7 Add item 2006-04-18 12:38:19 +00:00
George Yoshida 297bf82920 fix long option markup 2006-04-17 15:44:59 +00:00
Andrew M. Kuchling 0d660c0236 Update status of document 2006-04-17 14:01:36 +00:00
Andrew M. Kuchling f7823a341c Remove translated code hidden inside a comment environment; latex2html gets confused and includes half of it anyway 2006-04-17 14:00:31 +00:00
Andrew M. Kuchling 45bb98e8b9 Add item 2006-04-16 19:53:27 +00:00
Andrew M. Kuchling de0a23f74c Describe contextlib module. (Done for today...) 2006-04-16 18:45:11 +00:00
Andrew M. Kuchling d058d0036a Write most of the 'writing context managers' section. I'd like comments on it,
but wait for a few hours before you read it; I'm still revising it
    and will be tackling contextlib next.
Untabify
2006-04-16 18:20:05 +00:00
Andrew M. Kuchling 29b3d08604 Add an item; better crediting; fix error in SQL example; minor edits 2006-04-14 20:35:17 +00:00
Andrew M. Kuchling c7095843ae Add more items 2006-04-14 12:41:19 +00:00
Andrew M. Kuchling 75ba244c7b Add an item and a reminder 2006-04-14 10:29:55 +00:00
Andrew M. Kuchling 5d4cf5ecc1 Typo fix 2006-04-13 13:02:42 +00:00
Andrew M. Kuchling 3b4fb041df [Bug #1464571] Mention that generator's .gi_frame can now be None 2006-04-13 12:49:39 +00:00
Andrew M. Kuchling 6fc6976507 Add some items 2006-04-13 12:37:21 +00:00
Andrew M. Kuchling 0f1955daee Include more detail on Coverity results and add a link; minor edits 2006-04-13 12:09:08 +00:00
Andrew M. Kuchling 61434b6d51 Describe sys.subversion, Py_GetBuildInfo()
Add metadata example
2006-04-13 11:51:07 +00:00
Neal Norwitz 5f5a69ba9d Fix {} mismatch spotted by George Yoshida. 2006-04-13 03:41:04 +00:00
Andrew M. Kuchling b66871f1c0 Fix typography of Martin's name 2006-04-13 02:10:16 +00:00
Andrew M. Kuchling 28c5f1fa16 Write some ctypes examples 2006-04-13 02:04:42 +00:00
Andrew M. Kuchling 5f445bf3df Mention ASCII as default encoding; update TODO list; use PyCF_ONLY_AST by MvL's suggestion; typographical tidying of MvL's name 2006-04-12 18:54:00 +00:00
Andrew M. Kuchling 8872dbff99 Bump version number; rearrange introduction a bit 2006-04-12 18:52:09 +00:00
Andrew M. Kuchling 6a67e4ead4 Add PEP 243 section 2006-04-12 13:03:35 +00:00
Andrew M. Kuchling f7c6290ca4 Note C API incompatibilities 2006-04-12 12:27:50 +00:00