summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 80800 via svnmerge fromR. David Murray2010-05-061-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | 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. ........
* Merged revisions 80849 via svnmerge fromR. David Murray2010-05-061-0/+1
| | | | | | | | | | | | 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...) ........
* Recorded merge of revisions 80844-80845 via svnmerge fromVictor Stinner2010-05-061-3871/+3872
| | | | | | | | | | | | | | | | | | | | | 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
* Blocked revisions 80839 via svnmergeMark Dickinson2010-05-050-0/+0
| | | | | | | | | ........ 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. ........
* Merged revisions 80837 via svnmerge fromTarek Ziadé2010-05-051-2/+1
| | | | | | | | | | 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 ........
* Issue #1533: Merge added trunk range tests to py3k. (The fix itselfMark Dickinson2010-05-051-2/+42
| | | | doesn't need to be merged.) Patch by Alexander Belopolsky.
* Merged revisions 80832 via svnmerge fromMark Dickinson2010-05-053-4/+11
| | | | | | | | | | 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. ........
* Merged revisions 80830 via svnmerge fromTarek Ziadé2010-05-053-10/+111
| | | | | | | | | | 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 ........
* Merged revisions 80826 via svnmerge fromMark Dickinson2010-05-051-2/+2
| | | | | | | | | | 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. ........
* Issue #8390: tarfile uses surrogateespace as the default error handlerVictor Stinner2010-05-054-19/+21
| | | | (instead of replace in read mode or strict in write mode)
* Blocked revisions 80804 via svnmergeRonald Oussoren2010-05-050-0/+0
| | | | | | | | | | | | | | ........ 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. ........
* Remove traces of MacOS9 support.Ronald Oussoren2010-05-0520-197/+53
| | | | Fix for issue #7908
* Merged revisions 80802 via svnmerge fromAntoine Pitrou2010-05-051-0/+5
| | | | | | | | | | 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. ........
* Merged revisions 80796 via svnmerge fromAntoine Pitrou2010-05-051-700/+700
| | | | | | | | | | 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 ........
* Bug 7755: audiotest.au is arguably copyrighted material, but definitely makesBarry Warsaw2010-05-054-1/+3
| | | | | Debian unhappy. The actual contents of the audio clip are unimportant, so replace it with something that we know is okay. Guido likes woodpeckers.
* Merged revisions 80789 via svnmerge fromAntoine Pitrou2010-05-051-1417/+1417
| | | | | | | | | | 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 ........
* Merged revisions 80784 via svnmerge fromRonald Oussoren2010-05-053-0/+44
| | | | | | | | | | | | | | | | | 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. ........
* Merged revisions 80782 via svnmerge fromMarc-André Lemburg2010-05-051-2/+2
| | | | | | | | | | 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. ........
* Small update to Mac/Makefile to ensure that weRonald Oussoren2010-05-051-2/+2
| | | | | install python binaries that support all architectures in a universal build.
* Blocked revisions 80777 via svnmergeVictor Stinner2010-05-050-0/+0
| | | | | | | | | ........ 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 ........
* Fix issue8619 - Doc fix - code example.Senthil Kumaran2010-05-051-1/+1
|
* Fix Issue8619 docfix related to urllib.Senthil Kumaran2010-05-051-4/+4
|
* Add what's new entry for r80157 and r80071.Antoine Pitrou2010-05-041-0/+5
|
* Fix error handling removing files in test.support.unlinkMichael Foord2010-05-041-1/+2
|
* Merged revisions 80761,80766 via svnmerge fromThomas Heller2010-05-0415-1951/+376
| | | | | | | | | | | | | | | | | | | | 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. ........
* Merged revisions 80762 via svnmerge fromMark Dickinson2010-05-041-1/+1
| | | | | | | | | | | 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. ........
* Blocked revisions 80758-80759 via svnmergeMark Dickinson2010-05-040-0/+0
| | | | | | | | | | | | | | | | | | ........ 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. ........
* Recorded merge of revisions 80458 via svnmerge fromR. David Murray2010-05-040-0/+0
| | | | | | | | | | | | | 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. ........
* Merged revisions 80753 via svnmerge fromMark Dickinson2010-05-043-43/+114
| | | | | | | | | | | | | | | | | | 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. ........
* Forward port unit tests for set operation and repr.Alexandre Vassalotti2010-05-041-0/+76
| | | | Patch by Alexander Belopolsky.
* Blocked revisions 80749 via svnmergeAlexandre Vassalotti2010-05-040-0/+0
| | | | | | | | ........ r80749 | alexandre.vassalotti | 2010-05-03 20:21:51 -0700 (Mon, 03 May 2010) | 2 lines Issue #8404: Fix set operations on dictionary views. ........
* Blocked revisions 80738 via svnmergeBenjamin Peterson2010-05-040-0/+0
| | | | | | | | | | ........ 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. ........
* Deprecate OSF* supportJesus Cea2010-05-033-0/+16
|
* read eval_breaker with atomic api with computed gotosBenjamin Peterson2010-05-031-1/+1
|
* set svn:eol-style to nativeBenjamin Peterson2010-05-030-0/+0
|
* Make (most of) Python's tests pass under Thread Sanitizer.Jeffrey Yasskin2010-05-0317-63/+971
| | | | | | | | | | | | | | | | | | 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.
* Merged revisions 80720 via svnmerge fromAntoine Pitrou2010-05-037-31/+80
| | | | | | | | | | | | 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. ........
* Merged revisions 80716 via svnmerge fromJesus Cea2010-05-031-3/+1
| | | | | | | | | | 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 ........
* Issue #8593: Fix, reorder and improve the documentation for argument parsingAntoine Pitrou2010-05-031-97/+142
|
* Merged revisions 80708 via svnmerge fromMichael Foord2010-05-022-4/+16
| | | | | | | | | | 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 ........
* Merged revisions 80704 via svnmerge fromAntoine Pitrou2010-05-022-1/+4
| | | | | | | | | | | 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. ........
* Issue #8533: revert r80694; try a different fix: regrtest uses backslashreplaceVictor Stinner2010-05-023-5/+16
| | | | | error handler for stdout to avoid UnicodeEncodeError (write non-ASCII character to stdout using ASCII encoding)
* Merged revisions 80698 via svnmerge fromRonald Oussoren2010-05-022-1/+30
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80698 | ronald.oussoren | 2010-05-02 11:48:21 +0200 (Sun, 02 May 2010) | 3 lines For for issue #7192: with this patch webbrowser.get("firefox") works on OSX ........
* Blocked revisions 80695 via svnmergeMark Dickinson2010-05-020-0/+0
| | | | | | | | ........ r80695 | mark.dickinson | 2010-05-02 10:38:43 +0100 (Sun, 02 May 2010) | 2 lines Improve error message from nb_int returning a non-integer, in various PyInt_As* functions: ........
* Issue #8533: Write tracebacks and failed tests to sys.stderr instead ofVictor Stinner2010-05-023-3/+6
| | | | sys.stdout to avoid UnicodeEncodeError (use backslashreplace error handler)
* Merged revisions 80690 via svnmerge fromAntoine Pitrou2010-05-011-21/+0
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80690 | antoine.pitrou | 2010-05-01 22:26:58 +0200 (sam., 01 mai 2010) | 3 lines Remove duplicate test ........
* add myself to Misc/maintainers.rst for asyncore, asynchat and ssl modules ↵Giampaolo Rodolà2010-05-011-4/+4
| | | | and networking interest area
* Recorded merge of revisions 80681 via svnmerge fromMark Dickinson2010-05-010-0/+0
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80681 | mark.dickinson | 2010-05-01 12:46:20 +0100 (Sat, 01 May 2010) | 2 lines Fix incorrect use of a list as the target of an 'except' clause in test_decimal.py. ........
* Merged revisions 80675 via svnmerge fromSenthil Kumaran2010-05-012-1/+12
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80675 | senthil.kumaran | 2010-05-01 13:31:56 +0530 (Sat, 01 May 2010) | 3 lines Fix issue8582: urllib.urlretrieve fails with ValueError: Invalid format string ........
* Merged revisions 80669 via svnmerge fromAntoine Pitrou2010-04-303-7/+14
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80669 | antoine.pitrou | 2010-05-01 01:08:48 +0200 (sam., 01 mai 2010) | 4 lines Issue #8576: Remove use of find_unused_port() in test_smtplib and test_multiprocessing. Patch by Paul Moore. ........