]>
granicus.if.org Git - python/log
Antoine Pitrou [Thu, 12 Nov 2009 22:56:02 +0000 (22:56 +0000)]
Try to strengthen condition-waiting under Windows.
If it doesn't work (doesn't solve erratic freezes) we'll have to resort
to tougher (Windows-only) measures.
Ezio Melotti [Thu, 12 Nov 2009 10:38:55 +0000 (10:38 +0000)]
fix highlight in the datetime example
Antoine Pitrou [Wed, 11 Nov 2009 22:03:32 +0000 (22:03 +0000)]
Add version tags to sys.{get,set}switchinterval
Antoine Pitrou [Wed, 11 Nov 2009 20:59:38 +0000 (20:59 +0000)]
Merged revisions 76217 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76217 | antoine.pitrou | 2009-11-11 21:55:07 +0100 (mer., 11 nov. 2009) | 3 lines
Issue #7295: Do not use a hardcoded file name in test_tarfile.
........
Antoine Pitrou [Wed, 11 Nov 2009 18:11:36 +0000 (18:11 +0000)]
Our condition variable emulation under Windows is imperfect, which
seems to be the cause of the buildbot hangs. Try to fix it, and add
some comments.
Senthil Kumaran [Wed, 11 Nov 2009 04:17:53 +0000 (04:17 +0000)]
Merged revisions 76208 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76208 | senthil.kumaran | 2009-11-11 07:04:44 +0530 (Wed, 11 Nov 2009) | 3 lines
CGIHTTPRequestHandler.run_cgi() to use subprocess for Non Unix platforms. Fix
based on Issue1235.
........
Antoine Pitrou [Tue, 10 Nov 2009 23:18:31 +0000 (23:18 +0000)]
Add a couple of words about the new GIL implementation
Antoine Pitrou [Tue, 10 Nov 2009 22:38:52 +0000 (22:38 +0000)]
Remove obsolete comment.
Antoine Pitrou [Tue, 10 Nov 2009 21:39:56 +0000 (21:39 +0000)]
Blocked revisions 76199 via svnmerge
........
r76199 | antoine.pitrou | 2009-11-10 22:39:25 +0100 (mar., 10 nov. 2009) | 3 lines
Backport micro-fix from the py3k svnmerge
........
Antoine Pitrou [Tue, 10 Nov 2009 21:34:48 +0000 (21:34 +0000)]
Merged revisions 76196 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76196 | antoine.pitrou | 2009-11-10 21:49:30 +0100 (mar., 10 nov. 2009) | 8 lines
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.
........
Benjamin Peterson [Tue, 10 Nov 2009 21:23:15 +0000 (21:23 +0000)]
death to compiler warning
Antoine Pitrou [Tue, 10 Nov 2009 19:50:40 +0000 (19:50 +0000)]
Merge in the new GIL.
Antoine Pitrou [Tue, 10 Nov 2009 18:46:01 +0000 (18:46 +0000)]
Issue #3001: Add a C implementation of recursive locks which is used by
default when instantiating a `Threading.RLock` object. This makes
recursive locks as fast as regular non-recursive locks (previously,
they were slower by 10x to 15x).
Raymond Hettinger [Tue, 10 Nov 2009 18:35:46 +0000 (18:35 +0000)]
Show example of how to make a sorted dictionary
Mark Dickinson [Mon, 9 Nov 2009 20:08:57 +0000 (20:08 +0000)]
Merged revisions 76182 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76182 | mark.dickinson | 2009-11-09 19:54:51 +0000 (Mon, 09 Nov 2009) | 1 line
Add extra information to a test_signal failure message to aid diagnosis of buildbot failure.
........
Mark Dickinson [Mon, 9 Nov 2009 17:12:30 +0000 (17:12 +0000)]
Merged revisions 76176 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76176 | mark.dickinson | 2009-11-09 17:03:34 +0000 (Mon, 09 Nov 2009) | 7 lines
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.
........
Antoine Pitrou [Mon, 9 Nov 2009 16:08:16 +0000 (16:08 +0000)]
Merged revisions 76172 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76172 | antoine.pitrou | 2009-11-09 17:00:11 +0100 (lun., 09 nov. 2009) | 5 lines
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()`.
........
Eric Smith [Mon, 9 Nov 2009 15:23:15 +0000 (15:23 +0000)]
Merged revisions 76168 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76168 | eric.smith | 2009-11-09 10:16:23 -0500 (Mon, 09 Nov 2009) | 1 line
Issue 7294: Fixed URL in a comment.
........
R. David Murray [Mon, 9 Nov 2009 14:21:38 +0000 (14:21 +0000)]
Merged revisions 76163 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76163 | r.david.murray | 2009-11-09 09:18:14 -0500 (Mon, 09 Nov 2009) | 2 lines
Remove redundant sentence.
........
Benjamin Peterson [Mon, 9 Nov 2009 00:49:19 +0000 (00:49 +0000)]
convert to use print() function
Benjamin Peterson [Mon, 9 Nov 2009 00:42:58 +0000 (00:42 +0000)]
fix some imports
Brett Cannon [Sun, 8 Nov 2009 21:41:27 +0000 (21:41 +0000)]
Blocked revisions 76154 via svnmerge
........
r76154 | brett.cannon | 2009-11-08 13:35:28 -0800 (Sun, 08 Nov 2009) | 4 lines
Properly detect whether a C file is using tabs or spaces for Vim.
Closes issue #5611. Thanks Kirk McDonald and Johannes Hoff.
........
Antoine Pitrou [Sun, 8 Nov 2009 00:30:04 +0000 (00:30 +0000)]
Merged revisions 76148 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76148 | antoine.pitrou | 2009-11-08 01:24:12 +0100 (dim., 08 nov. 2009) | 4 lines
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 :-))
........
Brett Cannon [Sat, 7 Nov 2009 23:55:05 +0000 (23:55 +0000)]
When trying to write new bytecode, importlib was not catching the IOError
thrown if the file happened to be read-only to keep the failure silent.
Fixes issue #7187. Thanks, Dave Malcolm for the report and analysis of the
problem.
Brett Cannon [Sat, 7 Nov 2009 08:22:58 +0000 (08:22 +0000)]
Pluralize a word.
Antoine Pitrou [Fri, 6 Nov 2009 22:41:14 +0000 (22:41 +0000)]
Merged revisions 76137 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76137 | antoine.pitrou | 2009-11-06 23:34:35 +0100 (ven., 06 nov. 2009) | 4 lines
Issue #7270: Add some dedicated unit tests for multi-thread synchronization
primitives such as Lock, RLock, Condition, Event and Semaphore.
........
Jack Diederich [Fri, 6 Nov 2009 17:20:42 +0000 (17:20 +0000)]
- issue #6748 intermittent test failures from sockets
- telnetlib tests now use mock sockets for most tests
R. David Murray [Thu, 5 Nov 2009 17:49:10 +0000 (17:49 +0000)]
Blocked revisions 76116 via svnmerge
........
r76116 | r.david.murray | 2009-11-04 20:50:56 -0500 (Wed, 04 Nov 2009) | 3 lines
Increase the timeout in the bsddb3 replication test to allow
the test time to complete on slow buildbots. See issue 6462.
........
Antoine Pitrou [Thu, 5 Nov 2009 13:49:14 +0000 (13:49 +0000)]
Merged revisions 76117 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76117 | antoine.pitrou | 2009-11-05 14:42:29 +0100 (jeu., 05 nov. 2009) | 5 lines
Issue #7264: Fix a possible deadlock when deallocating thread-local objects
which are part of a reference cycle.
........
Brett Cannon [Thu, 5 Nov 2009 01:26:57 +0000 (01:26 +0000)]
Use tempfile.mkdtemp() instead of tempfile.tempdir for where importlib places
source files for tests. Allows for concurrent execution of the tests by
preventing various executions from trampling each other.
Closes issue #7248.
Brett Cannon [Thu, 5 Nov 2009 01:17:22 +0000 (01:17 +0000)]
importlib.test.source.util referenced variables in the 'finally' part of a
try/finally which may not have been set.
Antoine Pitrou [Wed, 4 Nov 2009 21:10:38 +0000 (21:10 +0000)]
Merged revisions 76108 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76108 | antoine.pitrou | 2009-11-04 20:25:14 +0100 (mer., 04 nov. 2009) | 6 lines
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.
........
Antoine Pitrou [Wed, 4 Nov 2009 00:57:15 +0000 (00:57 +0000)]
Merged revisions 76101 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76101 | antoine.pitrou | 2009-11-04 01:50:26 +0100 (mer., 04 nov. 2009) | 3 lines
Make test_shutil clean up after itself
........
Georg Brandl [Tue, 3 Nov 2009 18:35:33 +0000 (18:35 +0000)]
Blocked revisions 76095 via svnmerge
........
r76095 | georg.brandl | 2009-11-03 18:34:27 +0000 (Di, 03 Nov 2009) | 1 line
#7256: add versionadded tags for functions copied from cgi.
........
Georg Brandl [Tue, 3 Nov 2009 18:24:38 +0000 (18:24 +0000)]
Recorded merge of revisions 76075 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76075 | skip.montanaro | 2009-11-03 02:43:59 +0000 (Di, 03 Nov 2009) | 1 line
typo (space-o?)
........
Antoine Pitrou [Tue, 3 Nov 2009 17:20:10 +0000 (17:20 +0000)]
Merged revisions 76086 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76086 | antoine.pitrou | 2009-11-03 17:41:20 +0100 (mar., 03 nov. 2009) | 3 lines
Try to make test_wsgiref less fragile against environment changes by other tests
........
Antoine Pitrou [Tue, 3 Nov 2009 17:13:59 +0000 (17:13 +0000)]
Since time.xmlrpc.com is unreliable, add another test to test_xmlrpc_net
Mark Dickinson [Tue, 3 Nov 2009 16:29:10 +0000 (16:29 +0000)]
Merged revisions 76082 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76082 | mark.dickinson | 2009-11-03 16:26:14 +0000 (Tue, 03 Nov 2009) | 1 line
Fix doc typo reported by Arfrever.
........
Skip Montanaro [Tue, 3 Nov 2009 02:44:04 +0000 (02:44 +0000)]
typo (space-o?)
Antoine Pitrou [Mon, 2 Nov 2009 20:57:43 +0000 (20:57 +0000)]
Blocked revisions 76071 via svnmerge
........
r76071 | antoine.pitrou | 2009-11-02 21:47:33 +0100 (lun., 02 nov. 2009) | 4 lines
Add acceptance of long ints to test_memoryio.py
(in preparation for fix of #7249 in 2.6)
........
Benjamin Peterson [Mon, 2 Nov 2009 18:30:48 +0000 (18:30 +0000)]
Merged revisions 76064,76066-76067 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
................
r76064 | benjamin.peterson | 2009-11-02 12:16:36 -0600 (Mon, 02 Nov 2009) | 1 line
add space
................
r76066 | benjamin.peterson | 2009-11-02 12:22:53 -0600 (Mon, 02 Nov 2009) | 9 lines
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
........
................
r76067 | benjamin.peterson | 2009-11-02 12:24:57 -0600 (Mon, 02 Nov 2009) | 1 line
enable test_parser in lib2to3
................
Benjamin Peterson [Mon, 2 Nov 2009 18:16:28 +0000 (18:16 +0000)]
Merged revisions 76062 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
................
r76062 | benjamin.peterson | 2009-11-02 12:12:12 -0600 (Mon, 02 Nov 2009) | 70 lines
Merged revisions 74359,75081,75088,75213,75278,75303,75427-75428,75734-75736,75865,76059-76061 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r74359 | benjamin.peterson | 2009-08-12 17:23:13 -0500 (Wed, 12 Aug 2009) | 1 line
don't pass the deprecated print_function option
........
r75081 | benjamin.peterson | 2009-09-26 22:02:57 -0500 (Sat, 26 Sep 2009) | 1 line
let 2to3 work with extended iterable unpacking
........
r75088 | benjamin.peterson | 2009-09-27 11:25:21 -0500 (Sun, 27 Sep 2009) | 1 line
look on the type only for __call__
........
r75213 | benjamin.peterson | 2009-10-03 10:09:46 -0500 (Sat, 03 Oct 2009) | 5 lines
revert 75212; it's not correct
People can use isinstance(x, collections.Callable) if they expect objects with
__call__ in their instance dictionaries.
........
r75278 | benjamin.peterson | 2009-10-07 16:25:56 -0500 (Wed, 07 Oct 2009) | 4 lines
fix whitespace problems with fix_idioms #3563
Patch by Joe Amenta.
........
r75303 | benjamin.peterson | 2009-10-09 16:59:11 -0500 (Fri, 09 Oct 2009) | 1 line
port latin-1 and utf-8 cookie improvements
........
r75427 | benjamin.peterson | 2009-10-14 20:35:57 -0500 (Wed, 14 Oct 2009) | 1 line
force floor division
........
r75428 | benjamin.peterson | 2009-10-14 20:39:21 -0500 (Wed, 14 Oct 2009) | 1 line
silence -3 warnings about __hash__
........
r75734 | benjamin.peterson | 2009-10-26 16:25:53 -0500 (Mon, 26 Oct 2009) | 2 lines
warn on map(None, ...) with more than 2 arguments #7203
........
r75735 | benjamin.peterson | 2009-10-26 16:28:25 -0500 (Mon, 26 Oct 2009) | 1 line
remove unused result
........
r75736 | benjamin.peterson | 2009-10-26 16:29:02 -0500 (Mon, 26 Oct 2009) | 1 line
using get() here is a bit pointless
........
r75865 | benjamin.peterson | 2009-10-27 15:49:00 -0500 (Tue, 27 Oct 2009) | 1 line
explain reason for warning
........
r76059 | benjamin.peterson | 2009-11-02 11:43:47 -0600 (Mon, 02 Nov 2009) | 1 line
tuples are no longer used for children
........
r76060 | benjamin.peterson | 2009-11-02 11:55:40 -0600 (Mon, 02 Nov 2009) | 1 line
revert r76059; apparently some fixers rely on Leaf no () for children
........
r76061 | benjamin.peterson | 2009-11-02 12:06:17 -0600 (Mon, 02 Nov 2009) | 1 line
make fix_tuple_params keep the tree valid #7253
........
................
Antoine Pitrou [Mon, 2 Nov 2009 11:36:51 +0000 (11:36 +0000)]
Merged revisions 76034,76054 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76034 | antoine.pitrou | 2009-11-01 22:29:33 +0100 (dim., 01 nov. 2009) | 3 lines
This should finally fix #6896. Let's watch the buildbots.
........
r76054 | antoine.pitrou | 2009-11-02 12:34:27 +0100 (lun., 02 nov. 2009) | 3 lines
Since r76034 was successful, add a NEWS entry for it.
........
Antoine Pitrou [Sun, 1 Nov 2009 23:55:40 +0000 (23:55 +0000)]
Merged revisions 76047 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76047 | antoine.pitrou | 2009-11-02 00:54:20 +0100 (lun., 02 nov. 2009) | 3 lines
Fix and improve some assertions in test_site
........
Tarek Ziadé [Sun, 1 Nov 2009 22:38:44 +0000 (22:38 +0000)]
Merged revisions 76042 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76042 | tarek.ziade | 2009-11-01 23:33:45 +0100 (Sun, 01 Nov 2009) | 1 line
fixed stdout alteration in test_distutils
........
Antoine Pitrou [Sun, 1 Nov 2009 22:13:48 +0000 (22:13 +0000)]
Merged revisions 76037 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76037 | antoine.pitrou | 2009-11-01 23:02:03 +0100 (dim., 01 nov. 2009) | 3 lines
Use a custom timeout in test_support.open_urlresource.
........
Antoine Pitrou [Sun, 1 Nov 2009 21:43:20 +0000 (21:43 +0000)]
Merged revisions 76033 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76033 | antoine.pitrou | 2009-11-01 22:26:14 +0100 (dim., 01 nov. 2009) | 3 lines
test_normalization should skip and not crash when the resource isn't available
........
Gregory P. Smith [Sun, 1 Nov 2009 21:11:36 +0000 (21:11 +0000)]
generated from r76030
Gregory P. Smith [Sun, 1 Nov 2009 21:10:57 +0000 (21:10 +0000)]
block r76029
Gregory P. Smith [Sun, 1 Nov 2009 21:09:10 +0000 (21:09 +0000)]
Merged revisions 76028 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76028 | gregory.p.smith | 2009-11-01 13:02:52 -0800 (Sun, 01 Nov 2009) | 2 lines
issue1115: convert some AC_TRY_RUNs into AC_TRY_COMPILEs.
........
Raymond Hettinger [Sun, 1 Nov 2009 20:55:33 +0000 (20:55 +0000)]
Fix exception handling in itertools.izip_longest().
Gregory P. Smith [Sun, 1 Nov 2009 19:24:18 +0000 (19:24 +0000)]
Merged revisions 75999 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75999 | gregory.p.smith | 2009-10-31 14:23:39 -0700 (Sat, 31 Oct 2009) | 2 lines
Define TCSASOFT if the flag exists.
........
Gregory P. Smith [Sun, 1 Nov 2009 18:42:17 +0000 (18:42 +0000)]
Merged revisions 76000,76016 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76000 | gregory.p.smith | 2009-10-31 14:26:08 -0700 (Sat, 31 Oct 2009) | 7 lines
Fixes issue7208 - getpass would still allow the password to be echoed on
Solaris due to not flushing the input buffer.
This change also incorporates some additional getpass implementation
suggestions for security based on an analysis of getpass.c linked to from the
issue.
........
r76016 | gregory.p.smith | 2009-11-01 10:33:55 -0800 (Sun, 01 Nov 2009) | 2 lines
news entry for r76000
........
Antoine Pitrou [Sun, 1 Nov 2009 16:13:08 +0000 (16:13 +0000)]
Blocked revisions 76012 via svnmerge
........
r76012 | antoine.pitrou | 2009-11-01 17:10:47 +0100 (dim., 01 nov. 2009) | 3 lines
Hum, test skipping when the URL isn't reachable hadn't been applied to trunk.
........
Antoine Pitrou [Sun, 1 Nov 2009 15:59:11 +0000 (15:59 +0000)]
Fix test skipping in multibyte codec tests
Antoine Pitrou [Sun, 1 Nov 2009 12:05:48 +0000 (12:05 +0000)]
Merged revisions 76007 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76007 | antoine.pitrou | 2009-11-01 12:58:22 +0100 (dim., 01 nov. 2009) | 3 lines
Buffered I/O: optimize lock taking in the common non-contended case.
........
Antoine Pitrou [Sat, 31 Oct 2009 23:26:47 +0000 (23:26 +0000)]
Blocked revisions 76001 via svnmerge
Apparently someone already did the job in py3k.
........
r76001 | antoine.pitrou | 2009-11-01 00:19:52 +0100 (dim., 01 nov. 2009) | 3 lines
Use richer assertions in test_mailbox (for better failure messages).
........
Eric Smith [Sat, 31 Oct 2009 17:08:48 +0000 (17:08 +0000)]
Merged revisions 75995 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75995 | eric.smith | 2009-10-31 13:07:17 -0400 (Sat, 31 Oct 2009) | 1 line
Improved test for a deprecation warning.
........
Mark Dickinson [Sat, 31 Oct 2009 12:48:28 +0000 (12:48 +0000)]
Blocked revisions 75991 via svnmerge
........
r75991 | mark.dickinson | 2009-10-31 12:47:47 +0000 (Sat, 31 Oct 2009) | 1 line
Set retval on PyOS_string_to_double failure.
........
Mark Dickinson [Sat, 31 Oct 2009 10:38:43 +0000 (10:38 +0000)]
Merged revisions 75986 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75986 | mark.dickinson | 2009-10-31 10:36:06 +0000 (Sat, 31 Oct 2009) | 2 lines
Issue #7042: Use a better mechanism for testing timers in test_signal.
........
Mark Dickinson [Sat, 31 Oct 2009 10:18:44 +0000 (10:18 +0000)]
Merged revisions 75982 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75982 | mark.dickinson | 2009-10-31 10:11:28 +0000 (Sat, 31 Oct 2009) | 5 lines
Issue #6603: Fix --with-tsc build failures on x86-64 that resulted
from a gcc inline assembler peculiarity. (gcc's "A" constraint
apparently means 'rax or rdx' in 64-bit mode, not edx:eax
or rdx:rax as one might expect.)
........
Mark Dickinson [Sat, 31 Oct 2009 09:43:46 +0000 (09:43 +0000)]
Blocked revisions 75979 via svnmerge
........
r75979 | mark.dickinson | 2009-10-31 09:42:39 +0000 (Sat, 31 Oct 2009) | 1 line
Deprecate PyOS_ascii_strtod and PyOS_ascii_atof, and document the replacement function PyOS_string_to_double.
........
Mark Dickinson [Sat, 31 Oct 2009 09:39:52 +0000 (09:39 +0000)]
Fix ReST markup.
Mark Dickinson [Sat, 31 Oct 2009 09:29:47 +0000 (09:29 +0000)]
Blocked revisions 75974 via svnmerge
........
r75974 | mark.dickinson | 2009-10-31 09:28:12 +0000 (Sat, 31 Oct 2009) | 1 line
Move a Misc/NEWS entry to right section.
........
Antoine Pitrou [Fri, 30 Oct 2009 22:23:02 +0000 (22:23 +0000)]
Merged revisions 75969 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75969 | antoine.pitrou | 2009-10-30 23:19:09 +0100 (ven., 30 oct. 2009) | 5 lines
Remove official documentation entry for thread._count() and make the
docstring more descriptive instead.
........
Antoine Pitrou [Fri, 30 Oct 2009 21:45:40 +0000 (21:45 +0000)]
Merged revisions 75967 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75967 | antoine.pitrou | 2009-10-30 22:41:22 +0100 (ven., 30 oct. 2009) | 3 lines
Try to fix transient refleaks in test_pydoc.
........
Antoine Pitrou [Fri, 30 Oct 2009 18:30:35 +0000 (18:30 +0000)]
Followup to r75965: replace the test_uuid-specific patch with a generic fix
(other tests may have the same problem).
Antoine Pitrou [Fri, 30 Oct 2009 18:15:02 +0000 (18:15 +0000)]
Fix a refleak in test_uuid when run with -j.
The "refleak" was simply the effect of internal buffering in block buffering mode
(rather than line buffering when sys.stdout is a terminal)
Antoine Pitrou [Fri, 30 Oct 2009 17:58:27 +0000 (17:58 +0000)]
Merged revisions 75962-75963 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75962 | antoine.pitrou | 2009-10-30 18:55:21 +0100 (ven., 30 oct. 2009) | 3 lines
Try to fix transient refleaks in test_asynchat.
........
r75963 | antoine.pitrou | 2009-10-30 18:56:00 +0100 (ven., 30 oct. 2009) | 3 lines
Try to fix transient refleaks in test_xmlrpc.
........
Antoine Pitrou [Fri, 30 Oct 2009 17:34:49 +0000 (17:34 +0000)]
Merged revisions 75960 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75960 | antoine.pitrou | 2009-10-30 18:33:28 +0100 (ven., 30 oct. 2009) | 3 lines
Fix transient refleaks in test_docxmlrpc.
........
Antoine Pitrou [Fri, 30 Oct 2009 17:25:12 +0000 (17:25 +0000)]
Merged revisions 75958 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75958 | antoine.pitrou | 2009-10-30 18:07:08 +0100 (ven., 30 oct. 2009) | 7 lines
Issue #7222: Make thread "reaping" more reliable so that reference
leak-chasing test runs give sensible results. The previous method of
reaping threads could return successfully while some Thread objects were
still referenced. This also introduces a new private function:
:func:\14 hread._count().
........
Mark Dickinson [Thu, 29 Oct 2009 12:23:02 +0000 (12:23 +0000)]
Merged revisions 75943-75945 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75943 | mark.dickinson | 2009-10-29 11:09:09 +0000 (Thu, 29 Oct 2009) | 1 line
Fix duplicate test numbers in extra.decTest
........
r75944 | mark.dickinson | 2009-10-29 12:04:00 +0000 (Thu, 29 Oct 2009) | 3 lines
Issue #7233: A number of two-argument Decimal methods were failing to
accept ints and longs for the second argument.
........
r75945 | mark.dickinson | 2009-10-29 12:11:18 +0000 (Thu, 29 Oct 2009) | 4 lines
Issue #7233: Fix Decimal.shift and Decimal.rotate methods for
arguments with more digits than the current context precision.
Bug reported by Stefan Krah.
........
Mark Dickinson [Thu, 29 Oct 2009 09:58:06 +0000 (09:58 +0000)]
Merged revisions 75939 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75939 | mark.dickinson | 2009-10-29 09:46:04 +0000 (Thu, 29 Oct 2009) | 5 lines
Roll back ill-considered attempts to fix printf specifier mismatch for off_t.
The sensible solution seems to be to implement %lld for PyString_FromFormat(V)
and PyErr_Format. See issue #7228.
........
Lars Gustäbel [Thu, 29 Oct 2009 09:39:47 +0000 (09:39 +0000)]
Merged revisions 75935 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75935 | lars.gustaebel | 2009-10-29 10:15:00 +0100 (Thu, 29 Oct 2009) | 3 lines
Issue #4750: Store the basename of the original filename in
the gzip FNAME header as required by RFC 1952.
........
Benjamin Peterson [Thu, 29 Oct 2009 01:50:06 +0000 (01:50 +0000)]
Blocked revisions 75931 via svnmerge
........
r75931 | benjamin.peterson | 2009-10-28 20:49:07 -0500 (Wed, 28 Oct 2009) | 5 lines
do a backport of r75928
The added test does not fail without the patch, but we still fix the issue of
surrogates being used in wide builds where they should not be.
........
Vinay Sajip [Wed, 28 Oct 2009 23:28:16 +0000 (23:28 +0000)]
Issue 7199: Documentation made slightly more consistent w.r.t. logging level enumeration.
Benjamin Peterson [Wed, 28 Oct 2009 21:59:39 +0000 (21:59 +0000)]
in wide builds, avoid storing high unicode characters from source code with surrogates
This is accomplished by decoding with utf-32 instead of utf-16 on all builds.
The patch is by Adam Olsen.
R. David Murray [Wed, 28 Oct 2009 14:07:51 +0000 (14:07 +0000)]
Merged revisions 75920 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75920 | r.david.murray | 2009-10-28 10:03:43 -0400 (Wed, 28 Oct 2009) | 2 lines
Remove variable that is no longer used.
........
Eric Smith [Wed, 28 Oct 2009 08:46:43 +0000 (08:46 +0000)]
Blocked revisions 75913 via svnmerge
........
r75913 | eric.smith | 2009-10-28 04:44:37 -0400 (Wed, 28 Oct 2009) | 1 line
Issue 7117: Replace PyOS_ascii_strtod with PyOS_string_to_double in _json.c as part of short float repr. Change made after consulting with Bob Ippolito. This completes the removal of calls to PyOS_ascii_strtod.
........
Mark Dickinson [Wed, 28 Oct 2009 07:49:26 +0000 (07:49 +0000)]
Merged revisions 75909 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75909 | mark.dickinson | 2009-10-28 07:47:32 +0000 (Wed, 28 Oct 2009) | 1 line
Fix format specifier for MSVC
........
Mark Dickinson [Wed, 28 Oct 2009 07:25:03 +0000 (07:25 +0000)]
Merged revisions 75905 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75905 | mark.dickinson | 2009-10-28 07:23:49 +0000 (Wed, 28 Oct 2009) | 1 line
Replace long long with PY_LONG_LONG
........
Tarek Ziadé [Wed, 28 Oct 2009 06:48:27 +0000 (06:48 +0000)]
Merged revisions 75901 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75901 | tarek.ziade | 2009-10-28 07:45:18 +0100 (Wed, 28 Oct 2009) | 1 line
removed spurious spaces
........
Tarek Ziadé [Tue, 27 Oct 2009 23:12:01 +0000 (23:12 +0000)]
Merged revisions 75893 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75893 | tarek.ziade | 2009-10-28 00:06:10 +0100 (Wed, 28 Oct 2009) | 1 line
Fixed #1180: Option to ignore ~/.pydistutils.cfg in Distutils
........
Mark Dickinson [Tue, 27 Oct 2009 23:00:56 +0000 (23:00 +0000)]
Remove extra blank line accidentally introduced in r75885
Georg Brandl [Tue, 27 Oct 2009 23:00:28 +0000 (23:00 +0000)]
Merged revisions 75887 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75887 | georg.brandl | 2009-10-27 23:56:09 +0100 (Di, 27 Okt 2009) | 1 line
Make sure every run of test_intern() interns a new string, otherwise that test fails e.g. when some other test in test_builtin fails and it is rerun in verbose mode.
........
Mark Dickinson [Tue, 27 Oct 2009 22:12:20 +0000 (22:12 +0000)]
Merged revisions 75883 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75883 | mark.dickinson | 2009-10-27 22:09:33 +0000 (Tue, 27 Oct 2009) | 1 line
Test long inputs to float
........
Mark Dickinson [Tue, 27 Oct 2009 21:49:48 +0000 (21:49 +0000)]
Merged revisions 75879 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75879 | mark.dickinson | 2009-10-27 21:48:20 +0000 (Tue, 27 Oct 2009) | 3 lines
Silence gcc warnings when trying to print an off_t using "lld", on platforms
where off_t has type long (e.g., 64-bit Linux).
........
Georg Brandl [Tue, 27 Oct 2009 21:37:48 +0000 (21:37 +0000)]
Only declare variable when it's used.
Antoine Pitrou [Tue, 27 Oct 2009 21:32:38 +0000 (21:32 +0000)]
Merged revisions 75874 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75874 | antoine.pitrou | 2009-10-27 22:27:24 +0100 (mar., 27 oct. 2009) | 4 lines
Reduce the probability of refleaks in test_socketserver.
Not completely suppressed though, see issue #7222.
........
Tarek Ziadé [Tue, 27 Oct 2009 21:24:21 +0000 (21:24 +0000)]
Merged revisions 75871 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75871 | tarek.ziade | 2009-10-27 22:20:27 +0100 (Tue, 27 Oct 2009) | 1 line
Issue #7218: Fix test_site for win32
........
Benjamin Peterson [Tue, 27 Oct 2009 21:14:50 +0000 (21:14 +0000)]
remove shadowing declartion
Georg Brandl [Tue, 27 Oct 2009 21:02:11 +0000 (21:02 +0000)]
Merged revisions 75866-75867 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75866 | georg.brandl | 2009-10-27 21:52:02 +0100 (Di, 27 Okt 2009) | 1 line
Add a regrtest option to re-run in verbose mode immediately after a test fails, and use that option on the buildbots.
........
r75867 | georg.brandl | 2009-10-27 21:55:44 +0100 (Di, 27 Okt 2009) | 1 line
Reformat the regrtest command-line option help and group the options into sections.
........
Antoine Pitrou [Tue, 27 Oct 2009 20:21:45 +0000 (20:21 +0000)]
Merged revisions 75860 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75860 | antoine.pitrou | 2009-10-27 21:20:41 +0100 (mar., 27 oct. 2009) | 3 lines
Try to fix transient refleaks in test_distutils.
........
Antoine Pitrou [Tue, 27 Oct 2009 20:17:03 +0000 (20:17 +0000)]
Merged revisions 75855 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75855 | antoine.pitrou | 2009-10-27 21:14:04 +0100 (mar., 27 oct. 2009) | 3 lines
Fix transient refleaks in test_urllib2_localnet.
........
Antoine Pitrou [Tue, 27 Oct 2009 20:05:26 +0000 (20:05 +0000)]
Merged revisions 75851 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75851 | antoine.pitrou | 2009-10-27 21:02:23 +0100 (mar., 27 oct. 2009) | 3 lines
Suppress transient refleaks in test_threading.
........
Antoine Pitrou [Tue, 27 Oct 2009 19:49:45 +0000 (19:49 +0000)]
Merged revisions 75849 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75849 | antoine.pitrou | 2009-10-27 20:47:30 +0100 (mar., 27 oct. 2009) | 3 lines
Suppress transient refleaks in test_smtplib.
........
Eric Smith [Tue, 27 Oct 2009 19:44:06 +0000 (19:44 +0000)]
Blocked revisions 75846 via svnmerge
........
r75846 | eric.smith | 2009-10-27 15:42:57 -0400 (Tue, 27 Oct 2009) | 1 line
Removed PyOS_ascii_atof from marshal.c, as mentioned in issue 7117. Also brings it more in line with py3k.
........
Antoine Pitrou [Tue, 27 Oct 2009 19:39:10 +0000 (19:39 +0000)]
Blocked revisions 75844 via svnmerge
........
r75844 | antoine.pitrou | 2009-10-27 20:36:44 +0100 (mar., 27 oct. 2009) | 3 lines
Suppress transient refleaks in test_file2k.
........
Antoine Pitrou [Tue, 27 Oct 2009 19:25:57 +0000 (19:25 +0000)]
Merged revisions 75842 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75842 | antoine.pitrou | 2009-10-27 20:23:56 +0100 (mar., 27 oct. 2009) | 3 lines
Fix transient refleak in test_sys.
........
Antoine Pitrou [Tue, 27 Oct 2009 18:52:30 +0000 (18:52 +0000)]
Merged revisions 75838 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75838 | antoine.pitrou | 2009-10-27 19:50:52 +0100 (mar., 27 oct. 2009) | 3 lines
(Hopefully) suppress transient refleaks in test_httpservers.
........