Commit Graph

38588 Commits

Author SHA1 Message Date
Georg Brandl 0267781742 Fix lots of broken links in the docs, found by Sphinx' external link checker. 2008-03-15 00:20:19 +00:00
Georg Brandl bd77681f36 Remove obsolete paragraph. #2288. 2008-03-14 23:10:34 +00:00
Martin v. Löwis f2b333a0c9 Run debug version, cd to PCbuild. 2008-03-14 21:19:28 +00:00
Thomas Heller 41e22ff5cc Remove unneeded initializer. 2008-03-14 21:06:21 +00:00
Mark Dickinson c23b8a7af9 Issue 705836: Fix struct.pack(">f", 1e40) to behave consistently
across platforms:  it should now raise OverflowError on all
platforms.  (Previously it raised OverflowError only on
non IEEE 754 platforms.)

Also fix the (already existing) test for this behaviour
so that it actually raises TestFailed instead of just
referencing it.
2008-03-14 14:23:37 +00:00
Brett Cannon 6119540d70 Remove a bad test. 2008-03-14 14:03:10 +00:00
Martin v. Löwis 7bae4432a3 Use -x64 flag. 2008-03-14 13:57:59 +00:00
Martin v. Löwis bf7b0b7b81 Patch #2284: add -x64 option to rt.bat. 2008-03-14 13:56:09 +00:00
Raymond Hettinger 10d7603825 Leave heapreplace() unchanged. 2008-03-14 05:03:44 +00:00
Brett Cannon 1f5182b572 Convert test_fcntl to unittest.
Closes issue #2055. Thanks Giampaolo Rodola.
2008-03-13 21:09:28 +00:00
Brett Cannon 4a6e8d669a Move test_gdbm to use unittest.
Closes issue #1960. Thanks Giampaolo Rodola.
2008-03-13 21:02:16 +00:00
Brett Cannon 2e0f9f3dd9 Convert test_contains, test_crypt, and test_select to unittest.
Patch from GHOP 294 by David Marek.
2008-03-13 20:47:41 +00:00
Brett Cannon b8d37359cd Move test_tokenize to doctest.
Done as GHOP 238 by Josip Dzolonga.
2008-03-13 20:33:10 +00:00
Brett Cannon 66865d2ebd Move test_thread over to unittest. Commits GHOP 237.
Thanks Benjamin Peterson for the patch.
2008-03-13 20:27:00 +00:00
Raymond Hettinger 83aa6a3b1a Simplify the nlargest() code using heappushpop(). 2008-03-13 19:33:34 +00:00
Raymond Hettinger 53bdf09343 Issue 2274: Add heapq.heappushpop(). 2008-03-13 19:03:51 +00:00
Raymond Hettinger 431f029486 Consistent tense. 2008-03-13 16:43:59 +00:00
Raymond Hettinger 10f40a6b5a Add 2-to-3 support for the itertools moved to builtins or renamed. 2008-03-13 16:43:17 +00:00
Andrew M. Kuchling d51e842a3f Add class decorators 2008-03-13 11:07:35 +00:00
Georg Brandl 2e25551ef8 #1720705: add docs about import/threading interaction, wording by Nick. 2008-03-13 07:21:41 +00:00
Georg Brandl 4bb40b9428 #2270: fix typo. 2008-03-13 07:17:14 +00:00
Georg Brandl d85a13a954 #2265: fix example. 2008-03-13 07:15:56 +00:00
Raymond Hettinger 513460f80d Improve docs for itemgetter(). Show that it works with slices. 2008-03-11 21:37:46 +00:00
Guido van Rossum 5bdff60617 Fix the overflows in expandtabs(). "This time for sure!"
(Exploit at request.)
2008-03-11 21:18:06 +00:00
Raymond Hettinger e8b4b60555 Add recipe to docs. 2008-03-11 00:19:07 +00:00
Neal Norwitz 0098c9d609 Introduce a lock to fix a race condition which caused an exception in the test.
Some buildbots were consistently failing (e.g., amd64).
Also remove a couple of semi-colons.
2008-03-09 19:03:42 +00:00
Georg Brandl 5bb647dfa8 Update for newest Sphinx. 2008-03-09 18:18:30 +00:00
Georg Brandl c557db5268 #2249: document assertTrue and assertFalse. 2008-03-09 15:11:39 +00:00
Jeffrey Yasskin 3accbb0729 Well that was dumb. platform.python_implementation returns a function, not a
string.
2008-03-08 21:35:15 +00:00
Jeffrey Yasskin 019e9d730a Fix pybench for pythons < 2.6, tested back to 2.3. 2008-03-08 20:08:21 +00:00
Jeffrey Yasskin 0df0f6d1b2 Add tests for with and finally performance to pybench. 2008-03-08 18:26:54 +00:00
Facundo Batista c54aec1fda Issue 1106316. post_mortem()'s parameter, traceback, is now
optional: it defaults to the traceback of the exception that is currently
being handled.
2008-03-08 16:50:27 +00:00
Georg Brandl 372d55e3e6 #1533486: fix types in refcount intro. 2008-03-08 10:05:24 +00:00
Marc-André Lemburg 50967bdec2 Add new name for Mandrake: Mandriva. 2008-03-08 10:01:43 +00:00
Georg Brandl 47a5aec836 #2253: fix continue vs. finally docs. 2008-03-08 09:54:06 +00:00
Andrew M. Kuchling 31c6de4f79 Grammar fix 2008-03-07 21:09:23 +00:00
Nick Coghlan 7af53be66f Speed up with statements by storing the __exit__ method on the stack instead of in a temp variable (bumps the magic number for pyc files) 2008-03-07 14:13:28 +00:00
Jeffrey Yasskin e75f59a578 Progress on issue #1193577 by adding a polling .shutdown() method to
SocketServers. The core of the patch was written by Pedro Werneck, but any bugs
are mine. I've also rearranged the code for timeouts in order to avoid
interfering with the shutdown poll.
2008-03-07 06:22:15 +00:00
Raymond Hettinger 38fb9bee6c Tweak recipes and tests 2008-03-07 01:33:20 +00:00
Raymond Hettinger a1ca94a102 Issue 2246: itertools grouper object did not participate in GC (should be backported). 2008-03-06 22:51:36 +00:00
Raymond Hettinger ad47fa141c More tests. 2008-03-06 20:52:01 +00:00
Martin v. Löwis db311ba588 Update db-4.4.20 build procedure. 2008-03-06 13:50:28 +00:00
Martin v. Löwis 8c4e799ad0 Rely on x64 platform configuration when building _bsddb on AMD64. 2008-03-06 13:49:47 +00:00
Georg Brandl 98aa805b10 Bug #2220: handle rlcompleter attribute match failure more gracefully. 2008-03-06 07:45:52 +00:00
Georg Brandl 4286138e7b #2220: handle matching failure more gracefully. 2008-03-06 07:43:02 +00:00
Georg Brandl a7bd27f0a8 #2225: return nonzero status code from py_compile if not all files could be compiled. 2008-03-06 07:41:16 +00:00
Georg Brandl 810ea29b0e Add missing NEWS entry for r61263. 2008-03-06 07:34:52 +00:00
Georg Brandl 6c45dc12b3 Add isinstance/issubclass to tutorial. 2008-03-06 07:31:34 +00:00
Georg Brandl 26bab5f92a Little clarification of assignments. 2008-03-06 07:22:09 +00:00
Georg Brandl 70992c3c83 Expand on re.split behavior with captured expressions. 2008-03-06 07:19:15 +00:00