Senthil Kumaran
2eaef05c47
Merged revisions 80277 via svnmerge from
...
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.
........
2010-04-20 20:42:50 +00:00
Senthil Kumaran
241a04371b
Issue2987 - Added additional Invalid URL and changed the Invalid URL checking code for better.
2010-04-20 20:37:59 +00:00
Senthil Kumaran
dcedfb11b9
Merged revisions 80256 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r80256 | senthil.kumaran | 2010-04-20 16:05:49 +0530 (Tue, 20 Apr 2010) | 9 lines
Merged revisions 80236 via svnmerge from
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.
........
................
2010-04-20 10:40:21 +00:00
Senthil Kumaran
b8f7ea6ceb
Merged revisions 80236 via svnmerge from
...
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.
........
2010-04-20 10:35:49 +00:00
Tarek Ziadé
fb437513d6
Fixed #6547 : Added the ignore_dangling_symlinks option to shutil.copytree
2010-04-20 08:57:33 +00:00
Stefan Krah
f1da97304d
Merged revisions 80240 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r80240 | stefan.krah | 2010-04-20 10:13:03 +0200 (Tue, 20 Apr 2010) | 15 lines
Merged revisions 80238 via svnmerge from
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.
........
................
2010-04-20 08:15:14 +00:00
Stefan Krah
0d2fa4a612
Merged revisions 80238 via svnmerge from
...
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.
........
2010-04-20 08:13:03 +00:00
Stefan Krah
488fea3cca
Merged revisions 80238 via svnmerge from
...
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.
........
2010-04-20 08:07:08 +00:00
Stefan Krah
68b4e01c48
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.
2010-04-20 07:59:10 +00:00
Senthil Kumaran
c00deec386
Merged revisions 80236 via svnmerge from
...
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.
........
2010-04-20 07:06:45 +00:00
Senthil Kumaran
281b551a2e
Fix Issue8460: Victor's patch to add timeout in test_urllib2net test_urls.
2010-04-20 06:54:59 +00:00
Tarek Ziadé
5340db3803
Fixed #1540112 : now shutil.copytree will let you provide your own copy() function
2010-04-19 22:30:51 +00:00
Antoine Pitrou
7c587bf53d
Issue #8438 : Remove reference to the missing "surrogateescape" encoding
...
error handler from the new IO library.
2010-04-19 18:52:43 +00:00
Victor Stinner
342e0fd80b
(I hope) last try to fix test_winsound (skip tests)
...
Remove print, it produces "unexpected output" and the test fails :-/
2010-04-19 16:03:48 +00:00
Victor Stinner
b2a28c3bd5
test_winsound: new try to skip the tests. In Python 2.6, TestSkipped is used to
...
skip the whole file, not a particular function.
2010-04-19 15:18:07 +00:00
Victor Stinner
797a49c879
Oops, unittest has no SkipTest exception. I understood the original change:
...
replace unittest.SkipTest by TestSkipped.
2010-04-19 12:20:14 +00:00
Victor Stinner
b46d7ba12f
Fix r80029 (backport of r80026), test_winsound: Python 2.6 has no
...
unittest.skipUnless(). Use raise test_support.TestSkipped() instead.
2010-04-19 12:14:14 +00:00
Victor Stinner
e2028797ac
Fix r80180 (backport of r80178): SkipTest => unittest.SkipTest in test_locale
...
The original commit (r80178) was correct. The bug was introduced during the
backport, funny :-)
2010-04-19 11:50:08 +00:00
Raymond Hettinger
3fb156caa4
Issue 8436: set.__init__ accepts keyword args
2010-04-18 23:05:22 +00:00
Raymond Hettinger
dbe961215a
Issue 8436: set.__init__ accepts keyword args
2010-04-18 23:03:16 +00:00
Raymond Hettinger
efa19849ce
Issue 8436: set.__init__ accepts keyword args
2010-04-18 22:59:34 +00:00
Raymond Hettinger
35b76027f9
Issue 8436: set.__init__ accepts keyword args
2010-04-18 22:57:57 +00:00
Antoine Pitrou
7276f138a5
Merged revisions 80194 via svnmerge from
...
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
........
2010-04-18 19:17:01 +00:00
Antoine Pitrou
9958c56eb0
Fix catastrophic file opening and closing logic in test_linecache
2010-04-18 19:14:38 +00:00
Ronald Oussoren
3a20d05dcc
Merged revisions 80182 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r80182 | ronald.oussoren | 2010-04-18 17:02:38 +0200 (Sun, 18 Apr 2010) | 9 lines
Merged revisions 80178 via svnmerge from
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
........
................
2010-04-18 15:08:43 +00:00
Ronald Oussoren
501aeffba3
Merged revisions 80178 via svnmerge from
...
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
........
2010-04-18 15:02:38 +00:00
Ronald Oussoren
0746619c04
Merged revisions 80178 via svnmerge from
...
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
........
2010-04-18 14:34:22 +00:00
Ronald Oussoren
37805e5c1f
Fix for issue #7072
2010-04-18 13:47:49 +00:00
Victor Stinner
1efde679ce
Issue #8422 , test_genericpath: skip the creation of a directory with an invalid
...
UTF name on Mac OS X because the OS deny it (the name have to be a valid UTF8
string).
2010-04-18 08:23:42 +00:00
Victor Stinner
f3bc258b94
Issue #8340 , test_abs_path() of test_site: encode paths to ASCII with
...
backslashreplace to avoid locale issues, don't write stderr to a pipe to ease
debug, separate directories by newlines instead of a space.
2010-04-18 07:59:53 +00:00
Antoine Pitrou
0454af9b54
Issue #850728 : Add a *timeout* parameter to the acquire() method of
...
`threading.Semaphore` objects. Original patch by Torsten Landschoff.
2010-04-17 23:51:58 +00:00
Martin v. Löwis
24f09fdb23
Issue #8279 : Fix test_gdb failures.
2010-04-17 22:40:40 +00:00
Antoine Pitrou
2d9cb9c1cb
Merged revisions 80151 via svnmerge from
...
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.
........
2010-04-17 17:40:45 +00:00
Antoine Pitrou
0a6373c1a9
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.
2010-04-17 17:10:38 +00:00
R. David Murray
e0e8a87d7e
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.
2010-04-17 05:26:26 +00:00
Barry Warsaw
28a691b7fd
PEP 3147
2010-04-17 00:19:56 +00:00
Benjamin Peterson
0ff8a505c6
Merged revisions 80125,80128,80130 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r80125 | benjamin.peterson | 2010-04-16 17:35:32 -0500 (Fri, 16 Apr 2010) | 13 lines
Merged revisions 80123-80124 via svnmerge from
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
........
................
r80128 | benjamin.peterson | 2010-04-16 17:51:37 -0500 (Fri, 16 Apr 2010) | 9 lines
Merged revisions 80126 via svnmerge from
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
........
................
r80130 | benjamin.peterson | 2010-04-16 18:00:53 -0500 (Fri, 16 Apr 2010) | 9 lines
Merged revisions 80129 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80129 | benjamin.peterson | 2010-04-16 17:52:44 -0500 (Fri, 16 Apr 2010) | 1 line
tiny simplification
........
................
2010-04-16 23:19:11 +00:00
Benjamin Peterson
8380dd5aa4
Merged revisions 80126 via svnmerge from
...
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
........
2010-04-16 22:51:37 +00:00
Benjamin Peterson
c218ce86c4
Merged revisions 80123-80124,80126 via svnmerge from
...
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
........
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
........
2010-04-16 22:43:53 +00:00
Benjamin Peterson
821a8ea39f
have a clear error when passing something > sys.maxsize to bytearray
2010-04-16 22:35:38 +00:00
Benjamin Peterson
4c04583e79
Merged revisions 80123-80124 via svnmerge from
...
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
........
2010-04-16 22:35:32 +00:00
Benjamin Peterson
5c4e292c14
fix typo
2010-04-16 22:25:57 +00:00
Benjamin Peterson
06f06a0b2f
bytearray -> type2test
2010-04-16 22:24:16 +00:00
Benjamin Peterson
e7ebdc2a61
remove check for unicode
2010-04-16 21:55:10 +00:00
Mark Dickinson
466e9266d1
Merged revisions 80108,80111,80114-80115 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r80108 | victor.stinner | 2010-04-16 13:23:43 +0100 (Fri, 16 Apr 2010) | 4 lines
Add CS_GNU_LIBC_VERSION and CS_GNU_LIBPTHREAD_VERSION constants for constr(),
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 ).
........
r80111 | mark.dickinson | 2010-04-16 13:47:52 +0100 (Fri, 16 Apr 2010) | 1 line
Keep confstr entries in alphabetical order.
........
r80114 | mark.dickinson | 2010-04-16 14:45:35 +0100 (Fri, 16 Apr 2010) | 1 line
Issue #4970 : move linuxthreads check outside the affected test, and use skipIf
........
r80115 | mark.dickinson | 2010-04-16 14:51:27 +0100 (Fri, 16 Apr 2010) | 1 line
Don't assume that os.confstr_names exists.
........
2010-04-16 16:32:49 +00:00
Victor Stinner
30ba25b865
Merged revisions 80116 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r80116 | victor.stinner | 2010-04-16 17:10:27 +0200 (ven., 16 avril 2010) | 2 lines
Issue #7605 : Fix test_cmd_line if the current working directory is not ASCII
........
2010-04-16 15:44:04 +00:00
Victor Stinner
76cf68724c
Issue #7605 : Fix test_cmd_line if the current working directory is not ASCII
2010-04-16 15:10:27 +00:00
Mark Dickinson
89589c90fc
Don't assume that os.confstr_names exists.
2010-04-16 13:51:27 +00:00
Mark Dickinson
7cf0389138
Issue #4970 : move linuxthreads check outside the affected test, and use skipIf
2010-04-16 13:45:35 +00:00
Victor Stinner
6f7adcc58e
Add CS_GNU_LIBC_VERSION and CS_GNU_LIBPTHREAD_VERSION constants for constr(),
...
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 ).
2010-04-16 12:23:43 +00:00