summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* correct callBenjamin Peterson2010-05-071-3/+1
|
* Replace PyUnicode_Decode(buf, strlen(buf), Py_FileSystemDefaultEncoding,Victor Stinner2010-05-074-11/+6
| | | | "surrogateescape") by PyUnicode_DecodeFSDefault(val).
* Merged revisions 80920 via svnmerge fromMichael Foord2010-05-072-0/+210
| | | | | | | | | | 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. ........
* Merged revisions 80918 via svnmerge fromMichael Foord2010-05-072-4/+21
| | | | | | | | | | 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. ........
* Merged revisions 80908 via svnmerge fromSenthil Kumaran2010-05-071-6/+52
| | | | | | | | | | 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. ........
* regrtest.py: disable replace_stdout() on Windows until it is fixedVictor Stinner2010-05-071-0/+3
| | | | See issue #8533 (problem with newlines on Windows).
* Fix test_os: os.environb doesn't exist on WindowsVictor Stinner2010-05-071-3/+5
|
* module_repr(): use %U to format the file nameVictor Stinner2010-05-071-5/+15
| | | | Avoid useless encode/decode of the filename
* code_repr(): use %U to format the filenameVictor Stinner2010-05-071-8/+12
| | | | Avoid useless unicode decoding/recoding of the filename.
* Merged revisions 80894,80896 via svnmerge fromBenjamin Peterson2010-05-062-129/+341
| | | | | | | | | | | | | | 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 ........
* rephraseBenjamin Peterson2010-05-061-5/+4
|
* self.skip -> self.skipTestBenjamin Peterson2010-05-061-1/+1
|
* wrap long linesBenjamin Peterson2010-05-061-2/+5
|
* use concise skippingBenjamin Peterson2010-05-061-1/+1
|
* Fix test_posix (regression introduced by r80885)Victor Stinner2010-05-061-2/+6
|
* spacing and another versionaddedBenjamin Peterson2010-05-061-0/+3
|
* versionadded for environbBenjamin Peterson2010-05-061-0/+2
|
* Issue #8603: Create a bytes version of os.environ for UnixVictor Stinner2010-05-067-55/+191
| | | | | | | 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.
* Merged revisions 80882 via svnmerge fromGiampaolo Rodolà2010-05-062-0/+9
| | | | | | | | | | 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 ........
* Merged revisions 80880 via svnmerge fromGiampaolo Rodolà2010-05-061-2/+3
| | | | | | | | | | 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 ........
* Merged revisions 80875 via svnmerge fromGiampaolo Rodolà2010-05-063-5/+43
| | | | | | | | | | 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__ ........
* Merged revisions 80869 via svnmerge fromAntoine Pitrou2010-05-061-3/+3
| | | | | | | | | | 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 ........
* Merged revisions 80857 via svnmerge fromBrian Curtin2010-05-061-17/+34
| | | | | | | | | | | | | 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. ........
* 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. ........