R. David Murray
4653b8c2de
Remove 'g' from regrtest getopt argument string, since there's no
...
handler for it.
2009-11-15 00:07:00 +00:00
R. David Murray
da82689daa
Issue 7324: add a sanity check to regrtest argument parsing to
...
catch the case of an option with no handler.
2009-11-15 00:04:32 +00:00
R. David Murray
ca020bb7a7
Turn the bsddb replication startup timeout test into a
...
warning, to improve buildbot stability.
2009-11-14 17:43:16 +00:00
R. David Murray
7f7eea651f
Issue #7312 (new feature): Add a -F flag to run the selected tests in
...
a loop until a test fails. Can be combined with -j. Patch by Antoine
Pitrou.
2009-11-14 15:18:22 +00:00
Georg Brandl
b6fb8dcbce
Fix terminology.
2009-11-14 11:50:51 +00:00
Benjamin Peterson
cde5115f26
use Sphinx 0.6.3
2009-11-13 23:11:54 +00:00
Benjamin Peterson
2fb77bd6f5
revert r76243; I was right, actually :)
2009-11-13 22:56:00 +00:00
Antoine Pitrou
c562ca4625
Issue #7318 : multiprocessing now uses a timeout when it fails to establish
...
a connection with another process, rather than looping endlessly. The
default timeout is 20 seconds, which should be amply sufficient for
local connections.
2009-11-13 22:31:18 +00:00
Benjamin Peterson
c4a346cc55
never mind about eval mode in this case
2009-11-13 22:17:17 +00:00
Benjamin Peterson
ccd640525b
this main is much more useful
2009-11-12 23:42:23 +00:00
Benjamin Peterson
e36199b49d
fix several compile() issues by translating newlines in the tokenizer
2009-11-12 23:39:44 +00:00
Ezio Melotti
c4cd6d3765
fix highlight in the datetime example
2009-11-12 09:10:02 +00:00
Georg Brandl
7232d41569
Give the profile module a module directive.
2009-11-12 08:29:46 +00:00
Antoine Pitrou
310c9fec1a
Issue #7295 : Do not use a hardcoded file name in test_tarfile.
2009-11-11 20:55:07 +00:00
R. David Murray
fdd53545a1
I got the relative magnitudes of the timeout increases reversed, so
...
I'm bumping up the longer test to the 60 seconds I intended to make it.
If this doesn't cure the intermittent buildbot timeouts, I'm going to
turn that test into a warning rather than a failure.
2009-11-11 18:07:27 +00:00
Senthil Kumaran
5dff3544f3
Fixing the NameError on Windows - issue1235
2009-11-11 17:22:35 +00:00
Senthil Kumaran
3a145a18c8
CGIHTTPRequestHandler.run_cgi() to use subprocess for Non Unix platforms. Fix
...
based on Issue1235.
2009-11-11 01:34:44 +00:00
Antoine Pitrou
47dded644f
Backport micro-fix from the py3k svnmerge
2009-11-10 21:39:25 +00:00
Antoine Pitrou
0734c632d5
Issue #7197 : Allow unittest.TextTestRunner objects to be pickled and
...
unpickled. This fixes crashes under Windows when trying to run
test_multiprocessing in verbose mode.
Additionally, Test_TextTestRunner hadn't been enabled in test_unittest.
2009-11-10 20:49:30 +00:00
Raymond Hettinger
610326d48a
Show example of how to make a sorted dictionary
2009-11-10 19:35:55 +00:00
R. David Murray
890643843d
Update the FAQ entry that explains that assignments in the local scope
...
shadow variables in the outer scope (issue 7290).
2009-11-10 18:58:02 +00:00
Mark Dickinson
c579b35740
Add extra information to a test_signal failure message to aid diagnosis of buildbot failure.
2009-11-09 19:54:51 +00:00
Mark Dickinson
a8fd66d6aa
Issue #7251 : Break out round tests for large values into a separate
...
test function, and skip that test on Linux/alpha systems with a broken
system round function.
This should turn the Debian/alpha buildbot green.
2009-11-09 17:03:34 +00:00
Antoine Pitrou
d7158d4c62
Issue #7282 : Fix a memory leak when an RLock was used in a thread other
...
than those started through `threading.Thread` (for example, using
`thread.start_new_thread()`.
2009-11-09 16:00:11 +00:00
Eric Smith
d19915ed76
Issue 7294: Fixed URL in a comment.
2009-11-09 15:16:23 +00:00
R. David Murray
a5dcf2125f
Remove redundant sentence.
2009-11-09 14:18:14 +00:00
Benjamin Peterson
0ac6942a76
discuss how to use -p
2009-11-09 04:10:53 +00:00
Brett Cannon
813c43ab25
Properly detect whether a C file is using tabs or spaces for Vim.
...
Closes issue #5611 . Thanks Kirk McDonald and Johannes Hoff.
2009-11-08 21:35:28 +00:00
Antoine Pitrou
002533013f
Kill a small potential leak in test_threading.
...
The leak may not manifest itself if the OS re-uses the same thread ids
(I suppose Neal's machine doesn't :-))
2009-11-08 00:24:12 +00:00
Georg Brandl
1a22e87a30
#7271 : fix typo.
2009-11-07 08:26:07 +00:00
Nick Coghlan
e471b9b400
Some minor cleanups to private runpy code and docstrings
2009-11-07 08:15:01 +00:00
Nick Coghlan
2733d88dc2
Add test for runpy.run_module package execution and use something other than logging as the example of a non-executable package
2009-11-07 08:13:55 +00:00
Benjamin Peterson
e3383b8e8f
spelling
2009-11-07 01:04:38 +00:00
Antoine Pitrou
c98efe0500
Issue #7270 : Add some dedicated unit tests for multi-thread synchronization
...
primitives such as Lock, RLock, Condition, Event and Semaphore.
2009-11-06 22:34:35 +00:00
Benjamin Peterson
17f0f692ee
Merged revisions 76131 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r76131 | benjamin.peterson | 2009-11-05 17:53:21 -0600 (Thu, 05 Nov 2009) | 1 line
import sys
........
2009-11-05 23:54:42 +00:00
Benjamin Peterson
3e376e5fd7
Merged revisions 76127-76128 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r76127 | benjamin.peterson | 2009-11-05 17:04:58 -0600 (Thu, 05 Nov 2009) | 1 line
set svn:eol-style
........
r76128 | benjamin.peterson | 2009-11-05 17:07:46 -0600 (Thu, 05 Nov 2009) | 1 line
skip this test on windows to avoid newline horrors
........
2009-11-05 23:20:06 +00:00
Benjamin Peterson
9a570341ce
Merged revisions 76125 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r76125 | benjamin.peterson | 2009-11-05 15:26:55 -0600 (Thu, 05 Nov 2009) | 1 line
handle newline issues better for comparing files
........
2009-11-05 21:29:56 +00:00
Antoine Pitrou
99c160b559
Issue #7264 : Fix a possible deadlock when deallocating thread-local objects
...
which are part of a reference cycle.
2009-11-05 13:42:29 +00:00
R. David Murray
2537e7a443
Increase the timeout in the bsddb3 replication test to allow
...
the test time to complete on slow buildbots. See issue 6462.
2009-11-05 01:50:56 +00:00
Antoine Pitrou
323b9da16d
Issue #7211 : Allow 64-bit values for the `ident` and `data` fields of kevent
...
objects on 64-bit systems. Patch by Michael Broghton.
I will revert this checkin if it causes problems on our BSD buildbots.
2009-11-04 19:25:14 +00:00
Georg Brandl
efc285880c
#7259 : show correct equivalent for operator.i* operations in docstring; fix minor issues in operator docs.
2009-11-04 07:38:12 +00:00
Antoine Pitrou
4ac6b93c00
Make test_shutil clean up after itself
2009-11-04 00:50:26 +00:00
Georg Brandl
a6714b2887
#7256 : add versionadded tags for functions copied from cgi.
2009-11-03 18:34:27 +00:00
Antoine Pitrou
b3c169b08f
Try to make test_wsgiref less fragile against environment changes by other tests
2009-11-03 16:41:20 +00:00
Mark Dickinson
5b54432b1d
Fix doc typo reported by Arfrever.
2009-11-03 16:26:14 +00:00
Skip Montanaro
6418577bb5
typo (space-o?)
2009-11-03 02:43:59 +00:00
Antoine Pitrou
c6714bd1df
Add acceptance of long ints to test_memoryio.py
...
(in preparation for fix of #7249 in 2.6)
2009-11-02 20:47:33 +00:00
Benjamin Peterson
28e463d131
enable test_parser in lib2to3
2009-11-02 18:24:57 +00:00
Benjamin Peterson
d3200c7686
Merged revisions 76065 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r76065 | benjamin.peterson | 2009-11-02 12:21:25 -0600 (Mon, 02 Nov 2009) | 1 line
don't print stuff in tests
........
2009-11-02 18:22:53 +00:00
Benjamin Peterson
aed6c4556c
add space
2009-11-02 18:16:36 +00:00