Michael Foord
f707aa7f8b
Merged revisions 81055 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81055 | michael.foord | 2010-05-10 21:21:16 +0100 (Mon, 10 May 2010) | 1 line
Improving help message for python -m unittest. Issue 8303.
........
2010-05-10 20:23:58 +00:00
Mark Dickinson
85eacea31e
Merged revisions 81045 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81045 | mark.dickinson | 2010-05-10 17:07:42 +0100 (Mon, 10 May 2010) | 3 lines
Issue #8674 : Fix incorrect and UB-inducing overflow checks in audioop
module. Thanks Tomas Hoger for the patch.
........
2010-05-10 16:27:45 +00:00
Giampaolo Rodolà
8fc1178cf8
Merged revisions 81043 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81043 | giampaolo.rodola | 2010-05-10 17:33:22 +0200 (lun, 10 mag 2010) | 1 line
Issue #8490 : adds a more solid test suite for asyncore
........
2010-05-10 15:40:49 +00:00
Giampaolo Rodolà
bd576b75b7
Fix issue #4972 : adds ftplib.FTP context manager protocol
2010-05-10 14:53:29 +00:00
Antoine Pitrou
f95a1b3c53
Recorded merge of revisions 81029 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines
Untabify C files. Will watch buildbots.
........
2010-05-09 15:52:27 +00:00
Eric Smith
bd25030019
Blocked revisions 81026 via svnmerge
...
........
r81026 | eric.smith | 2010-05-09 10:04:59 -0400 (Sun, 09 May 2010) | 1 line
Issue 8671: Whitespace fix.
........
2010-05-09 14:09:25 +00:00
Mark Dickinson
c3f45c25de
Fix test_urllib2 failure on OS X.
2010-05-09 12:16:29 +00:00
Michael Foord
ffa2e4ee55
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.
........
2010-05-09 09:59:35 +00:00
Mark Dickinson
04afd1fb52
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.
........
2010-05-09 09:30:53 +00:00
Gregory P. Smith
3ea0062e0b
Replace /s with os.sep in the new internal_execvpe test. Hopefully fixes
...
this test on windows.
2010-05-09 03:36:42 +00:00
Benjamin Peterson
31191a9cc5
make condition more specific
2010-05-09 03:22:58 +00:00
Jean-Paul Calderone
6f137ca469
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.
........
2010-05-09 03:18:57 +00:00
Victor Stinner
bf9bcab98e
Write tests for the new function os.fsencode()
2010-05-09 03:15:33 +00:00
Benjamin Peterson
09fe64cdf9
remove svn:mergeinfo
2010-05-08 21:05:35 +00:00
Benjamin Peterson
f4ba1cf93c
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
........
2010-05-08 21:03:44 +00:00
Benjamin Peterson
e87c0fcd16
add news for r81005
2010-05-08 19:52:49 +00:00
Benjamin Peterson
25216baf32
Create __pycache__ dir when the pyc path is explicitly given
...
Patch from Arfrever Frehtes Taifersar Arahesis.
2010-05-08 19:52:21 +00:00
Benjamin Peterson
e5da82ff4c
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
........
2010-05-08 18:57:34 +00:00
Gregory P. Smith
4ae377755a
Adds a unittest for the internal os._execvpe function.
2010-05-08 18:05:46 +00:00
Michael Foord
73162197aa
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.
........
2010-05-08 17:10:05 +00:00
Benjamin Peterson
06507eb791
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
........
2010-05-08 16:51:16 +00:00
Michael Foord
e3ef5f1201
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.
........
2010-05-08 16:46:14 +00:00
Benjamin Peterson
3c451e6d9e
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
........
2010-05-08 15:51:23 +00:00
Benjamin Peterson
905982b6f9
replace long with int
2010-05-08 15:26:30 +00:00
Michael Foord
16f3e90af7
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.
........
2010-05-08 15:13:42 +00:00
Mark Dickinson
0381e3f16a
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.
2010-05-08 14:35:02 +00:00
Michael Foord
161b024b6d
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.
........
2010-05-08 13:23:31 +00:00
Matthias Klose
099e45674c
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
........
2010-05-08 11:12:56 +00:00
Victor Stinner
449c466e7d
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.
2010-05-08 11:10:09 +00:00
Ronald Oussoren
4cda46ab91
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.
........
2010-05-08 10:49:43 +00:00
Mark Dickinson
e97ecba241
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.
........
2010-05-08 08:03:09 +00:00
Senthil Kumaran
06f5a53a7a
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.
........
2010-05-08 05:12:05 +00:00
Senthil Kumaran
4fbed10455
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
........
2010-05-08 03:29:09 +00:00
Victor Stinner
77ccd6d0c7
posix_error_with_allocated_filename() decodes the filename with
...
PyUnicode_DecodeFSDefaultAndSize() and call
PyErr_SetFromErrnoWithFilenameObject() instead of
PyErr_SetFromErrnoWithFilename()
2010-05-08 00:36:42 +00:00
Victor Stinner
8d93e49a93
PyErr_SetFromErrnoWithFilename() decodes the filename using
...
PyUnicode_DecodeFSDefault() instead of PyUnicode_FromString()
2010-05-08 00:35:33 +00:00
Victor Stinner
b001df0040
err_input(): don't encode/decode the unicode message
2010-05-08 00:07:07 +00:00
Michael Foord
3b2494f38c
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.
........
2010-05-07 23:42:40 +00:00
Benjamin Peterson
135d87c23c
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
........
2010-05-07 20:47:43 +00:00
Benjamin Peterson
ad465f904b
alias PyUnicode_CompareWithASCII
2010-05-07 20:21:26 +00:00
Benjamin Peterson
8d26b0be6d
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
........
................
2010-05-07 19:10:11 +00:00
Michael Foord
01984e9629
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.
........
2010-05-07 18:18:14 +00:00
Antoine Pitrou
8956271f11
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.
........
2010-05-07 17:04:02 +00:00
Benjamin Peterson
02a004ea1d
correct call
2010-05-07 16:42:51 +00:00
Victor Stinner
97c18ab6a5
Replace PyUnicode_Decode(buf, strlen(buf), Py_FileSystemDefaultEncoding,
...
"surrogateescape") by PyUnicode_DecodeFSDefault(val).
2010-05-07 16:34:53 +00:00
Michael Foord
56fdb75453
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.
........
2010-05-07 16:00:30 +00:00
Michael Foord
4a8cf3c50b
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.
........
2010-05-07 15:35:24 +00:00
Senthil Kumaran
dd3820f275
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.
........
2010-05-07 04:19:23 +00:00
Victor Stinner
a3032807f9
regrtest.py: disable replace_stdout() on Windows until it is fixed
...
See issue #8533 (problem with newlines on Windows).
2010-05-07 00:57:12 +00:00
Victor Stinner
208d28cd41
Fix test_os: os.environb doesn't exist on Windows
2010-05-07 00:54:14 +00:00
Victor Stinner
8124feb07b
module_repr(): use %U to format the file name
...
Avoid useless encode/decode of the filename
2010-05-07 00:50:12 +00:00