summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Blocked revisions 87430 via svnmergeR. David Murray2010-12-210-0/+0
| | | | | | | | | | | | | | | ........ r87430 | r.david.murray | 2010-12-21 16:53:37 -0500 (Tue, 21 Dec 2010) | 9 lines #4871: check that zipfile password is bytes, and give useful error message. Previously passing a string in as the password would fail either with an assertion error or a TypeError with a confusing error message. Note that a string can't be accepted since zipfile has no way to guess what encoding should be used to turn it into bytes. Patch by Victor Stinner. ........
* Merged revisions 87427 via svnmerge fromAntoine Pitrou2010-12-214-9/+32
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87427 | antoine.pitrou | 2010-12-21 22:20:59 +0100 (mar., 21 déc. 2010) | 3 lines Issue #10750: The `raw` attribute of buffered IO objects is now read-only. ........
* Merged revisions 87421 via svnmerge fromAntoine Pitrou2010-12-211-1/+11
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87421 | antoine.pitrou | 2010-12-21 19:49:01 +0100 (mar., 21 déc. 2010) | 4 lines Suggest sys.maxsize as a reliable way to know whether the interpreter is 64-bit. (part of #10735) ........
* Blocked revisions 87418 via svnmergeR. David Murray2010-12-210-0/+0
| | | | | | | | | | | | | | | ........ r87418 | r.david.murray | 2010-12-21 13:24:33 -0500 (Tue, 21 Dec 2010) | 10 lines Make test_compileall more robust by using -S to keep sys.path minimized. Try this again, hopefully the right way this time. Arfrever Taifersar Arahesis reported that test_compileall failed during Gentoo install because it was tyring to write .pyc files to a read-only system directory during test_no_args_compiles_path. Having the tests call python with -S should eliminate the system directories from the path. ........
* Merged revisions 87415 via svnmerge fromR. David Murray2010-12-212-1/+13
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87415 | r.david.murray | 2010-12-21 13:07:59 -0500 (Tue, 21 Dec 2010) | 4 lines Fix the change made for issue 1243654. Surprisingly, it turns out there was no test that exercised this code path. ........
* #10748: add versionchanged for non-trivial bugfix.Georg Brandl2010-12-211-3/+4
|
* Blocked revisions 87411 via svnmergeR. David Murray2010-12-200-0/+0
| | | | | | | | ........ r87411 | r.david.murray | 2010-12-20 14:04:51 -0500 (Mon, 20 Dec 2010) | 2 lines Revert incorrect patch made at the wrong time. ........
* Blocked revisions 87408 via svnmergeR. David Murray2010-12-200-0/+0
| | | | | | | | | | | | | ........ r87408 | r.david.murray | 2010-12-20 13:08:59 -0500 (Mon, 20 Dec 2010) | 8 lines Make test_compileall more robust by using -S to keep sys.path minimized. Arfrever Taifersar Arahesis reported that test_compileall failed during Gentoo install because it was tyring to write .pyc files to a read-only system directory during test_no_args_compiles_path. Having subprocess call python with -S should eliminate the system directories from the path. ........
* Issue 10242. Switching unittest.TestCase.assertItemsEqual to use a ↵Michael Foord2010-12-193-14/+22
| | | | | | collections.Counter under the hood. This fixes bugs when comparing collections of items like sets that can be sorted without raising an exception but where sorting has no meaning.
* Issue 10611. SystemExit should not cause a unittest test run to exit.Michael Foord2010-12-193-4/+66
|
* Improvement to fix for issue 9926 to allow TestResult to be reused.Michael Foord2010-12-192-1/+6
|
* Merged revisions 87027 via svnmerge fromR. David Murray2010-12-181-0/+1
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87027 | gregory.p.smith | 2010-12-04 06:36:58 -0500 (Sat, 04 Dec 2010) | 3 lines issue10622: fix superflous scrollbar on the right side of <pre> boxes in the generated html docs. visible in chrome, possibly other webkit browsers. ........
* Blocked revisions 87384 via svnmergeR. David Murray2010-12-180-0/+0
| | | | | | | | | | | | | | | | | | ........ r87384 | r.david.murray | 2010-12-18 13:25:38 -0500 (Sat, 18 Dec 2010) | 12 lines #9286: Fix the rfc822 parser to preserve whitespace in address local part. Such addresses are not RFC compliant except under the 'obsolete syntax' rules, but before this fix the whitespace was dropped from the input, concatenating the pieces. That breaks one of the principles of the email package, that of preserving the input as much as possible. It also denies the application program the opportunity to apply its own heuristics to interpretation of such non-compliant addresses. It is possible users of the email package were depending on the local part always being a single token, so this fix will not be backported. ........
* Merged revisions 87373,87381 via svnmerge fromAntoine Pitrou2010-12-183-5/+56
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k BaseHTTPServer isn't fixed, this would require too much refactoring. ........ r87373 | senthil.kumaran | 2010-12-18 17:55:23 +0100 (sam., 18 déc. 2010) | 3 lines Fix Issue6791 - Limit the HTTP header readline with _MAXLENGTH. Patch by Antoine Pitrou ........ r87381 | antoine.pitrou | 2010-12-18 18:59:18 +0100 (sam., 18 déc. 2010) | 3 lines NEWS entry for r87373 ........
* Merged revisions 87377 via svnmerge fromEzio Melotti2010-12-182-8/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87377 | ezio.melotti | 2010-12-18 18:31:58 +0100 (Sat, 18 Dec 2010) | 1 line Use lowercase true/false in assertTrue/assertFalse messages. ........
* Merged revisions 87374 via svnmerge fromR. David Murray2010-12-182-2/+11
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87374 | r.david.murray | 2010-12-18 12:19:10 -0500 (Sat, 18 Dec 2010) | 8 lines #10404: Use ctl-button-1 for context menus on OSX Idle. This provides access to the context menus where they previously could not be accessed due to the way OSX Tk binds buttons. It also improves platform consistency. Patch by Ned Deily. ........
* Blocked revisions 87368 via svnmergeEzio Melotti2010-12-180-0/+0
| | | | | | | | ........ r87368 | ezio.melotti | 2010-12-18 15:59:43 +0100 (Sat, 18 Dec 2010) | 1 line #5587: add a repr to dict_proxy objects. Patch by David Stanek and Daniel Urban. ........
* Merged revisions 87356 via svnmerge fromR. David Murray2010-12-182-2/+18
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87356 | r.david.murray | 2010-12-17 22:48:32 -0500 (Fri, 17 Dec 2010) | 11 lines #9907: call rl_initialize early when using editline on OSX editline rl_initialize apparently discards any mappings done before it is called, which makes tab revert to file completion instead of inserting a tab. So now on OSX we call rl_initialize first if we are using readline, and then re-read the users .editrc (if any) afterward so they can still override our defaults. Patch by Ned Deily, modified by Ronald Oussoren. ........
* Revert doc patch committed to the wrong branch: "Issue 2690: Doc fixup. ↵Daniel Stutzbach2010-12-171-1/+1
| | | | xrange() objects are slicable."
* Merged revisions 87341 via svnmerge fromAntoine Pitrou2010-12-172-2/+12
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87341 | antoine.pitrou | 2010-12-17 18:42:16 +0100 (ven., 17 déc. 2010) | 4 lines Issue #4188: Avoid creating dummy thread objects when logging operations from the threading module (with the internal verbose flag activated). ........
* Merged revisions 87329 via svnmerge fromSenthil Kumaran2010-12-173-7/+7
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87329 | senthil.kumaran | 2010-12-17 12:48:45 +0800 (Fri, 17 Dec 2010) | 3 lines Fix Issue9721 - urljoin behavior when the relative url starts with ';' ........
* Blocked revisions 87324 via svnmergeR. David Murray2010-12-160-0/+0
| | | | | | | | | | | | | | | | | | The risk of breakage (since the tests aren't backported) seems higher than the benefit for a point release, since this is not a semantic change. ........ r87324 | r.david.murray | 2010-12-16 14:08:51 -0500 (Thu, 16 Dec 2010) | 9 lines #10719: restore messages generated on invalid compileall args Before the introduction of filename arguments to compileall it gave semi useful messages about not being able to 'list' names that weren't valid directories. This fix restores that behavior. In addition to the test for this case, the patch also adds a test for the default behavior of compileall when no arguments are provided, and fixes a bug in one of the previously added tests. ........
* svnmerge fooled me. That test class already existed.Antoine Pitrou2010-12-161-88/+9
|
* Merged revisions 87317 via svnmerge fromAntoine Pitrou2010-12-164-1/+120
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87317 | antoine.pitrou | 2010-12-16 17:48:36 +0100 (jeu., 16 déc. 2010) | 4 lines Issue #10714: Limit length of incoming request in http.server to 65536 bytes for security reasons. Initial patch by Ross Lagerwall. ........ (also backported some tests)
* Blocked revisions 87312 via svnmergeÉric Araujo2010-12-160-0/+0
| | | | | | | | ........ r87312 | eric.araujo | 2010-12-16 07:28:48 +0100 (jeu., 16 déc. 2010) | 2 lines Add missing docs and directives related to PEP 3147 and byte-compilation ........
* Add missing doc from r79533Éric Araujo2010-12-161-0/+5
|
* Add doc for compileall.compile_fileÉric Araujo2010-12-162-11/+25
|
* Merged revisions 86521,86632,86823-86824,87294,87296,87300,87302 via ↵Éric Araujo2010-12-1613-173/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86521 | eric.araujo | 2010-11-18 17:38:46 +0100 (jeu., 18 nov. 2010) | 17 lines Fix usage of :option: in the docs (#9312). :option: is used to create a link to an option of python, not to mark up any instance of any arbitrary command-line option. These were changed to ````. For modules which do have a command-line interface, lists of options have been properly marked up with the program/cmdoption directives combo. Options defined in such blocks can be linked to with :option: later in the same file, they won’t link to an option of python. Finally, the markup of command-line fragments in optparse.rst has been cleaned to use ``x`` instead of ``"x"``, keeping that latter form for actual Python strings. Patch by Eli Bendersky and Éric Araujo. ........ r86632 | eric.araujo | 2010-11-21 04:09:17 +0100 (dim., 21 nov. 2010) | 2 lines Style edits in followup to r86521 (#9312) ........ r86823 | eric.araujo | 2010-11-27 00:31:07 +0100 (sam., 27 nov. 2010) | 2 lines Use link-generating markup (see #9312) ........ r86824 | eric.araujo | 2010-11-27 00:46:18 +0100 (sam., 27 nov. 2010) | 2 lines Rewrap long lines + minor edits ........ r87294 | eric.araujo | 2010-12-16 01:07:01 +0100 (jeu., 16 déc. 2010) | 2 lines No need to generate a link for something that’s just above. ........ r87296 | eric.araujo | 2010-12-16 01:23:30 +0100 (jeu., 16 déc. 2010) | 2 lines Advertise “python -m” instead of direct filename. ........ r87300 | eric.araujo | 2010-12-16 02:40:26 +0100 (jeu., 16 déc. 2010) | 2 lines Advertise “python -m test” over test.regrtest (r87296 followup) ........ r87302 | eric.araujo | 2010-12-16 03:10:11 +0100 (jeu., 16 déc. 2010) | 2 lines Add versionadded directive missing from r78983. ........
* Merged revisions 87289 via svnmerge fromÉric Araujo2010-12-151-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87289 | eric.araujo | 2010-12-15 23:37:27 +0100 (mer., 15 déc. 2010) | 2 lines Mark up one missed None in pkgutil.rst (#8851) ........
* Merged revisions 87283 via svnmerge fromÉric Araujo2010-12-151-16/+23
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87283 | eric.araujo | 2010-12-15 23:06:35 +0100 (mer., 15 déc. 2010) | 2 lines Add disclaimer about MinGW compat in distutils docs (#6007). Patch by Chris Lambacher. ........
* Merged revisions 87280 via svnmerge fromÉric Araujo2010-12-152-1/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87280 | eric.araujo | 2010-12-15 22:07:22 +0100 (mer., 15 déc. 2010) | 2 lines Fix build_ext with VS 8.0. Patch by Hirokazu Yamamoto (#9558). ........
* Merged revisions 87277 via svnmerge fromÉric Araujo2010-12-153-4/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87277 | eric.araujo | 2010-12-15 21:26:30 +0100 (mer., 15 déc. 2010) | 2 lines Fix wrong name in docstring and doc (#10693). Original patch by Eli Benderski. ........
* Merged revisions 87251 via svnmerge fromR. David Murray2010-12-153-3/+20
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87251 | r.david.murray | 2010-12-14 18:06:25 -0500 (Tue, 14 Dec 2010) | 4 lines #4236: avoid possible Fatal Error when import is called from __del__ Patch by Simon Cross, crasher test code by Martin von Löwis. ........
* Blocked revisions 87248 via svnmergeR. David Murray2010-12-140-0/+0
| | | | | | | | ........ r87248 | r.david.murray | 2010-12-14 17:32:50 -0500 (Tue, 14 Dec 2010) | 2 lines More comprehensive compileall cli tests, and fixes. ........
* SIGCHLD is a more portable name than SIGCLD (OSX has no SIGCLD).Gregory P. Smith2010-12-141-1/+1
|
* Merged revisions 87238 via svnmerge fromR. David Murray2010-12-145-4/+16
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87238 | r.david.murray | 2010-12-14 11:20:53 -0500 (Tue, 14 Dec 2010) | 7 lines #775964: skip YP/NIS entries instead of failing the test Also includes doc updates mentioning that these entries may not be retrievable via getgrnam and getgrgid. Patch by Bobby Impollonia. ........
* Merged revisions 87233 via svnmerge fromGregory P. Smith2010-12-144-2/+34
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87233 | gregory.p.smith | 2010-12-14 06:38:00 -0800 (Tue, 14 Dec 2010) | 4 lines Issue #1731717: Fixed the problem where subprocess.wait() could cause an OSError exception when The OS had been told to ignore SIGCLD in our process or otherwise not wait for exiting child processes. ........
* Merged revisions 87230 via svnmerge fromR. David Murray2010-12-142-1/+4
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87230 | r.david.murray | 2010-12-14 09:16:20 -0500 (Tue, 14 Dec 2010) | 7 lines #10695: use %s not %d so that a string 'port' does not cause a debug traceback Passing the port as a string value works fine in regular mode, but if you turned debug on it would throw an error trying to print the port number, which is surprising and confusing. ........
* Merged revisions 87225 via svnmerge fromR. David Murray2010-12-1414-13/+352
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87225 | r.david.murray | 2010-12-13 20:38:16 -0500 (Mon, 13 Dec 2010) | 2 lines 9162: fix license in multiprocessing files ........
* Merged revisions 87222 via svnmerge fromR. David Murray2010-12-141-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87222 | r.david.murray | 2010-12-13 20:22:50 -0500 (Mon, 13 Dec 2010) | 2 lines Use skipIf instead of a return when attribute doesn't exist. ........
* Blocked revisions 87217 via svnmergeR. David Murray2010-12-140-0/+0
| | | | | | | | | | | ........ r87217 | r.david.murray | 2010-12-13 18:51:19 -0500 (Mon, 13 Dec 2010) | 5 lines #1078919: make add_header automatically do RFC2231 encoding when needed. Also document the use of three-tuples if control of the charset and language is desired. ........
* #1078919: document requirement to use triples for non-ascii add_header parms.R. David Murray2010-12-143-4/+38
|
* Merged revisions 87191 via svnmerge fromR. David Murray2010-12-121-12/+6
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87191 | r.david.murray | 2010-12-12 15:06:19 -0500 (Sun, 12 Dec 2010) | 6 lines #243654: only create a new MIME boundary if we don't already have one. The rearranged code should do exactly what the old code did, but the new code avoids a potentially costly re computation in the case where a boundary already exists. ........
* #10676: fix bad wording in parallel with the lang ref.Georg Brandl2010-12-111-3/+3
|
* regenerate symbol.pyBenjamin Peterson2010-12-111-14/+13
|
* remove dictmaker rule; it's unusedBenjamin Peterson2010-12-114-230/+203
|
* Blocked revisions 85087,85178 via svnmergeR. David Murray2010-12-110-0/+0
| | | | | | | | | | | | ........ r85087 | r.david.murray | 2010-09-28 21:22:20 -0400 (Tue, 28 Sep 2010) | 2 lines Have test_sqlite print version info when run in verbose mode. ........ r85178 | r.david.murray | 2010-10-02 09:29:13 -0400 (Sat, 02 Oct 2010) | 2 lines Make the printing of sqlite version in verbose mode work with regrtest -w. ........
* Merged revisions 85678 via svnmerge fromR. David Murray2010-12-112-1/+11
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85678 | r.david.murray | 2010-10-17 21:14:06 -0400 (Sun, 17 Oct 2010) | 5 lines #678250: Make mmap flush a noop on ACCESS_READ and ACCESS_COPY. Patch by Sébastien Sablé. This solves a test_mmap failure on AIX. ........
* Issue 2690: Doc fixup. xrange() objects are slicable.Raymond Hettinger2010-12-111-1/+1
|
* #10658: Fix link.Georg Brandl2010-12-091-1/+1
|