]>
granicus.if.org Git - python/log
Mark Dickinson [Sun, 9 May 2010 12:16:29 +0000 (12:16 +0000)]
Fix test_urllib2 failure on OS X.
Michael Foord [Sun, 9 May 2010 09:59:35 +0000 (09:59 +0000)]
Merged revisions 81022 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81022 | michael.foord | 2010-05-09 11:58:25 +0200 (Sun, 09 May 2010) | 1 line
Adding a test for unittest.BaseTestSuite.
........
Mark Dickinson [Sun, 9 May 2010 09:30:53 +0000 (09:30 +0000)]
Blocked revisions 81020 via svnmerge
........
r81020 | mark.dickinson | 2010-05-09 10:30:06 +0100 (Sun, 09 May 2010) | 3 lines
Issue #8644: Improve accuracy of timedelta.total_seconds method.
(Backport of r80979 to py3k.) Thanks Alexander Belopolsky.
........
Gregory P. Smith [Sun, 9 May 2010 03:36:42 +0000 (03:36 +0000)]
Replace /s with os.sep in the new internal_execvpe test. Hopefully fixes
this test on windows.
Benjamin Peterson [Sun, 9 May 2010 03:22:58 +0000 (03:22 +0000)]
make condition more specific
Jean-Paul Calderone [Sun, 9 May 2010 03:18:57 +0000 (03:18 +0000)]
Merged revisions 81007 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81007 | jean-paul.calderone | 2010-05-08 16:06:02 -0400 (Sat, 08 May 2010) | 1 line
Skip signal handler re-installation if it is not necessary. Issue 8354.
........
Victor Stinner [Sun, 9 May 2010 03:15:33 +0000 (03:15 +0000)]
Write tests for the new function os.fsencode()
Benjamin Peterson [Sat, 8 May 2010 21:05:35 +0000 (21:05 +0000)]
remove svn:mergeinfo
Benjamin Peterson [Sat, 8 May 2010 21:03:44 +0000 (21:03 +0000)]
Blocked revisions 81008 via svnmerge
........
r81008 | benjamin.peterson | 2010-05-08 15:59:42 -0500 (Sat, 08 May 2010) | 1 line
remove svn:mergeinfo property
........
Benjamin Peterson [Sat, 8 May 2010 19:52:49 +0000 (19:52 +0000)]
add news for r81005
Benjamin Peterson [Sat, 8 May 2010 19:52:21 +0000 (19:52 +0000)]
Create __pycache__ dir when the pyc path is explicitly given
Patch from Arfrever Frehtes Taifersar Arahesis.
Benjamin Peterson [Sat, 8 May 2010 18:57:34 +0000 (18:57 +0000)]
Blocked revisions 80996,80998,81002 via svnmerge
........
r80996 | benjamin.peterson | 2010-05-08 12:05:19 -0500 (Sat, 08 May 2010) | 1 line
update pydoc-topics
........
r80998 | benjamin.peterson | 2010-05-08 12:08:17 -0500 (Sat, 08 May 2010) | 1 line
bump version to 2.7 beta 2
........
r81002 | benjamin.peterson | 2010-05-08 13:53:42 -0500 (Sat, 08 May 2010) | 1 line
towards 2.7 release candidate 1
........
Gregory P. Smith [Sat, 8 May 2010 18:05:46 +0000 (18:05 +0000)]
Adds a unittest for the internal os._execvpe function.
Michael Foord [Sat, 8 May 2010 17:10:05 +0000 (17:10 +0000)]
Merged revisions 80997 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80997 | michael.foord | 2010-05-08 19:06:25 +0200 (Sat, 08 May 2010) | 1 line
unittest: issue 8301. Adding functions to test suites no longer crashes.
........
Benjamin Peterson [Sat, 8 May 2010 16:51:16 +0000 (16:51 +0000)]
Merged revisions 80991 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80991 | benjamin.peterson | 2010-05-08 11:44:52 -0500 (Sat, 08 May 2010) | 1 line
run and fix enumerate start test cases #8636
........
Michael Foord [Sat, 8 May 2010 16:46:14 +0000 (16:46 +0000)]
Merged revisions 80990 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80990 | michael.foord | 2010-05-08 18:40:52 +0200 (Sat, 08 May 2010) | 1 line
Updating documentation and adding docstrings to unittest.TestCase.assertRegexpMatches and assertNotRegexpMatches. Issue 8038.
........
Benjamin Peterson [Sat, 8 May 2010 15:51:23 +0000 (15:51 +0000)]
Merged revisions 80986-80987 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80986 | benjamin.peterson | 2010-05-08 10:41:44 -0500 (Sat, 08 May 2010) | 1 line
r80967 introduced a new scheme
........
r80987 | benjamin.peterson | 2010-05-08 10:42:29 -0500 (Sat, 08 May 2010) | 1 line
add underscore
........
Benjamin Peterson [Sat, 8 May 2010 15:26:30 +0000 (15:26 +0000)]
replace long with int
Michael Foord [Sat, 8 May 2010 15:13:42 +0000 (15:13 +0000)]
Merged revisions 80980 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80980 | michael.foord | 2010-05-08 17:09:37 +0200 (Sat, 08 May 2010) | 1 line
Documenting test discovery from package name and potential problems with test discovery importing tests from the wrong location. Issue 7780 and issue 8547.
........
Mark Dickinson [Sat, 8 May 2010 14:35:02 +0000 (14:35 +0000)]
Issue #8644: Improve accuracy of timedelta.total_seconds, by doing intermediate
computations with integer arithmetic instead of floating point.
td.total_seconds() now agrees with td / timedelta(seconds = 1).
Thanks Alexander Belopolsky for the patch.
Michael Foord [Sat, 8 May 2010 13:23:31 +0000 (13:23 +0000)]
Merged revisions 80974 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80974 | michael.foord | 2010-05-08 15:20:07 +0200 (Sat, 08 May 2010) | 1 line
Issue 7780. Adding a test for unittest test discovery from a dotted path.
........
Matthias Klose [Sat, 8 May 2010 11:12:56 +0000 (11:12 +0000)]
Blocked revisions 80964-80966,80969-80970 via svnmerge
........
r80964 | matthias.klose | 2010-05-08 12:00:28 +0200 (Sa, 08 Mai 2010) | 2 lines
- Issue #8510: Update to autoconf2.65.
........
r80965 | matthias.klose | 2010-05-08 12:14:46 +0200 (Sa, 08 Mai 2010) | 2 lines
- configure.in: Replace AC_HELP_STRING with AS_HELP_STRING
........
r80966 | matthias.klose | 2010-05-08 12:17:27 +0200 (Sa, 08 Mai 2010) | 2 lines
configure.in: s/AC_AIX/AC_USE_SYSTEM_EXTENSIONS/
........
r80969 | matthias.klose | 2010-05-08 13:01:39 +0200 (Sa, 08 Mai 2010) | 3 lines
configure.in: convert all obsolete AC_TRY_* macros to AC_*_IFELSE,
only whitespace changes in generated configure (diff -uEwB).
........
r80970 | matthias.klose | 2010-05-08 13:04:18 +0200 (Sa, 08 Mai 2010) | 4 lines
configure.in: Avoid autoconf warning: Assume C89 semantics that
RETSIGTYPE is always void (issue #8510).
pyconfig.h: Regenerate
........
Victor Stinner [Sat, 8 May 2010 11:10:09 +0000 (11:10 +0000)]
Issue #8514: Add os.fsencode() function (Unix only): encode a string to bytes
for use in the file system, environment variables or the command line.
Ronald Oussoren [Sat, 8 May 2010 10:49:43 +0000 (10:49 +0000)]
Merged revisions 80967 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80967 | ronald.oussoren | 2010-05-08 12:29:06 +0200 (Sat, 08 May 2010) | 4 lines
Issue #8084: ensure that the --user directory
conforms to platforms standars on OSX when
using a python framework.
........
Mark Dickinson [Sat, 8 May 2010 08:03:09 +0000 (08:03 +0000)]
Merged revisions 80961 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80961 | mark.dickinson | 2010-05-08 09:01:19 +0100 (Sat, 08 May 2010) | 2 lines
Issue #8659: Remove redundant ABS calls. Thanks Daniel Stutzbach.
........
Senthil Kumaran [Sat, 8 May 2010 05:12:05 +0000 (05:12 +0000)]
Merged revisions 80957 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80957 | senthil.kumaran | 2010-05-08 10:30:11 +0530 (Sat, 08 May 2010) | 2 lines
Fixing the errors trigerred in test_urllib2net. Related to issue8656.
........
Senthil Kumaran [Sat, 8 May 2010 03:29:09 +0000 (03:29 +0000)]
Merged revisions 80953 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80953 | senthil.kumaran | 2010-05-08 08:41:50 +0530 (Sat, 08 May 2010) | 3 lines
Fix Issue8656 - urllib2 mangles file://-scheme URLs
........
Victor Stinner [Sat, 8 May 2010 00:36:42 +0000 (00:36 +0000)]
posix_error_with_allocated_filename() decodes the filename with
PyUnicode_DecodeFSDefaultAndSize() and call
PyErr_SetFromErrnoWithFilenameObject() instead of
PyErr_SetFromErrnoWithFilename()
Victor Stinner [Sat, 8 May 2010 00:35:33 +0000 (00:35 +0000)]
PyErr_SetFromErrnoWithFilename() decodes the filename using
PyUnicode_DecodeFSDefault() instead of PyUnicode_FromString()
Victor Stinner [Sat, 8 May 2010 00:07:07 +0000 (00:07 +0000)]
err_input(): don't encode/decode the unicode message
Michael Foord [Fri, 7 May 2010 23:42:40 +0000 (23:42 +0000)]
Merged revisions 80946 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80946 | michael.foord | 2010-05-08 01:39:38 +0200 (Sat, 08 May 2010) | 1 line
Issue 8547 - detecting and reporting that modules have been imported from the wrong location under test discovery.
........
Benjamin Peterson [Fri, 7 May 2010 20:47:43 +0000 (20:47 +0000)]
Merged revisions 80939 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80939 | benjamin.peterson | 2010-05-07 15:45:07 -0500 (Fri, 07 May 2010) | 1 line
revert r80932; it breaks windows
........
Benjamin Peterson [Fri, 7 May 2010 20:21:26 +0000 (20:21 +0000)]
alias PyUnicode_CompareWithASCII
Benjamin Peterson [Fri, 7 May 2010 19:10:11 +0000 (19:10 +0000)]
Merged revisions 80934 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
................
r80934 | benjamin.peterson | 2010-05-07 13:58:23 -0500 (Fri, 07 May 2010) | 69 lines
Merged revisions 79911,79916-79917,80018,80418,80572-80573,80635-80639,80668,80922 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r79911 | benjamin.peterson | 2010-04-09 15:38:53 -0500 (Fri, 09 Apr 2010) | 1 line
use absolute import
........
r79916 | benjamin.peterson | 2010-04-09 16:05:21 -0500 (Fri, 09 Apr 2010) | 1 line
generalize detection of __future__ imports and attach them to the tree
........
r79917 | benjamin.peterson | 2010-04-09 16:11:44 -0500 (Fri, 09 Apr 2010) | 1 line
don't try to 'fix' relative imports when absolute_import is enabled #8858
........
r80018 | benjamin.peterson | 2010-04-12 16:12:12 -0500 (Mon, 12 Apr 2010) | 4 lines
prevent diffs from being mangled is multiprocess mode #6409
Patch by George Boutsioukis.
........
r80418 | benjamin.peterson | 2010-04-23 16:00:03 -0500 (Fri, 23 Apr 2010) | 1 line
remove unhelpful description
........
r80572 | benjamin.peterson | 2010-04-27 20:33:54 -0500 (Tue, 27 Apr 2010) | 1 line
use unicode literals
........
r80573 | jeffrey.yasskin | 2010-04-27 23:08:27 -0500 (Tue, 27 Apr 2010) | 6 lines
Don't transform imports that are already relative. 2to3 turned
from . import refactor
into
from .. import refactor
which broke the transformation of 2to3 itself.
........
r80635 | benjamin.peterson | 2010-04-29 16:02:23 -0500 (Thu, 29 Apr 2010) | 1 line
remove imports
........
r80636 | benjamin.peterson | 2010-04-29 16:02:41 -0500 (Thu, 29 Apr 2010) | 1 line
unicode literal
........
r80637 | benjamin.peterson | 2010-04-29 16:03:42 -0500 (Thu, 29 Apr 2010) | 1 line
must pass a string to Number
........
r80638 | benjamin.peterson | 2010-04-29 16:05:34 -0500 (Thu, 29 Apr 2010) | 1 line
unicode literals
........
r80639 | benjamin.peterson | 2010-04-29 16:06:09 -0500 (Thu, 29 Apr 2010) | 1 line
pass string to Number
........
r80668 | jeffrey.yasskin | 2010-04-30 18:02:47 -0500 (Fri, 30 Apr 2010) | 4 lines
Make 2to3 run under Python 2.5 so that the benchmark suite at
http://hg.python.org/benchmarks/ can use it and still run on implementations
that haven't gotten to 2.6 yet. Fixes issue 8566.
........
r80922 | benjamin.peterson | 2010-05-07 11:06:25 -0500 (Fri, 07 May 2010) | 1 line
prevent xrange transformation from wrapping range calls it produces in list
........
................
Michael Foord [Fri, 7 May 2010 18:18:14 +0000 (18:18 +0000)]
Merged revisions 80932 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80932 | michael.foord | 2010-05-07 20:16:19 +0200 (Fri, 07 May 2010) | 1 line
Issue 8547 - detecting and reporting that modules have been imported from the wrong location under test discovery.
........
Antoine Pitrou [Fri, 7 May 2010 17:04:02 +0000 (17:04 +0000)]
Merged revisions 80926 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80926 | antoine.pitrou | 2010-05-07 18:50:34 +0200 (ven., 07 mai 2010) | 5 lines
Issue #8571: Fix an internal error when compressing or decompressing a
chunk larger than 1GB with the zlib module's compressor and decompressor
objects.
........
Benjamin Peterson [Fri, 7 May 2010 16:42:51 +0000 (16:42 +0000)]
correct call
Victor Stinner [Fri, 7 May 2010 16:34:53 +0000 (16:34 +0000)]
Replace PyUnicode_Decode(buf, strlen(buf), Py_FileSystemDefaultEncoding,
"surrogateescape") by PyUnicode_DecodeFSDefault(val).
Michael Foord [Fri, 7 May 2010 16:00:30 +0000 (16:00 +0000)]
Merged revisions 80920 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80920 | michael.foord | 2010-05-07 17:52:05 +0200 (Fri, 07 May 2010) | 1 line
Adding tests for unittest command line handling of buffer, catchbreak and failfast.
........
Michael Foord [Fri, 7 May 2010 15:35:24 +0000 (15:35 +0000)]
Merged revisions 80918 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80918 | michael.foord | 2010-05-07 17:34:08 +0200 (Fri, 07 May 2010) | 1 line
Adding a test for unittest test discovery with dotted path name.
........
Senthil Kumaran [Fri, 7 May 2010 04:19:23 +0000 (04:19 +0000)]
Merged revisions 80908 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80908 | senthil.kumaran | 2010-05-07 09:37:29 +0530 (Fri, 07 May 2010) | 3 lines
Testsuite for RFC3986 based parsing scenario. Related Issue1462525.
........
Victor Stinner [Fri, 7 May 2010 00:57:12 +0000 (00:57 +0000)]
regrtest.py: disable replace_stdout() on Windows until it is fixed
See issue #8533 (problem with newlines on Windows).
Victor Stinner [Fri, 7 May 2010 00:54:14 +0000 (00:54 +0000)]
Fix test_os: os.environb doesn't exist on Windows
Victor Stinner [Fri, 7 May 2010 00:50:12 +0000 (00:50 +0000)]
module_repr(): use %U to format the file name
Avoid useless encode/decode of the filename
Victor Stinner [Fri, 7 May 2010 00:41:18 +0000 (00:41 +0000)]
code_repr(): use %U to format the filename
Avoid useless unicode decoding/recoding of the filename.
Benjamin Peterson [Thu, 6 May 2010 23:03:05 +0000 (23:03 +0000)]
Merged revisions 80894,80896 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80894 | benjamin.peterson | 2010-05-06 17:33:46 -0500 (Thu, 06 May 2010) | 1 line
Availability gets its own line
........
r80896 | benjamin.peterson | 2010-05-06 17:49:28 -0500 (Thu, 06 May 2010) | 1 line
ensure that availability information is on its own line at the end of the function docs
........
Benjamin Peterson [Thu, 6 May 2010 22:29:53 +0000 (22:29 +0000)]
rephrase
Benjamin Peterson [Thu, 6 May 2010 22:26:31 +0000 (22:26 +0000)]
self.skip -> self.skipTest
Benjamin Peterson [Thu, 6 May 2010 22:25:42 +0000 (22:25 +0000)]
wrap long lines
Benjamin Peterson [Thu, 6 May 2010 22:23:58 +0000 (22:23 +0000)]
use concise skipping
Victor Stinner [Thu, 6 May 2010 22:19:30 +0000 (22:19 +0000)]
Fix test_posix (regression introduced by r80885)
Benjamin Peterson [Thu, 6 May 2010 22:13:11 +0000 (22:13 +0000)]
spacing and another versionadded
Benjamin Peterson [Thu, 6 May 2010 22:09:03 +0000 (22:09 +0000)]
versionadded for environb
Victor Stinner [Thu, 6 May 2010 22:05:07 +0000 (22:05 +0000)]
Issue #8603: Create a bytes version of os.environ for Unix
Create os.environb mapping and os.getenvb() function, os.unsetenv() encodes str
argument to the file system encoding with the surrogateescape error handler
(instead of utf8/strict) and accepts bytes, and posix.environ keys and values
are bytes.
Giampaolo Rodolà [Thu, 6 May 2010 20:21:57 +0000 (20:21 +0000)]
Merged revisions 80882 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80882 | giampaolo.rodola | 2010-05-06 22:19:32 +0200 (gio, 06 mag 2010) | 1 line
adds handle_error(self):raise to test modules using asyncore to provide a clearer error message in case something goes wrong
........
Giampaolo Rodolà [Thu, 6 May 2010 20:02:37 +0000 (20:02 +0000)]
Merged revisions 80880 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80880 | giampaolo.rodola | 2010-05-06 21:56:34 +0200 (gio, 06 mag 2010) | 1 line
provides a clearer warning message when cheap inheritance with the underlying socket object is used
........
Giampaolo Rodolà [Thu, 6 May 2010 18:06:30 +0000 (18:06 +0000)]
Merged revisions 80875 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80875 | giampaolo.rodola | 2010-05-06 19:57:06 +0200 (gio, 06 mag 2010) | 1 line
Fix asyncore issues 8573 and 8483: _strerror might throw ValueError; asyncore.__getattr__ cheap inheritance caused confusing error messages when accessing undefined class attributes; added an alias for __str__ which now is used as a fallback for __repr__
........
Antoine Pitrou [Thu, 6 May 2010 14:15:10 +0000 (14:15 +0000)]
Merged revisions 80869 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80869 | antoine.pitrou | 2010-05-06 16:11:23 +0200 (jeu., 06 mai 2010) | 3 lines
`self` doesn't exist here
........
Brian Curtin [Thu, 6 May 2010 03:05:50 +0000 (03:05 +0000)]
Merged revisions 80857 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80857 | brian.curtin | 2010-05-05 21:54:44 -0500 (Wed, 05 May 2010) | 5 lines
Fix #7863. Properly identify Windows 7 and Server 2008 R2.
Removed various unused code and added a way to correctly determine
server vs. workstation via the registry.
........
R. David Murray [Thu, 6 May 2010 01:41:14 +0000 (01:41 +0000)]
Merged revisions 80800 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
It turns out that email5 (py3k), because it is using unicode for the
payload, doesn't do the encoding to the output character set until later
in the process. Specifically, charset.body_encode no longer does the
input-to-output charset conversion. So the if test in the exception
clause in encoders.encode_7or8bit really is needed in email5.
So, this merge only merges the test, not the removal of the 'if'.
........
r80800 | r.david.murray | 2010-05-05 13:31:03 -0400 (Wed, 05 May 2010) | 9 lines
Issue #7472: remove unused code from email.encoders.encode_7or8bit.
Yukihiro Nakadaira noticed a typo in encode_7or8bit that was trying
to special case iso-2022 codecs. It turns out that the code in
question is never used, because whereas it was designed to trigger
if the payload encoding was eight bit but its output encoding was
7 bit, in practice the payload is always converted to the 7bit
encoding before encode_7or8bit is called. Patch by Shawat Anand.
........
R. David Murray [Thu, 6 May 2010 01:09:27 +0000 (01:09 +0000)]
Merged revisions 80849 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80849 | r.david.murray | 2010-05-05 20:59:04 -0400 (Wed, 05 May 2010) | 4 lines
Have the serve.py script announce the directory it is
serving and which port it is serving it on (I can
never remember the default port number it uses...)
........
Victor Stinner [Thu, 6 May 2010 00:08:46 +0000 (00:08 +0000)]
Recorded merge of revisions 80844-80845 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80844 | victor.stinner | 2010-05-06 01:33:33 +0200 (jeu., 06 mai 2010) | 5 lines
Untabify Modules/posixmodule.c
Run Antoine Pitrou "untabify" script + manual editions (OS/2 and some
continuation lines).
........
r80845 | victor.stinner | 2010-05-06 02:03:44 +0200 (jeu., 06 mai 2010) | 4 lines
Untabify Modules/posixmodule.c (2)
Fix some more functions by hand
........
I rewrote the patch for py3k from scratch using untabify + manual editions
Mark Dickinson [Wed, 5 May 2010 22:44:34 +0000 (22:44 +0000)]
Blocked revisions 80839 via svnmerge
........
r80839 | mark.dickinson | 2010-05-05 23:42:51 +0100 (Wed, 05 May 2010) | 3 lines
Issue #1533: test_range in test_builtin: fix test comment and add test
for rejection of small floats. Thanks Alexander Belopolsky.
........
Tarek Ziadé [Wed, 5 May 2010 22:43:04 +0000 (22:43 +0000)]
Merged revisions 80837 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80837 | tarek.ziade | 2010-05-06 00:41:25 +0200 (Thu, 06 May 2010) | 1 line
removed non needed lines
........
Mark Dickinson [Wed, 5 May 2010 22:39:58 +0000 (22:39 +0000)]
Issue #1533: Merge added trunk range tests to py3k. (The fix itself
doesn't need to be merged.) Patch by Alexander Belopolsky.
Mark Dickinson [Wed, 5 May 2010 22:31:36 +0000 (22:31 +0000)]
Merged revisions 80832 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80832 | mark.dickinson | 2010-05-05 23:23:58 +0100 (Wed, 05 May 2010) | 2 lines
Issue #8625: Turn off gcc optimization in debug builds.
........
Tarek Ziadé [Wed, 5 May 2010 22:27:31 +0000 (22:27 +0000)]
Merged revisions 80830 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80830 | tarek.ziade | 2010-05-06 00:15:31 +0200 (Thu, 06 May 2010) | 1 line
Fixed #4265: shutil.copyfile() was leaking file descriptors when disk fills
........
Mark Dickinson [Wed, 5 May 2010 21:54:18 +0000 (21:54 +0000)]
Merged revisions 80826 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80826 | mark.dickinson | 2010-05-05 22:52:39 +0100 (Wed, 05 May 2010) | 1 line
Issue 8628: fix incorrect documentation for numbers.Complex.imag.
........
Victor Stinner [Wed, 5 May 2010 21:43:57 +0000 (21:43 +0000)]
Issue #8390: tarfile uses surrogateespace as the default error handler
(instead of replace in read mode or strict in write mode)
Ronald Oussoren [Wed, 5 May 2010 19:12:30 +0000 (19:12 +0000)]
Blocked revisions 80804 via svnmerge
........
r80804 | ronald.oussoren | 2010-05-05 21:09:31 +0200 (Wed, 05 May 2010) | 8 lines
In a number of places code still revers
to "sys.platform == 'mac'" and that is
dead code because it refers to a platform
that is no longer supported (and hasn't been
supported for several releases).
Fixes issue #7908 for the trunk.
........
Ronald Oussoren [Wed, 5 May 2010 19:11:21 +0000 (19:11 +0000)]
Remove traces of MacOS9 support.
Fix for issue #7908
Antoine Pitrou [Wed, 5 May 2010 18:30:22 +0000 (18:30 +0000)]
Merged revisions 80802 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80802 | antoine.pitrou | 2010-05-05 20:29:02 +0200 (mer., 05 mai 2010) | 3 lines
Issue #8600: fix test_gdb failures when gdb issues some spurious warnings.
........
Antoine Pitrou [Wed, 5 May 2010 16:31:07 +0000 (16:31 +0000)]
Merged revisions 80796 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80796 | antoine.pitrou | 2010-05-05 18:27:30 +0200 (mer., 05 mai 2010) | 3 lines
Untabify Modules/_io/fileio.c
........
Barry Warsaw [Wed, 5 May 2010 16:18:31 +0000 (16:18 +0000)]
Bug 7755: audiotest.au is arguably copyrighted material, but definitely makes
Debian unhappy. The actual contents of the audio clip are unimportant, so
replace it with something that we know is okay. Guido likes woodpeckers.
Antoine Pitrou [Wed, 5 May 2010 15:57:33 +0000 (15:57 +0000)]
Merged revisions 80789 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80789 | antoine.pitrou | 2010-05-05 17:53:45 +0200 (mer., 05 mai 2010) | 3 lines
Untabify Modules/_ssl.c
........
Ronald Oussoren [Wed, 5 May 2010 15:32:33 +0000 (15:32 +0000)]
Merged revisions 80784 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80784 | ronald.oussoren | 2010-05-05 16:48:37 +0200 (Wed, 05 May 2010) | 9 lines
The C function used by uuid.uuid4 is broken on
OSX 10.6 in that after os.fork() the parent and
child generate the same sequence of UUIDs.
This patch falls back to the the Python implementation
on OSX 10.6 or later.
Fixes issue #8621.
........
Marc-André Lemburg [Wed, 5 May 2010 13:32:59 +0000 (13:32 +0000)]
Merged revisions 80782 via svnmerge from
svn+pythonssh://pythondev@svn.python.org/python/trunk
........
r80782 | marc-andre.lemburg | 2010-05-05 15:30:01 +0200 (Wed, 05 May 2010) | 3 lines
Update the NEWS entry for issue #8211.
........
Ronald Oussoren [Wed, 5 May 2010 13:20:31 +0000 (13:20 +0000)]
Small update to Mac/Makefile to ensure that we
install python binaries that support all
architectures in a universal build.
Victor Stinner [Wed, 5 May 2010 12:42:20 +0000 (12:42 +0000)]
Blocked revisions 80777 via svnmerge
........
r80777 | victor.stinner | 2010-05-05 14:40:49 +0200 (mer., 05 mai 2010) | 3 lines
Issue #8313: traceback.format_exception_only() encodes unicode message to
ASCII with backslashreplace error handler if str(value) failed
........
Senthil Kumaran [Wed, 5 May 2010 07:22:18 +0000 (07:22 +0000)]
Fix issue8619 - Doc fix - code example.
Senthil Kumaran [Wed, 5 May 2010 05:32:16 +0000 (05:32 +0000)]
Fix Issue8619 docfix related to urllib.
Antoine Pitrou [Tue, 4 May 2010 23:31:41 +0000 (23:31 +0000)]
Add what's new entry for r80157 and r80071.
Michael Foord [Tue, 4 May 2010 22:29:10 +0000 (22:29 +0000)]
Fix error handling removing files in test.support.unlink
Thomas Heller [Tue, 4 May 2010 19:17:41 +0000 (19:17 +0000)]
Merged revisions 80761,80766 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80761 | thomas.heller | 2010-05-04 20:44:42 +0200 (Di, 04 Mai 2010) | 8 lines
On Windows, ctypes does no longer check the stack before and after
calling a foreign function. This allows to use the unmodified libffi
library.
Remove most files from _ctypes/libffi_msvc, only two include files
stay (updated from _ctypes/libffi/...). Other files are used in the
cross-platform _ctypes/libffi directory.
........
r80766 | thomas.heller | 2010-05-04 21:08:18 +0200 (Di, 04 Mai 2010) | 2 lines
Remove reference to unused source file.
........
Mark Dickinson [Tue, 4 May 2010 18:47:04 +0000 (18:47 +0000)]
Merged revisions 80762 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80762 | mark.dickinson | 2010-05-04 19:45:27 +0100 (Tue, 04 May 2010) | 3 lines
Fix test_gzip failure on OS X. The failure was a result of trying to fflush
a file that wasn't open for writing. Patch by Antoine Pitrou.
........
Mark Dickinson [Tue, 4 May 2010 16:50:06 +0000 (16:50 +0000)]
Blocked revisions 80758-80759 via svnmerge
........
r80758 | mark.dickinson | 2010-05-04 17:18:25 +0100 (Tue, 04 May 2010) | 9 lines
Issue #1533: fix inconsistency in range function argument processing:
any non-float non-integer argument is now converted to an integer (if
possible) using its __int__ method. Previously, only small arguments
were treated this way; larger arguments (those whose __int__ was
outside the range of a C long) would produce a TypeError.
Patch by Alexander Belopolsky (with minor modifications).
........
r80759 | mark.dickinson | 2010-05-04 17:19:06 +0100 (Tue, 04 May 2010) | 1 line
Fix trailing whitespace.
........
R. David Murray [Tue, 4 May 2010 16:17:50 +0000 (16:17 +0000)]
Recorded merge of revisions 80458 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
Sean merged this in r84059.
........
r80458 | sean.reifschneider | 2010-04-25 02:31:23 -0400 (Sun, 25 Apr 2010) | 3 lines
Fixing obscure syslog corner-case when sys.argv = None, syslog() would call
openlog() for every logged message.
........
Mark Dickinson [Tue, 4 May 2010 14:35:33 +0000 (14:35 +0000)]
Merged revisions 80753 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80753 | mark.dickinson | 2010-05-04 15:25:50 +0100 (Tue, 04 May 2010) | 10 lines
Issue #8567: Fix incorrect precedence of signals in Decimal module.
When a Decimal operation raises multiple signals and more than one of
those signals is trapped, the specification determines the order in
which the signals should be handled. In many cases this order wasn't
being followed, leading to the wrong Python exception being raised.
This commit fixes those cases, and adds extra tests. The tests are
only enabled when EXTENDEDERRORTESTS is True, since they involve
rerunning each Decimal testcase several times.
........
Alexandre Vassalotti [Tue, 4 May 2010 03:41:49 +0000 (03:41 +0000)]
Forward port unit tests for set operation and repr.
Patch by Alexander Belopolsky.
Alexandre Vassalotti [Tue, 4 May 2010 03:26:10 +0000 (03:26 +0000)]
Blocked revisions 80749 via svnmerge
........
r80749 | alexandre.vassalotti | 2010-05-03 20:21:51 -0700 (Mon, 03 May 2010) | 2 lines
Issue #8404: Fix set operations on dictionary views.
........
Benjamin Peterson [Tue, 4 May 2010 00:36:36 +0000 (00:36 +0000)]
Blocked revisions 80738 via svnmerge
........
r80738 | brett.cannon | 2010-05-03 19:30:17 -0500 (Mon, 03 May 2010) | 4 lines
Remove a redundant string length check and variable assignment.
Found with Clang's static analyzer.
........
Jesus Cea [Mon, 3 May 2010 21:18:48 +0000 (21:18 +0000)]
Deprecate OSF* support
Benjamin Peterson [Mon, 3 May 2010 21:09:59 +0000 (21:09 +0000)]
read eval_breaker with atomic api with computed gotos
Benjamin Peterson [Mon, 3 May 2010 20:55:22 +0000 (20:55 +0000)]
set svn:eol-style to native
Jeffrey Yasskin [Mon, 3 May 2010 19:29:34 +0000 (19:29 +0000)]
Make (most of) Python's tests pass under Thread Sanitizer.
http://code.google.com/p/data-race-test/wiki/ThreadSanitizer is a dynamic data
race detector that runs on top of valgrind. With this patch, the binaries at
http://code.google.com/p/data-race-test/wiki/ThreadSanitizer#Binaries pass many
but not all of the Python tests. All of regrtest still passes outside of tsan.
I've implemented part of the C1x atomic types so that we can explicitly mark
variables that are used across threads, and get defined behavior as compilers
advance.
I've added tsan's client header and implementation to the codebase in
dynamic_annotations.{h,c} (docs at
http://code.google.com/p/data-race-test/wiki/DynamicAnnotations).
Unfortunately, I haven't been able to get helgrind and drd to give sensible
error messages, even when I use their client annotations, so I'm not supporting
them.
Antoine Pitrou [Mon, 3 May 2010 16:48:20 +0000 (16:48 +0000)]
Merged revisions 80720 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80720 | antoine.pitrou | 2010-05-03 18:25:33 +0200 (lun., 03 mai 2010) | 5 lines
Issue #7865: The close() method of :mod:`io` objects should not swallow
exceptions raised by the implicit flush(). Also ensure that calling
close() several times is supported. Patch by Pascal Chambon.
........
Jesus Cea [Mon, 3 May 2010 16:14:58 +0000 (16:14 +0000)]
Merged revisions 80716 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80716 | jesus.cea | 2010-05-03 18:09:21 +0200 (Mon, 03 May 2010) | 1 line
wbits negative was documented SEVEN years ago
........
Antoine Pitrou [Mon, 3 May 2010 15:57:23 +0000 (15:57 +0000)]
Issue #8593: Fix, reorder and improve the documentation for argument parsing
Michael Foord [Sun, 2 May 2010 21:00:22 +0000 (21:00 +0000)]
Merged revisions 80708 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80708 | michael.foord | 2010-05-02 21:39:42 +0100 (Sun, 02 May 2010) | 1 line
Fix unittest tests to not abuse traceback.format_exception
........
Antoine Pitrou [Sun, 2 May 2010 19:59:47 +0000 (19:59 +0000)]
Merged revisions 80704 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80704 | antoine.pitrou | 2010-05-02 21:51:14 +0200 (dim., 02 mai 2010) | 4 lines
Issue #4687: Fix accuracy of garbage collection runtimes displayed with
gc.DEBUG_STATS.
........