Commit Graph

990 Commits

Author SHA1 Message Date
Georg Brandl 0eca77c40c #6174: fix indentation in code example. 2009-06-03 21:21:09 +00:00
Antoine Pitrou 4698d9928e Issue #6152: New option '-j'/'--multiprocess' for regrtest allows running
regression tests in parallel, shortening the total runtime.
2009-05-31 14:20:14 +00:00
Michael Foord 07ef487a96 2009-05-02 22:43:34 +00:00
Michael Foord e2fb98f467 Add addCleanup and doCleanups to unittest.TestCase.
Closes issue 5679.

Michael Foord
2009-05-02 20:15:05 +00:00
Andrew M. Kuchling 92b970037b Add items 2009-05-02 17:12:15 +00:00
Michael Foord 829f6b8052 Adds an exit parameter to unittest.main(). If False main no longer
calls sys.exit.

Closes issue 3379.

Michael Foord
2009-05-02 11:43:06 +00:00
Georg Brandl f6dab9542c Make the doctests in the docs pass, except for those in the turtle module. 2009-04-28 21:48:35 +00:00
Eric Smith 507690c6e5 Take credit for my patch for issue 5237. 2009-04-12 02:57:29 +00:00
Benjamin Peterson aa0a0b9007 fix markup 2009-04-11 20:27:15 +00:00
Georg Brandl 64e1c75455 Take credit for a patch of mine. 2009-04-11 18:19:27 +00:00
Andrew M. Kuchling 2c130b6be7 Add various items 2009-04-11 16:12:23 +00:00
Andrew M. Kuchling 24520b4365 Add items 2009-04-09 11:22:47 +00:00
Andrew M. Kuchling a178a69819 Fix 'the the' duplication 2009-04-03 21:45:29 +00:00
Andrew M. Kuchling 9a4b94ca0c Add some items 2009-04-03 21:43:00 +00:00
Andrew M. Kuchling 7706957f59 Add various items 2009-03-31 01:21:01 +00:00
Andrew M. Kuchling 6c2633e919 Add more items 2009-03-30 23:09:46 +00:00
Andrew M. Kuchling 71d5c28d97 Add several items and placeholders 2009-03-30 22:30:20 +00:00
Andrew M. Kuchling b585255f02 Remove comment 2009-03-30 22:29:53 +00:00
Antoine Pitrou b22b94886d Fix a typo and be more specific 2009-03-28 19:17:54 +00:00
Antoine Pitrou c18f6b023d Publicize the GC untracking optimization 2009-03-28 19:10:13 +00:00
Mark Dickinson efc82f7e8e Issue #4258: Use 30-bit digits for Python longs, on 64-bit platforms.
Backport of r70459.
2009-03-20 15:51:55 +00:00
Georg Brandl fbb995f6c2 #5344: fix punctuation. 2009-02-27 16:52:55 +00:00
Georg Brandl 4a698721e6 #5327: fix a broken link by joining it. 2009-02-20 07:48:21 +00:00
Benjamin Peterson a7b55a33f8 revert r69777 since all the experts agree that extra import lines distract from the code 2009-02-20 03:31:23 +00:00
Jeroen Ruigrok van der Werven 5149742e8b Since we recommend one module per import line, reflect this also in the
documentation.
2009-02-19 18:52:21 +00:00
Tarek Ziadé f1c95fe004 note about #2279 2009-02-16 22:38:43 +00:00
Andrew M. Kuchling a17cd4a574 Add a section 2009-01-31 02:50:09 +00:00
Andrew M. Kuchling 466bd9d3af Add various items 2009-01-24 03:28:18 +00:00
Andrew M. Kuchling 9cb4277c60 Add some items 2009-01-21 02:15:43 +00:00
Benjamin Peterson 590c66810f fix encoding 2009-01-10 19:08:49 +00:00
Kristján Valur Jónsson 0e2d8c36e3 Issue 4293: Make Py_AddPendingCall() thread safe
Add test cases and documentation
2009-01-09 21:35:16 +00:00
Benjamin Peterson cebb25d1f4 fix markup 2009-01-09 02:56:32 +00:00
Tarek Ziadé 1a240fb9f0 fixed #4394 make the storage of the password optional in .pypirc 2009-01-08 23:56:31 +00:00
Benjamin Peterson 35b345484d string exceptions are gone 2009-01-08 03:39:46 +00:00
Georg Brandl 7044b11818 Remove tabs from the documentation. 2009-01-03 21:04:55 +00:00
Georg Brandl c62ef8b4d9 Remove trailing whitespace. 2009-01-03 20:55:06 +00:00
Andrew M. Kuchling 10b1ec98df Add various items 2009-01-02 21:00:35 +00:00
Georg Brandl fc29f27c16 #4811: fix markup glitches (mostly remains of the conversion),
found by Gabriel Genellina.
2009-01-02 20:25:14 +00:00
Mark Dickinson 1a707981c8 Issue #3439: add bit_length method to int and long.
Thanks Fredrik Johansson and Victor Stinner for code,
Raymond Hettinger for review.
2008-12-17 16:14:37 +00:00
Benjamin Peterson 9f35070a6b fix incorrect example 2008-12-13 04:02:20 +00:00
Georg Brandl eaede315d1 Add more TOC to the whatsnew index page. 2008-10-16 20:20:56 +00:00
Andrew M. Kuchling e529165ee3 Fix wording (2.6.1 backport candidate) 2008-10-16 20:15:47 +00:00
Benjamin Peterson fc72de7bca quiet sphinx warnings 2008-10-08 21:11:33 +00:00
Georg Brandl 151f42fe12 Make all whatsnew docs accessible. 2008-10-08 18:57:13 +00:00
Georg Brandl 06a1386902 #4058: fix some whatsnew markup. 2008-10-08 17:30:55 +00:00
Andrew M. Kuchling 0e21a797c6 Note how bytes alias is expected to be used 2008-10-08 13:21:27 +00:00
Andrew M. Kuchling ce1882bd79 Add What's New for 2.7 2008-10-04 16:52:31 +00:00
Andrew M. Kuchling baa7fb5877 Set svn:keywords 2008-10-04 16:52:01 +00:00
Andrew M. Kuchling 462f96a802 two corrections 2008-10-04 03:08:56 +00:00
Andrew M. Kuchling 081bb457ab Typo fix 2008-10-03 16:42:52 +00:00
Barry Warsaw 5927786e61 Today is the release date 2008-10-01 22:05:43 +00:00
Andrew M. Kuchling f609cf229f Add a last bunch of items 2008-09-27 14:12:33 +00:00
Lars Gustäbel 5576091fc7 Correct information about the tarfile module. 2008-09-19 12:39:23 +00:00
Andrew M. Kuchling b34c3f4024 Note sqlite3 version; move item 2008-09-17 13:04:53 +00:00
Andrew M. Kuchling 24c9021ebf Remove comment about improvement: pystone is about the same, and
the improvements seem to be difficult to quantify
2008-09-17 12:58:22 +00:00
Andrew M. Kuchling 026bcced2d Markup fixes 2008-09-17 12:57:04 +00:00
Georg Brandl 4da1da094c #3888: add some deprecated modules in whatsnew. 2008-09-17 08:45:54 +00:00
Andrew M. Kuchling 687dfd20d6 Rewrite item a bit 2008-09-15 13:08:32 +00:00
Benjamin Peterson c272362747 mention that object.__init__ no longer takes arbitrary args and kwargs 2008-09-15 02:53:23 +00:00
Benjamin Peterson 5f671dfa69 fix a name issue; note all doc files should be encoded in utf8 2008-09-13 22:54:43 +00:00
Georg Brandl 9af9498c6e Remove things specific to the old Macintosh, and spell "Mac OS X" consistently. 2008-09-13 17:41:16 +00:00
Andrew M. Kuchling 48a937ab41 Various corrections 2008-09-06 12:50:05 +00:00
Andrew M. Kuchling 6024834ed9 #3671: Typo fix 2008-09-05 15:15:56 +00:00
Andrew M. Kuchling 3ff2275628 #3671: various corrections and markup fixes noted by Kent Johnson 2008-09-04 13:26:24 +00:00
Benjamin Peterson cde6dc9a86 3.0 still has the old threading names 2008-09-03 21:48:20 +00:00
Andrew M. Kuchling 3e75d2336d Add e-mail address 2008-09-02 13:08:11 +00:00
Andrew M. Kuchling 8315da4c17 Clarify example; add imports 2008-09-02 13:06:00 +00:00
Mark Summerfield 0792cbf5e1 a typo 2008-09-02 07:23:16 +00:00
Andrew M. Kuchling 86533776c2 Describe the __hash__ changes 2008-09-02 01:13:42 +00:00
Andrew M. Kuchling 51eb7a9daa Update patch/bug count 2008-08-31 15:48:44 +00:00
Andrew M. Kuchling ba40fb467d Last batch of edits; remove the 'other changes' section 2008-08-31 15:41:48 +00:00
Andrew M. Kuchling fa881f2bd4 Edit the library section, rearranging items to flow better and making lots of edits 2008-08-31 14:29:31 +00:00
Andrew M. Kuchling 4d028570c7 More edits 2008-08-31 02:24:08 +00:00
Andrew M. Kuchling eaa29bb238 More edits; markup fixes 2008-08-30 22:56:54 +00:00
Andrew M. Kuchling 5f2dc0bf7b Edit four more sections 2008-08-30 16:44:54 +00:00
Andrew M. Kuchling 3ffe56398a Correction from Antoine Pitrou: BufferedWriter and Reader support seek() 2008-08-30 15:25:47 +00:00
Andrew M. Kuchling e496493dd8 Partial edits from revision and tidying pass 2008-08-30 15:19:57 +00:00
Andrew M. Kuchling 488a4f0118 Add various items 2008-08-27 02:12:18 +00:00
Andrew M. Kuchling c9b41106e8 Add an item and a note 2008-08-27 00:45:02 +00:00
Andrew M. Kuchling d207e230e1 Trim whitespace; add a few updates 2008-08-27 00:27:18 +00:00
Martin v. Löwis f91d46a17d Issue #3139: Make buffer-interface thread-safe wrt. PyArg_ParseTuple,
by denying s# to parse objects that have a releasebuffer procedure,
and introducing s*.

More module might need to get converted to use s*.
2008-08-12 14:49:50 +00:00
Andrew M. Kuchling b2793a4766 Add some items 2008-08-07 01:47:34 +00:00
Mark Dickinson fef6b13c32 Rename math.sum to math.fsum 2008-07-30 16:20:10 +00:00
Benjamin Peterson 8e234c6e30 fix markup 2008-07-24 02:31:28 +00:00
Raymond Hettinger d8dd86cc26 One more attribution. 2008-07-22 19:18:50 +00:00
Raymond Hettinger 5d4d16e44d Fix credits for math.sum() 2008-07-22 19:03:05 +00:00
Raymond Hettinger 340383ce70 Tuples now have both count() and index(). 2008-07-22 19:00:47 +00:00
Raymond Hettinger 9973ee86ed Remove out-of-date section on Exact/Inexact. 2008-07-22 18:54:02 +00:00
Mark Dickinson 7103aa42c0 Issue #3008: add instance method float.hex and class method float.fromhex
to convert floats to and from hexadecimal strings respectively.
2008-07-15 19:08:33 +00:00
Andrew M. Kuchling 4ec0c27eea Expand the multiprocessing section 2008-07-14 01:18:31 +00:00
Andrew M. Kuchling b93dc5f0ce Add various items; move ctypes items into a subsection of their own 2008-07-13 21:43:52 +00:00
Benjamin Peterson 90f36730e2 fix various doc typos #3320 2008-07-12 20:16:19 +00:00
Andrew M. Kuchling 10cf7d947d Fix example to match text 2008-07-07 16:51:09 +00:00
Andrew M. Kuchling aaca978103 Add two items; rewrap paragraph 2008-07-06 17:44:17 +00:00
Benjamin Peterson a6a72923c7 write a short little section for multiprocessing; it still needs help 2008-07-01 19:51:54 +00:00
Benjamin Peterson 77cec6ea23 fix typo 2008-06-28 13:18:14 +00:00
Mark Dickinson c72b787992 Change description of float('nan') feature; NaNs don't care much about
signs, and float('nan'), float('+nan') and float('-nan') actually all
generate the exact same NaN value.
2008-06-24 11:08:58 +00:00
Benjamin Peterson 2b917c93bc minor fix 2008-06-24 02:41:08 +00:00
Andrew M. Kuchling 6ba873c134 Various items 2008-06-20 23:43:12 +00:00
Georg Brandl f91c70a7bd Change references to the new math functions to generate proper x-refs. 2008-06-20 19:28:18 +00:00
Mark Dickinson d303578a66 Fix outdated count of the number of new math module functions. 2008-06-20 15:17:41 +00:00
Andrew M. Kuchling 7b2e2df740 Various items 2008-06-20 11:39:54 +00:00
Andrew M. Kuchling d6b1eaf428 Various items 2008-06-20 02:05:57 +00:00
Andrew M. Kuchling a809c98ca5 Note PEP 371 section 2008-06-11 12:53:14 +00:00
Thomas Heller fb0117e9d5 Add a reminder for the maintainer of whatsnew. 2008-06-06 18:42:11 +00:00
Andrew M. Kuchling 5e3e6ba81d Grammar fix 2008-06-05 23:35:48 +00:00
Andrew M. Kuchling b5a40dd224 Add various items 2008-06-05 23:35:31 +00:00
Benjamin Peterson c3cb683d63 some updates to string formatting section in whatsnew 2008-05-26 12:29:46 +00:00
Georg Brandl a6168f9e0a Queue renaming reversal part 3: move module into place and
change imports and other references. Closes #2925.
2008-05-25 07:20:14 +00:00
Georg Brandl e152a77d96 socketserver renaming reversal part 3: move the module into the right
place and fix all references to it.  Closes #2926.
2008-05-24 18:31:28 +00:00
Benjamin Peterson 36d879b07c just MacOS (instead of MacOS 9) 2008-05-19 11:55:54 +00:00
Andrew M. Kuchling 09ed01f4cc Re-organize the increasingly long list of deprecated modules 2008-05-19 03:03:46 +00:00
Alexandre Vassalotti ea0b22a167 Patch by Quentin Gallet-Gilles: Renaming leftovers for 2.6.
This fixes the omissions of configparser, copyreg, queue and
socketserver renaming.
2008-05-16 18:03:52 +00:00
Benjamin Peterson 7b5151c1f6 fix typos in whatsnew 2008-05-15 22:41:16 +00:00
Benjamin Peterson a19f9f96c6 add Mac modules to the list of deprecated ones 2008-05-15 22:34:33 +00:00
Andrew M. Kuchling 3a1693a989 Note some removals and a rename 2008-05-15 01:10:24 +00:00
Andrew M. Kuchling c72df3305f List all the removes and renamed modules 2008-05-14 00:46:41 +00:00
Georg Brandl e321c2f37d #2836: backport new string formatting docs. 2008-05-12 16:45:43 +00:00
Eric Smith 103f19d286 Added 'n' presentation type for integers. 2008-05-12 14:00:01 +00:00
Andrew M. Kuchling ba290db601 Update planned release date.
Uncomment PEP 370 section.
Add some module items
2008-05-09 11:46:05 +00:00
Georg Brandl cb63565eb5 #2769: markup glitch. 2008-05-05 20:59:05 +00:00
Brett Cannon 4b964f9c90 Add the 'json' package. Code taken from simplejson 1.9 and contributed by Bob
Ippolito.

Closes issue #2750.
2008-05-05 20:21:38 +00:00
Christian Heimes 7e3ab45512 Added note that Python requires at least Win2k SP4 2008-05-04 11:50:53 +00:00
Benjamin Peterson 8334330951 Fix typo in whatsnew 2008-05-04 03:05:49 +00:00
Benjamin Peterson 56fcb0bc29 capitalization nit for reStructuredText 2008-05-02 22:12:58 +00:00
Benjamin Peterson 80ef62e37d Fix typo in whatsnew 2008-04-30 22:03:36 +00:00
Andrew M. Kuchling 805cdd894f Strip down SSL docs; I'm not managing to get test programs working, so I'll just give a minimal description 2008-04-29 02:03:54 +00:00
Benjamin Peterson 60ffcbe88b Fix Sphinx warnings 2008-04-21 22:57:00 +00:00
David Goodger 09f57b7947 corrections ("reStructuredText" is one word) 2008-04-21 14:40:22 +00:00
Andrew M. Kuchling 57ce054c87 Add various items 2008-04-21 02:14:24 +00:00
Andrew M. Kuchling 2cede399ec Move description of math module changes; various edits to description of cmath changes 2008-04-20 16:54:02 +00:00
Mark Dickinson 53bd2e1a03 Document updates to math and cmath modules. 2008-04-19 20:31:16 +00:00
Andrew M. Kuchling 04f58760d7 Various items; begin writing the SSL section 2008-04-15 02:24:15 +00:00
Andrew M. Kuchling da950eb01c Add example 2008-04-13 22:39:12 +00:00
Benjamin Peterson 037d829319 Give the "Interactive Interpreter Changes" section in 2.6 whatsnew a unique link name 2008-04-13 02:20:05 +00:00
Andrew M. Kuchling c161df6abd Mention -J, -X 2008-04-13 01:05:59 +00:00
Andrew M. Kuchling 17f8429bd2 Use issue directive 2008-04-10 21:29:01 +00:00
Andrew M. Kuchling c157c9c277 Try out the new issue role. Thanks, Georg! 2008-04-09 22:28:43 +00:00
Andrew M. Kuchling f68b55327c Add items 2008-04-09 01:08:32 +00:00
Andrew M. Kuchling abf8e015c2 Add items 2008-04-08 21:22:53 +00:00
Andrew M. Kuchling 34be7cec31 Write PEP 3127 section; add items 2008-04-07 23:57:07 +00:00
Andrew M. Kuchling 2185241a63 Write PEP 3119 section 2008-04-05 18:15:30 +00:00
Andrew M. Kuchling 217057f098 Markup fixes; write PEP 3118 section 2008-04-05 15:57:46 +00:00
Andrew M. Kuchling b2ff8a7b0d Various edits 2008-04-05 03:38:39 +00:00
Andrew M. Kuchling 7c29aaee88 Add various items 2008-03-26 00:30:02 +00:00
Georg Brandl d5b635f196 Make Py3k warnings consistent w.r.t. punctuation; also respect the
EOL 80 limit and supply more alternatives in warning messages.
2008-03-25 08:29:14 +00:00
Georg Brandl 859043c053 Fix markup. 2008-03-21 17:19:29 +00:00
Eric Smith 33dd094fd0 Fixed PEP name. 2008-03-20 23:04:04 +00:00
Andrew M. Kuchling 9cf2f5de68 Add lots of items 2008-03-20 22:49:26 +00:00
Andrew M. Kuchling 1d136bb91e Add two items 2008-03-06 01:36:27 +00:00
Georg Brandl 225163d6a6 Fix some rst. 2008-03-05 07:10:35 +00:00
Andrew M. Kuchling 3710a13506 Add more items; add fragmentary notes 2008-03-05 00:44:41 +00:00
Georg Brandl 27504dae1b Fix some patch attributions. 2008-03-04 07:25:54 +00:00
Andrew M. Kuchling 378586a844 Thesis night results: add various items 2008-03-04 01:50:32 +00:00
Andrew M. Kuchling 085f75a851 #1330538: Improve comparison of xmlrpclib.DateTime and datetime instances.
Remove automatic handling of datetime.date and datetime.time.
This breaks backward compatibility, but python-dev discussion was strongly
against this automatic conversion; see the bug for a link.
2008-02-23 16:23:05 +00:00
Georg Brandl 907a720f89 A lot more typo fixes by Ori Avtalion. 2008-02-22 12:31:45 +00:00
Georg Brandl e1b8e9c666 Fixes contributed by Ori Avtalion. 2008-02-20 19:12:36 +00:00
Raymond Hettinger e9b9b35931 Update example to match the current syntax. 2008-02-15 21:21:25 +00:00
Mark Dickinson cd873fc142 Put an extra space into the repr of a Fraction:
Fraction(1, 2) instead of Fraction(1,2).
2008-02-11 03:11:55 +00:00
Mark Dickinson d058cd2cc8 Rename rational.Rational to fractions.Fraction, to avoid name clash
with numbers.Rational.  See issue #1682 for related discussion.
2008-02-10 21:29:51 +00:00
Andrew M. Kuchling 0c3f1680b3 Add some items 2008-01-26 13:50:51 +00:00
Andrew M. Kuchling 4a2762d146 Patch #1048820 from Stefan Wehr: add insert-mode editing to Textbox.
Fix an off-by-one error I noticed.
2008-01-20 00:00:38 +00:00
Andrew M. Kuchling 2686f4d9d1 Add item 2008-01-19 19:14:05 +00:00
Andrew M. Kuchling f60b6415e6 Add item 2008-01-19 16:34:09 +00:00
Christian Heimes ff6cc6b8ef Updated new property syntax. An elaborate example for subclassing and the getter was missing.
Added comment about VS 2008 and PGO builds.
2008-01-17 23:01:44 +00:00
Andrew M. Kuchling d221956f0e Revise 3141 section a bit; add some Windows items 2008-01-17 12:00:15 +00:00
Gregory P. Smith 63bfc1d19f Comply with RFC 3207.
Fixes issue 829951 - http://bugs.python.org/issue829951
2008-01-17 07:43:20 +00:00
Andrew M. Kuchling aa355542af Add PEP 3141 section 2008-01-16 03:17:25 +00:00
Andrew M. Kuchling 7b1e917e41 Restore description of sys.dont_write_bytecode.
The duplication is intentional -- this paragraph is in a section
describing additions to the sys module, and there's a later section
that mentions the switch.  I think most people scan the what's-new and
don't read it in detail, so a bit of duplication is OK.
2008-01-15 14:38:05 +00:00
Georg Brandl ca9c6e433c Remove duplicate entry. 2008-01-15 06:58:15 +00:00
Georg Brandl af30b2846e Typo. 2008-01-15 06:55:56 +00:00
Andrew M. Kuchling a01ed03058 Repair unfinished sentence 2008-01-15 01:55:32 +00:00
Andrew M. Kuchling 2e46355280 Add many items 2008-01-15 01:47:32 +00:00
Andrew M. Kuchling 5d8b379abc Update description of float_info 2008-01-14 14:48:43 +00:00
Andrew M. Kuchling e0a49b6e05 Patch 1137: allow assigning to .buffer_size attribute of PyExpat.parser objects 2008-01-08 14:30:55 +00:00
Andrew M. Kuchling 73835bd5e9 Fix markup 2008-01-04 18:24:41 +00:00
Andrew M. Kuchling 3b5547021b Add math items; other edits 2008-01-04 02:31:40 +00:00
Christian Heimes d0d7d87869 Filled in some XXX comments 2008-01-04 02:03:25 +00:00
Andrew M. Kuchling 654ede7ef4 Add items 2008-01-04 01:16:12 +00:00
Georg Brandl b19be571e0 Some cleanup in the docs. 2007-12-29 10:57:00 +00:00
Andrew M. Kuchling 2d60cf7135 Add item 2007-12-22 17:27:02 +00:00
Andrew M. Kuchling d586559c31 Add a bunch of items 2007-12-19 02:02:04 +00:00
Georg Brandl d41b8dc58c Don't use quotes for non-string code. 2007-12-16 23:15:07 +00:00
Georg Brandl 9f72d237f8 Use PEP 8. 2007-12-16 23:13:29 +00:00
Raymond Hettinger 366523c667 Update method names for named tuples. 2007-12-14 18:12:21 +00:00
Georg Brandl e7d118a5a1 Fix markup in whatsnew, use new directive in ACKS. 2007-12-08 11:05:05 +00:00
Andrew M. Kuchling 6e751f4ffa Grammar fix 2007-12-03 21:28:41 +00:00
Facundo Batista bd5b623257 Two small fixes. Issue 1547. 2007-12-03 19:49:54 +00:00
Andrew M. Kuchling f7b462f696 Add item 2007-11-23 13:37:39 +00:00
Andrew M. Kuchling 6d57c827a7 Update name 2007-10-23 20:55:47 +00:00
Andrew M. Kuchling 27a4498fca Use correct header line 2007-10-20 19:39:35 +00:00
Andrew M. Kuchling e34d2895f2 Various items 2007-10-20 19:35:18 +00:00
Andrew M. Kuchling 6edff59e3b Add items 2007-10-16 22:58:03 +00:00
Andrew M. Kuchling 4b3074c795 Eliminate camelcase function name 2007-10-08 23:23:03 +00:00
Andrew M. Kuchling 99479ebf9e Add various items 2007-09-25 00:09:42 +00:00
Andrew M. Kuchling de37a8cec7 Add item; sort properly 2007-09-18 01:36:16 +00:00
Andrew M. Kuchling 1338fbfe59 Make target unique 2007-09-13 22:50:10 +00:00
Andrew M. Kuchling f10878b74c Add various items 2007-09-13 22:49:34 +00:00
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