]>
granicus.if.org Git - python/log
Nick Coghlan [Sat, 7 Nov 2009 08:13:55 +0000 (08:13 +0000)]
Add test for runpy.run_module package execution and use something other than logging as the example of a non-executable package
Benjamin Peterson [Sat, 7 Nov 2009 01:04:38 +0000 (01:04 +0000)]
spelling
Antoine Pitrou [Fri, 6 Nov 2009 22:34:35 +0000 (22:34 +0000)]
Issue #7270: Add some dedicated unit tests for multi-thread synchronization
primitives such as Lock, RLock, Condition, Event and Semaphore.
Benjamin Peterson [Thu, 5 Nov 2009 23:54:42 +0000 (23:54 +0000)]
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
........
Benjamin Peterson [Thu, 5 Nov 2009 23:20:06 +0000 (23:20 +0000)]
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
........
Benjamin Peterson [Thu, 5 Nov 2009 21:29:56 +0000 (21:29 +0000)]
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
........
Antoine Pitrou [Thu, 5 Nov 2009 13:42:29 +0000 (13:42 +0000)]
Issue #7264: Fix a possible deadlock when deallocating thread-local objects
which are part of a reference cycle.
R. David Murray [Thu, 5 Nov 2009 01:50:56 +0000 (01:50 +0000)]
Increase the timeout in the bsddb3 replication test to allow
the test time to complete on slow buildbots. See issue 6462.
Antoine Pitrou [Wed, 4 Nov 2009 19:25:14 +0000 (19:25 +0000)]
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.
Georg Brandl [Wed, 4 Nov 2009 07:38:12 +0000 (07:38 +0000)]
#7259: show correct equivalent for operator.i* operations in docstring; fix minor issues in operator docs.
Antoine Pitrou [Wed, 4 Nov 2009 00:50:26 +0000 (00:50 +0000)]
Make test_shutil clean up after itself
Georg Brandl [Tue, 3 Nov 2009 18:34:27 +0000 (18:34 +0000)]
#7256: add versionadded tags for functions copied from cgi.
Antoine Pitrou [Tue, 3 Nov 2009 16:41:20 +0000 (16:41 +0000)]
Try to make test_wsgiref less fragile against environment changes by other tests
Mark Dickinson [Tue, 3 Nov 2009 16:26:14 +0000 (16:26 +0000)]
Fix doc typo reported by Arfrever.
Skip Montanaro [Tue, 3 Nov 2009 02:43:59 +0000 (02:43 +0000)]
typo (space-o?)
Antoine Pitrou [Mon, 2 Nov 2009 20:47:33 +0000 (20:47 +0000)]
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:24:57 +0000 (18:24 +0000)]
enable test_parser in lib2to3
Benjamin Peterson [Mon, 2 Nov 2009 18:22:53 +0000 (18:22 +0000)]
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
........
Benjamin Peterson [Mon, 2 Nov 2009 18:16:36 +0000 (18:16 +0000)]
add space
Benjamin Peterson [Mon, 2 Nov 2009 18:12:12 +0000 (18:12 +0000)]
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
........
Benjamin Peterson [Mon, 2 Nov 2009 16:14:19 +0000 (16:14 +0000)]
grant list.index() a more informative error message #7252
Benjamin Peterson [Mon, 2 Nov 2009 15:06:45 +0000 (15:06 +0000)]
prevent a rather unlikely segfault
Antoine Pitrou [Mon, 2 Nov 2009 11:34:27 +0000 (11:34 +0000)]
Since r76034 was successful, add a NEWS entry for it.
Gregory P. Smith [Mon, 2 Nov 2009 02:03:16 +0000 (02:03 +0000)]
regenerated from r76052
Gregory P. Smith [Mon, 2 Nov 2009 02:02:38 +0000 (02:02 +0000)]
see issue1006238, this merges in the following patch to ease cross
compiling the printf %zd check.
http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/files/python-2.5-cross-printf.patch?rev=1.1&view=markup
Gregory P. Smith [Mon, 2 Nov 2009 01:38:35 +0000 (01:38 +0000)]
build using r76050
Gregory P. Smith [Mon, 2 Nov 2009 01:37:37 +0000 (01:37 +0000)]
see http://bugs.python.org/issue1006238 this merges in the following
patch to make cross compilation of the chflags check easier:
http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/files/python-2.6-chflags-cross.patch?rev=1.1
Antoine Pitrou [Sun, 1 Nov 2009 23:54:20 +0000 (23:54 +0000)]
Fix and improve some assertions in test_site
Tarek Ziadé [Sun, 1 Nov 2009 22:33:45 +0000 (22:33 +0000)]
fixed stdout alteration in test_distutils
Antoine Pitrou [Sun, 1 Nov 2009 22:02:03 +0000 (22:02 +0000)]
Use a custom timeout in test_support.open_urlresource.
Antoine Pitrou [Sun, 1 Nov 2009 21:29:33 +0000 (21:29 +0000)]
This should finally fix #6896. Let's watch the buildbots.
Antoine Pitrou [Sun, 1 Nov 2009 21:26:14 +0000 (21:26 +0000)]
test_normalization should skip and not crash when the resource isn't available
Gregory P. Smith [Sun, 1 Nov 2009 21:03:38 +0000 (21:03 +0000)]
configure generated from r76028
Gregory P. Smith [Sun, 1 Nov 2009 21:02:52 +0000 (21:02 +0000)]
issue1115: convert some AC_TRY_RUNs into AC_TRY_COMPILEs.
Raymond Hettinger [Sun, 1 Nov 2009 20:45:16 +0000 (20:45 +0000)]
Fix exception handling in itertools.izip_longest().
Gregory P. Smith [Sun, 1 Nov 2009 18:33:55 +0000 (18:33 +0000)]
news entry for r76000
Antoine Pitrou [Sun, 1 Nov 2009 16:10:47 +0000 (16:10 +0000)]
Hum, test skipping when the URL isn't reachable hadn't been applied to trunk.
Antoine Pitrou [Sun, 1 Nov 2009 11:58:22 +0000 (11:58 +0000)]
Buffered I/O: optimize lock taking in the common non-contended case.
Antoine Pitrou [Sun, 1 Nov 2009 00:30:13 +0000 (00:30 +0000)]
Hopefully fix the buildbot problems on test_mailbox, by computing
the maildir toc cache refresh date before actually refreshing the cache.
(see #6896)
Antoine Pitrou [Sat, 31 Oct 2009 23:19:52 +0000 (23:19 +0000)]
Use richer assertions in test_mailbox (for better failure messages).
Gregory P. Smith [Sat, 31 Oct 2009 21:26:08 +0000 (21:26 +0000)]
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.
Gregory P. Smith [Sat, 31 Oct 2009 21:23:39 +0000 (21:23 +0000)]
Define TCSASOFT if the flag exists.
Eric Smith [Sat, 31 Oct 2009 17:07:17 +0000 (17:07 +0000)]
Improved test for a deprecation warning.
Mark Dickinson [Sat, 31 Oct 2009 12:47:47 +0000 (12:47 +0000)]
Set retval on PyOS_string_to_double failure.
Mark Dickinson [Sat, 31 Oct 2009 10:36:06 +0000 (10:36 +0000)]
Issue #7042: Use a better mechanism for testing timers in test_signal.
Mark Dickinson [Sat, 31 Oct 2009 10:11:28 +0000 (10:11 +0000)]
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:42:39 +0000 (09:42 +0000)]
Deprecate PyOS_ascii_strtod and PyOS_ascii_atof, and document the replacement function PyOS_string_to_double.
Mark Dickinson [Sat, 31 Oct 2009 09:28:12 +0000 (09:28 +0000)]
Move a Misc/NEWS entry to right section.
Benjamin Peterson [Sat, 31 Oct 2009 03:56:15 +0000 (03:56 +0000)]
add some checks for evaluation order with parenthesis #7210
Antoine Pitrou [Fri, 30 Oct 2009 22:19:09 +0000 (22:19 +0000)]
Remove official documentation entry for thread._count() and make the
docstring more descriptive instead.
Antoine Pitrou [Fri, 30 Oct 2009 21:41:22 +0000 (21:41 +0000)]
Try to fix transient refleaks in test_pydoc.
Antoine Pitrou [Fri, 30 Oct 2009 17:56:00 +0000 (17:56 +0000)]
Try to fix transient refleaks in test_xmlrpc.
Antoine Pitrou [Fri, 30 Oct 2009 17:55:21 +0000 (17:55 +0000)]
Try to fix transient refleaks in test_asynchat.
Antoine Pitrou [Fri, 30 Oct 2009 17:33:28 +0000 (17:33 +0000)]
Fix transient refleaks in test_docxmlrpc.
Antoine Pitrou [Fri, 30 Oct 2009 17:07:08 +0000 (17:07 +0000)]
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().
Georg Brandl [Thu, 29 Oct 2009 21:44:56 +0000 (21:44 +0000)]
Fix constant name.
Georg Brandl [Thu, 29 Oct 2009 21:16:34 +0000 (21:16 +0000)]
I do not think the "railroad" program mentioned is still available.
Georg Brandl [Thu, 29 Oct 2009 20:54:03 +0000 (20:54 +0000)]
Use a single style for all the docstrings in the math module.
Georg Brandl [Thu, 29 Oct 2009 20:53:00 +0000 (20:53 +0000)]
Use constants instead of magic integers for test result. Do not re-run with --verbose3 for environment changing tests.
Georg Brandl [Thu, 29 Oct 2009 20:39:50 +0000 (20:39 +0000)]
Remove mention of the old -X command line switch.
Georg Brandl [Thu, 29 Oct 2009 20:38:32 +0000 (20:38 +0000)]
Use the correct function name in docstring.
Mark Dickinson [Thu, 29 Oct 2009 12:11:18 +0000 (12:11 +0000)]
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 12:04:00 +0000 (12:04 +0000)]
Issue #7233: A number of two-argument Decimal methods were failing to
accept ints and longs for the second argument.
Mark Dickinson [Thu, 29 Oct 2009 11:09:09 +0000 (11:09 +0000)]
Fix duplicate test numbers in extra.decTest
Mark Dickinson [Thu, 29 Oct 2009 09:46:04 +0000 (09:46 +0000)]
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:15:00 +0000 (09:15 +0000)]
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:49:07 +0000 (01:49 +0000)]
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.
R. David Murray [Wed, 28 Oct 2009 14:03:43 +0000 (14:03 +0000)]
Remove variable that is no longer used.
Eric Smith [Wed, 28 Oct 2009 08:44:37 +0000 (08:44 +0000)]
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:47:32 +0000 (07:47 +0000)]
Fix format specifier for MSVC
Mark Dickinson [Wed, 28 Oct 2009 07:23:49 +0000 (07:23 +0000)]
Replace long long with PY_LONG_LONG
Tarek Ziadé [Wed, 28 Oct 2009 06:45:18 +0000 (06:45 +0000)]
removed spurious spaces
Tarek Ziadé [Tue, 27 Oct 2009 23:06:10 +0000 (23:06 +0000)]
Fixed #1180: Option to ignore ~/.pydistutils.cfg in Distutils
Georg Brandl [Tue, 27 Oct 2009 22:56:09 +0000 (22:56 +0000)]
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:09:33 +0000 (22:09 +0000)]
Test long inputs to float
Mark Dickinson [Tue, 27 Oct 2009 21:48:20 +0000 (21:48 +0000)]
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).
Antoine Pitrou [Tue, 27 Oct 2009 21:27:24 +0000 (21:27 +0000)]
Reduce the probability of refleaks in test_socketserver.
Not completely suppressed though, see issue #7222.
Tarek Ziadé [Tue, 27 Oct 2009 21:20:27 +0000 (21:20 +0000)]
Issue #7218: Fix test_site for win32
Benjamin Peterson [Tue, 27 Oct 2009 20:59:18 +0000 (20:59 +0000)]
test expect base classes
Georg Brandl [Tue, 27 Oct 2009 20:55:44 +0000 (20:55 +0000)]
Reformat the regrtest command-line option help and group the options into sections.
Georg Brandl [Tue, 27 Oct 2009 20:52:02 +0000 (20:52 +0000)]
Add a regrtest option to re-run in verbose mode immediately after a test fails, and use that option on the buildbots.
Antoine Pitrou [Tue, 27 Oct 2009 20:20:41 +0000 (20:20 +0000)]
Try to fix transient refleaks in test_distutils.
Antoine Pitrou [Tue, 27 Oct 2009 20:14:04 +0000 (20:14 +0000)]
Fix transient refleaks in test_urllib2_localnet.
Antoine Pitrou [Tue, 27 Oct 2009 20:02:23 +0000 (20:02 +0000)]
Suppress transient refleaks in test_threading.
Antoine Pitrou [Tue, 27 Oct 2009 19:47:30 +0000 (19:47 +0000)]
Suppress transient refleaks in test_smtplib.
Eric Smith [Tue, 27 Oct 2009 19:42:57 +0000 (19:42 +0000)]
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:36:44 +0000 (19:36 +0000)]
Suppress transient refleaks in test_file2k.
Antoine Pitrou [Tue, 27 Oct 2009 19:23:56 +0000 (19:23 +0000)]
Fix transient refleak in test_sys.
Antoine Pitrou [Tue, 27 Oct 2009 18:50:52 +0000 (18:50 +0000)]
(Hopefully) suppress transient refleaks in test_httpservers.
Antoine Pitrou [Tue, 27 Oct 2009 18:36:47 +0000 (18:36 +0000)]
Suppress transient refleaks in test_asyncore
Eric Smith [Tue, 27 Oct 2009 18:33:14 +0000 (18:33 +0000)]
Removed PyOS_ascii_atof from ast.c, as mentioned in issue 7117.
Antoine Pitrou [Tue, 27 Oct 2009 17:41:58 +0000 (17:41 +0000)]
Issue #7205: Fix a possible deadlock when using a BZ2File object from several threads at once.
Georg Brandl [Tue, 27 Oct 2009 15:10:22 +0000 (15:10 +0000)]
Fix a strange mis-edit.
Eric Smith [Tue, 27 Oct 2009 12:12:44 +0000 (12:12 +0000)]
Issue 7117: Replace PyOS_ascii_strtod with PyOS_string_to_double in stropmodule as part of short float repr.
Eric Smith [Tue, 27 Oct 2009 11:32:11 +0000 (11:32 +0000)]
Issue 7117: Replace PyOS_ascii_strtod with PyOS_string_to_double in cPickle as part of short float repr.
Benjamin Peterson [Mon, 26 Oct 2009 22:51:16 +0000 (22:51 +0000)]
use 'is' instead of id()
Mark Dickinson [Mon, 26 Oct 2009 22:28:14 +0000 (22:28 +0000)]
Issue #7117: Use PyOS_string_to_double instead of PyOS_ascii_strtod in
complexobject.c. Also remove length restriction on unicode inputs to
the complex constructor.
Mark Dickinson [Mon, 26 Oct 2009 21:11:20 +0000 (21:11 +0000)]
Issue #7117: Use PyOS_string_to_double instead of PyOS_ascii_strtod in
floatobject.c. Also, remove limitation on length of unicode inputs to
float().
Mark Dickinson [Mon, 26 Oct 2009 21:09:09 +0000 (21:09 +0000)]
Issue #7117: Backport missing pystrtod.h declarations from py3k.