summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Issue #8391: os.execvpe() and os.getenv() supports unicode with surrogates andVictor Stinner2010-04-231-1/+23
| | | | bytes strings for environment keys and values
* Issue #8495: test_gdb uses replace error handler when decoding utf8 outputVictor Stinner2010-04-231-1/+1
|
* Issue #8467: Pure Python implementation of subprocess encodes the error messageVictor Stinner2010-04-231-0/+19
| | | | using surrogatepass error handler to support surrogates in the message
* make sure os.symlink presence is tested before running some shutil tests -- ↵Tarek Ziadé2010-04-231-56/+59
| | | | also refactored the tests to use unittest.skipUnless
* Merged revisions 80392 via svnmerge fromAntoine Pitrou2010-04-231-12/+37
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80392 | antoine.pitrou | 2010-04-23 01:33:02 +0200 (ven., 23 avril 2010) | 9 lines Issue #8108: Fix the unwrap() method of SSL objects when the socket has a non-infinite timeout. Also make that method friendlier with applications wanting to continue using the socket in clear-text mode, by disabling OpenSSL's internal readahead. Thanks to Darryl Miles for guidance. Issue #8108: test_ftplib's non-blocking SSL server now has proper handling of SSL shutdowns. ........
* Issue #8092: Fix PyUnicode_EncodeUTF8() to support error handler producingVictor Stinner2010-04-221-0/+10
| | | | unicode string (eg. backslashreplace)
* Merged revisions 80375 via svnmerge fromAntoine Pitrou2010-04-221-0/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80375 | antoine.pitrou | 2010-04-22 20:00:41 +0200 (jeu., 22 avril 2010) | 3 lines Skip test on old versions of OpenSSL ........
* Merged revisions 80362 via svnmerge fromSenthil Kumaran2010-04-221-2/+2
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80362 | senthil.kumaran | 2010-04-22 17:40:13 +0530 (Thu, 22 Apr 2010) | 4 lines Changed tests to only urlparse one, which was enough, addressed Ezio's comment on Invalid url check statement and versionchanged string in docs. ........
* Issue #8485: PyUnicode_FSConverter() doesn't accept bytearray object anymore,Victor Stinner2010-04-222-16/+0
| | | | you have to convert your bytearray filenames to bytes
* Fix verb tense in skip message.R. David Murray2010-04-221-1/+1
|
* Port #7347 to py3k.Brian Curtin2010-04-211-23/+182
| | | | Add CreateKeyEx and DeleteKeyEx, along with test improvements.
* Issue #8380: Port gdb/libpython to 3.x.Martin v. Löwis2010-04-212-129/+104
|
* Merged revisions 80314-80315 via svnmerge fromAntoine Pitrou2010-04-213-0/+64
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80314 | antoine.pitrou | 2010-04-21 21:28:03 +0200 (mer., 21 avril 2010) | 5 lines Issue #8484: Load all ciphers and digest algorithms when initializing the _ssl extension, such that verification of some SSL certificates doesn't fail because of an "unknown algorithm". ........ r80315 | antoine.pitrou | 2010-04-21 21:36:23 +0200 (mer., 21 avril 2010) | 3 lines Forgot to add the sample certificate (followup to r80314) ........
* Adapt libpython.py and test_gdb.py to Python3Victor Stinner2010-04-211-7/+7
| | | | | * Rename PyStringObjectPtr to PyBytesObjectPtr * Replace PyObject_Print by textiowrapper_write
* Merged revisions 79986-79987,80156 via svnmerge fromMartin v. Löwis2010-04-211-88/+103
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79986 | martin.v.loewis | 2010-04-12 07:18:16 +0200 (Mo, 12 Apr 2010) | 2 lines Issue #8330: Fix expected output in test_gdb. ........ r79987 | martin.v.loewis | 2010-04-12 07:22:25 +0200 (Mo, 12 Apr 2010) | 2 lines Re-enable all tests, to see which ones fail on the buildbots. ........ r80156 | martin.v.loewis | 2010-04-18 00:40:40 +0200 (So, 18 Apr 2010) | 2 lines Issue #8279: Fix test_gdb failures. ........
* Merged revisions 80298 via svnmerge fromRonald Oussoren2010-04-211-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80298 | ronald.oussoren | 2010-04-21 08:00:35 +0200 (Wed, 21 Apr 2010) | 2 lines Sync test_plistlib.py with plistlib.py ........
* Merged revisions 80144 via svnmerge fromR. David Murray2010-04-211-0/+10
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80144 | r.david.murray | 2010-04-17 01:26:26 -0400 (Sat, 17 Apr 2010) | 8 lines Issue #3864: Skip three test_signal tests on freebsd6 due to platform bug. Two itimer tests and an interprocess signal test fail on FreeBSD 6 if any test that starts a thread runs before test_signal. Since FreeBSD7 does not show this behavior, the bug is most likely a platform bug, so this patch just skips the failing tests on freebsd6. ........
* Issue #2706: Add support for dividing a timedelta by another timedelta.Mark Dickinson2010-04-201-1/+53
| | | | | | | | | | | | | Adds support for the three division operations: - timedelta / timedelta -> float - timedelta // timedelta -> int - timedelta % timedelta -> timedelta also adds support for divmod(timedelta, timedelta). Patch by Victor Stinner, adapted for py3k and extended by Alexander Belopolsky.
* Merged revisions 80288 via svnmerge fromVictor Stinner2010-04-201-0/+19
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80288 | victor.stinner | 2010-04-21 00:28:31 +0200 (mer., 21 avril 2010) | 2 lines Issue #8437: Fix test_gdb failures, patch written by Dave Malcolm ........
* Merged revisions 80282 via svnmerge fromTarek Ziadé2010-04-201-30/+0
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80282 | tarek.ziade | 2010-04-20 23:09:06 +0200 (Tue, 20 Apr 2010) | 1 line removed ztar support in shutil.make_archive ........
* Merged revisions 80277 via svnmerge fromSenthil Kumaran2010-04-201-0/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80277 | senthil.kumaran | 2010-04-21 02:07:59 +0530 (Wed, 21 Apr 2010) | 3 lines Issue2987 - Added additional Invalid URL and changed the Invalid URL checking code for better. ........
* Merged revisions 80236 via svnmerge fromSenthil Kumaran2010-04-201-6/+18
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80236 | senthil.kumaran | 2010-04-20 12:24:59 +0530 (Tue, 20 Apr 2010) | 3 lines Fix Issue8460: Victor's patch to add timeout in test_urllib2net test_urls. ........
* Fixed #6547: Added the ignore_dangling_symlinks option to shutil.copytreeTarek Ziadé2010-04-201-1/+21
|
* Merged revisions 80238 via svnmerge fromStefan Krah2010-04-201-8/+10
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80238 | stefan.krah | 2010-04-20 09:59:10 +0200 (Tue, 20 Apr 2010) | 9 lines 1) The timeout in the itimer tests was too low for slow or heavily loaded machines. 2) Even with the increased timeout, the OS does not guarantee that a process will get a certain amount of virtual time in 60s, so the failure is changed to a diagnostic. ........
* Fixed #1540112: now shutil.copytree will let you provide your own copy() ↵Tarek Ziadé2010-04-191-19/+32
| | | | function
* Issue 8436: set.__init__ accepts keyword argsRaymond Hettinger2010-04-181-0/+1
|
* Merged revisions 80194 via svnmerge fromAntoine Pitrou2010-04-181-16/+13
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80194 | antoine.pitrou | 2010-04-18 21:14:38 +0200 (dim., 18 avril 2010) | 3 lines Fix catastrophic file opening and closing logic in test_linecache ........
* Merged revisions 80178 via svnmerge fromRonald Oussoren2010-04-181-1/+9
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80178 | ronald.oussoren | 2010-04-18 15:47:49 +0200 (Sun, 18 Apr 2010) | 2 lines Fix for issue #7072 ........
* Issue #8422, test_genericpath: skip the creation of a directory with an invalidVictor Stinner2010-04-181-0/+4
| | | | | UTF name on Mac OS X because the OS deny it (the name have to be a valid UTF8 string).
* Issue #8340, test_abs_path() of test_site: encode paths to ASCII withVictor Stinner2010-04-181-7/+12
| | | | | backslashreplace to avoid locale issues, don't write stderr to a pipe to ease debug, separate directories by newlines instead of a space.
* Issue #850728: Add a *timeout* parameter to the `acquire()` method ofAntoine Pitrou2010-04-171-0/+13
| | | | `threading.Semaphore` objects. Original patch by Torsten Landschoff.
* Merged revisions 80151 via svnmerge fromAntoine Pitrou2010-04-171-3/+29
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80151 | antoine.pitrou | 2010-04-17 19:10:38 +0200 (sam., 17 avril 2010) | 4 lines Issue #8322: Add a *ciphers* argument to SSL sockets, so as to change the available cipher list. Helps fix test_ssl with OpenSSL 1.0.0. ........
* PEP 3147Barry Warsaw2010-04-1714-170/+577
|
* Merged revisions 80126 via svnmerge fromBenjamin Peterson2010-04-161-0/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80126 | benjamin.peterson | 2010-04-16 17:35:38 -0500 (Fri, 16 Apr 2010) | 1 line have a clear error when passing something > sys.maxsize to bytearray ........
* Merged revisions 80123-80124 via svnmerge fromBenjamin Peterson2010-04-161-8/+8
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80123 | benjamin.peterson | 2010-04-16 17:24:16 -0500 (Fri, 16 Apr 2010) | 1 line bytearray -> type2test ........ r80124 | benjamin.peterson | 2010-04-16 17:25:57 -0500 (Fri, 16 Apr 2010) | 1 line fix typo ........
* Issue #7605: Fix test_cmd_line if the current working directory is not ASCIIVictor Stinner2010-04-161-2/+9
|
* Don't assume that os.confstr_names exists.Mark Dickinson2010-04-161-1/+2
|
* Issue #4970: move linuxthreads check outside the affected test, and use skipIfMark Dickinson2010-04-161-10/+13
|
* Add CS_GNU_LIBC_VERSION and CS_GNU_LIBPTHREAD_VERSION constants for constr(),Victor Stinner2010-04-161-0/+9
| | | | | and disable test_execvpe_with_bad_program() of test_os if the libc uses linuxthreads to avoid the "unknown signal 32" bug (see issue #4970).
* Merged revisions 80101 via svnmerge fromSenthil Kumaran2010-04-161-0/+34
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80101 | senthil.kumaran | 2010-04-16 08:16:46 +0530 (Fri, 16 Apr 2010) | 3 lines Fix issue2987: RFC2732 support for urlparse (IPv6 addresses) ........
* Issue #7316: the acquire() method of lock objects in the :mod:`threading`Antoine Pitrou2010-04-141-5/+39
| | | | | | module now takes an optional timeout argument in seconds. Timeout support relies on the system threading library, so as to avoid a semi-busy wait loop.
* #7301: decode $PYTHONWARNINGS in the same way as argv, test non-ascii valuesPhilip Jenvey2010-04-141-0/+13
|
* Fixed extraneous _winreg (changed to winreg in py3k). Thanks, Tim Golden.Brian Curtin2010-04-131-1/+1
|
* Fix invalid syntax.Mark Dickinson2010-04-131-1/+1
|
* Merged revisions 80035 via svnmerge fromMark Dickinson2010-04-131-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80035 | mark.dickinson | 2010-04-13 12:37:23 +0100 (Tue, 13 Apr 2010) | 1 line In test_winsound, don't try to import _winreg until after checking that winsound is supported. ........
* Issue #8383: pickle and pickletools use surrogatepass error handler whenVictor Stinner2010-04-131-1/+3
| | | | | encoding unicode as utf8 to support lone surrogates and stay compatible with Python 2.x and 3.0
* Merged revisions 80026 via svnmerge fromBrian Curtin2010-04-131-0/+21
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80026 | brian.curtin | 2010-04-12 21:25:20 -0500 (Mon, 12 Apr 2010) | 4 lines Fix #7306. Add skips to test_winsound when no default sound is configured. These failures occur on a Windows Server 2003 machine I test on. ........
* Port #1220212 (os.kill for Win32) to py3k.Brian Curtin2010-04-122-3/+106
|
* Merged revisions 80004 via svnmerge fromR. David Murray2010-04-121-1/+23
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80004 | r.david.murray | 2010-04-12 12:35:19 -0400 (Mon, 12 Apr 2010) | 13 lines Issue #7585: use tab between components in unified and context diff headers. Instead of spaces between the filename and date (or whatever the string is that follows the filename, if any) use tabs. This is what the unix 'diff' command does, for example, and difflib was intended to follow the 'standard' way of doing diffs. This improves compatibility with patch tools. The docs and examples are also changed to recommended that the date format used be the ISO 8601 format, which is what modern diff tools emit by default. Patch by Anatoly Techtonik. ........
* Merged revisions 80000 via svnmerge fromStefan Krah2010-04-121-5/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80000 | stefan.krah | 2010-04-12 17:21:25 +0200 (Mon, 12 Apr 2010) | 3 lines Issue #8367: Fix spurious test failure on systems without a sound card. ........