summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 81079 via svnmerge fromMark Dickinson2010-05-111-17/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81079 | mark.dickinson | 2010-05-11 14:05:30 +0100 (Tue, 11 May 2010) | 1 line Issue #8674: fix another bogus overflow check in audioop module. ........
* Recorded merge of revisions 81077 via svnmerge fromMark Dickinson2010-05-112-25/+11
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81077 | mark.dickinson | 2010-05-11 09:55:06 +0100 (Tue, 11 May 2010) | 3 lines Issue #8510: Remove nested 'main' functions (causing failure) in 3 configure tests; remove some unnecessary '#include "confdefs.h"' lines. Thanks Roumen Petrov. ........
* remove now useless __ne__Benjamin Peterson2010-05-111-3/+0
|
* Merged revisions 81073 via svnmerge fromAndrew M. Kuchling2010-05-101-40/+40
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81073 | andrew.kuchling | 2010-05-10 19:27:01 -0400 (Mon, 10 May 2010) | 1 line Use ';' after initialization macros to avoid confusing re-indenters ........
* Merged revisions 81072 via svnmerge fromAndrew M. Kuchling2010-05-101-7/+14
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81072 | andrew.kuchling | 2010-05-10 19:24:09 -0400 (Mon, 10 May 2010) | 1 line Break long line in macros ........
* Merged revisions 81049 via svnmerge fromAndrew M. Kuchling2010-05-101-4/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81049 | andrew.kuchling | 2010-05-10 13:18:25 -0400 (Mon, 10 May 2010) | 1 line Move { out of #if...#else block; this confuses Emacs' C-mode ........
* Merged revisions 81037 via svnmerge fromMark Dickinson2010-05-101-33/+39
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81037 | mark.dickinson | 2010-05-09 21:42:09 +0100 (Sun, 09 May 2010) | 1 line Wrap multiline macros in a 'do {} while(0)', for safety. ........
* Merged revisions 81036 via svnmerge fromMark Dickinson2010-05-101-102/+101
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81036 | mark.dickinson | 2010-05-09 21:30:29 +0100 (Sun, 09 May 2010) | 1 line Post-detabification cleanup: whitespace fixes and long line rewraps only. ........
* Fix nits in the lexical analysis section: \u requires four digits, backtick ↵Georg Brandl2010-05-101-4/+4
| | | | is not allowed in source in 3.x.
* remove reference to second argument to raise #8676Benjamin Peterson2010-05-101-4/+4
|
* Merged revisions 81055 via svnmerge fromMichael Foord2010-05-102-6/+7
| | | | | | | | | | 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. ........
* Merged revisions 81045 via svnmerge fromMark Dickinson2010-05-103-28/+25
| | | | | | | | | | | 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. ........
* Merged revisions 81043 via svnmerge fromGiampaolo Rodolà2010-05-101-1/+275
| | | | | | | | | | 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 ........
* Fix issue #4972: adds ftplib.FTP context manager protocolGiampaolo Rodolà2010-05-105-11/+99
|
* Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou2010-05-09248-119625/+119625
| | | | | | | | | | 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. ........
* Blocked revisions 81026 via svnmergeEric Smith2010-05-090-0/+0
| | | | | | | | ........ r81026 | eric.smith | 2010-05-09 10:04:59 -0400 (Sun, 09 May 2010) | 1 line Issue 8671: Whitespace fix. ........
* Fix test_urllib2 failure on OS X.Mark Dickinson2010-05-091-1/+1
|
* Merged revisions 81022 via svnmerge fromMichael Foord2010-05-091-0/+45
| | | | | | | | | | 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. ........
* Blocked revisions 81020 via svnmergeMark Dickinson2010-05-090-0/+0
| | | | | | | | | ........ 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. ........
* Replace /s with os.sep in the new internal_execvpe test. Hopefully fixesGregory P. Smith2010-05-091-5/+8
| | | | this test on windows.
* make condition more specificBenjamin Peterson2010-05-091-1/+2
|
* Merged revisions 81007 via svnmerge fromJean-Paul Calderone2010-05-094-18/+87
| | | | | | | | | | 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. ........
* Write tests for the new function os.fsencode()Victor Stinner2010-05-091-1/+9
|
* remove svn:mergeinfoBenjamin Peterson2010-05-080-0/+0
|
* Blocked revisions 81008 via svnmergeBenjamin Peterson2010-05-080-0/+0
| | | | | | | | ........ r81008 | benjamin.peterson | 2010-05-08 15:59:42 -0500 (Sat, 08 May 2010) | 1 line remove svn:mergeinfo property ........
* add news for r81005Benjamin Peterson2010-05-081-0/+3
|
* Create __pycache__ dir when the pyc path is explicitly givenBenjamin Peterson2010-05-082-11/+5
| | | | Patch from Arfrever Frehtes Taifersar Arahesis.
* Blocked revisions 80996,80998,81002 via svnmergeBenjamin Peterson2010-05-080-0/+0
| | | | | | | | | | | | | | | | ........ 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 ........
* Adds a unittest for the internal os._execvpe function.Gregory P. Smith2010-05-081-0/+49
|
* Merged revisions 80997 via svnmerge fromMichael Foord2010-05-082-1/+19
| | | | | | | | | | 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. ........
* Merged revisions 80991 via svnmerge fromBenjamin Peterson2010-05-081-9/+14
| | | | | | | | | | 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 ........
* Merged revisions 80990 via svnmerge fromMichael Foord2010-05-082-3/+5
| | | | | | | | | | 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. ........
* Merged revisions 80986-80987 via svnmerge fromBenjamin Peterson2010-05-081-2/+2
| | | | | | | | | | | | | | 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 ........
* replace long with intBenjamin Peterson2010-05-081-3/+3
|
* Merged revisions 80980 via svnmerge fromMichael Foord2010-05-081-0/+21
| | | | | | | | | | 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. ........
* Issue #8644: Improve accuracy of timedelta.total_seconds, by doing intermediateMark Dickinson2010-05-084-4/+33
| | | | | | | computations with integer arithmetic instead of floating point. td.total_seconds() now agrees with td / timedelta(seconds = 1). Thanks Alexander Belopolsky for the patch.
* Merged revisions 80974 via svnmerge fromMichael Foord2010-05-081-0/+17
| | | | | | | | | | 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. ........
* Blocked revisions 80964-80966,80969-80970 via svnmergeMatthias Klose2010-05-080-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | ........ 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 ........
* Issue #8514: Add os.fsencode() function (Unix only): encode a string to bytesVictor Stinner2010-05-084-11/+28
| | | | for use in the file system, environment variables or the command line.
* Merged revisions 80967 via svnmerge fromRonald Oussoren2010-05-083-7/+34
| | | | | | | | | | | | 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. ........
* Merged revisions 80961 via svnmerge fromMark Dickinson2010-05-081-5/+2
| | | | | | | | | | 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. ........
* Merged revisions 80957 via svnmerge fromSenthil Kumaran2010-05-081-5/+8
| | | | | | | | | | 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. ........
* Merged revisions 80953 via svnmerge fromSenthil Kumaran2010-05-082-2/+4
| | | | | | | | | | 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 ........
* posix_error_with_allocated_filename() decodes the filename withVictor Stinner2010-05-081-2/+6
| | | | | | PyUnicode_DecodeFSDefaultAndSize() and call PyErr_SetFromErrnoWithFilenameObject() instead of PyErr_SetFromErrnoWithFilename()
* PyErr_SetFromErrnoWithFilename() decodes the filename usingVictor Stinner2010-05-081-1/+1
| | | | PyUnicode_DecodeFSDefault() instead of PyUnicode_FromString()
* err_input(): don't encode/decode the unicode messageVictor Stinner2010-05-081-13/+12
|
* Merged revisions 80946 via svnmerge fromMichael Foord2010-05-072-3/+58
| | | | | | | | | | 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. ........
* Merged revisions 80939 via svnmerge fromBenjamin Peterson2010-05-072-53/+1
| | | | | | | | | | 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 ........
* alias PyUnicode_CompareWithASCIIBenjamin Peterson2010-05-071-0/+2
|
* Merged revisions 80934 via svnmerge fromBenjamin Peterson2010-05-0713-88/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ........ ................