Commit Graph

947 Commits

Author SHA1 Message Date
Andrew M. Kuchling 915b1206f2 Note side benefit of socket.create_connection() 2009-10-05 21:25:35 +00:00
Michael Foord 5a9719d627 unittest.TestLoader.loadTestsFromName honors the loader suiteClass attribute. Issue 6866. 2009-09-13 17:28:35 +00:00
Michael Foord c3f79373e8 Objects that compare equal automatically pass or fail assertAlmostEqual and assertNotAlmostEqual tests on unittest.TestCase. Issue 6567. 2009-09-13 16:40:02 +00:00
Georg Brandl d7d4fd7336 builtin -> built-in. 2009-07-26 14:37:28 +00:00
Amaury Forgeot d'Arc d81333c540 Fix a typo spotted by Nick Coghlan. 2009-06-10 20:30:19 +00:00
Amaury Forgeot d'Arc d708c8703e Both kind of types are concerned. 2009-06-09 23:18:50 +00:00
Amaury Forgeot d'Arc 901f200c81 #6201: Fix test_winreg on Windows:
since the introduction of the SETUP_WITH opcode,
__enter__ and __exit__ methods must belong to the type,
and are not retrieved at the instance level (__dict__ or __getattr__).

Add a note in whatsnew about this incompatibility;
old style classes are not affected.
2009-06-09 23:08:13 +00:00
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