Mark Dickinson
6f09ea8937
- Issue #8447 : Make distutils.sysconfig follow symlinks in the path to
...
the interpreter executable. This fixes a failure of test_httpservers
on OS X.
2010-08-03 21:18:06 +00:00
Ezio Melotti
1df21e7e03
Run test_py3kwarn first to avoid failures with -3.
2010-08-03 19:43:08 +00:00
Antoine Pitrou
29643b0978
Recorded merge of revisions 83678 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83678 | antoine.pitrou | 2010-08-03 20:32:26 +0200 (mar., 03 août 2010) | 4 lines
In test_threading_local, test both the default _thread._local implementation
and the pure Python implementation in Lib/_threading_local.py
........
2010-08-03 18:41:05 +00:00
Antoine Pitrou
da991da30b
In test_threading_local, test both the default _thread._local implementation
...
and the pure Python implementation in Lib/_threading_local.py
2010-08-03 18:32:26 +00:00
R. David Murray
1cbf78e040
Merged revisions 83675 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83675 | r.david.murray | 2010-08-03 13:56:09 -0400 (Tue, 03 Aug 2010) | 12 lines
#9444 : use first of prefix_chars for help opt instead of raising error
An argparse option parser created with a prefix_chars that did not
include a '-' would happily add -h and --help options, and then throw
an error when it tried to format the help because the - was an invalid
prefix character. This patch makes it use the first character of
prefix_chars as the character for the help options if and only if '-'
is not one of the valid prefix_chars.
Fix by Theodore Turocy, unit tests by Catherine Devlin.
........
2010-08-03 18:14:01 +00:00
R. David Murray
88c49fe320
#9444 : use first of prefix_chars for help opt instead of raising error
...
An argparse option parser created with a prefix_chars that did not
include a '-' would happily add -h and --help options, and then throw
an error when it tried to format the help because the - was an invalid
prefix character. This patch makes it use the first character of
prefix_chars as the character for the help options if and only if '-'
is not one of the valid prefix_chars.
Fix by Theodore Turocy, unit tests by Catherine Devlin.
2010-08-03 17:56:09 +00:00
Ezio Melotti
213bcb8de1
Fix buildbot failure in test_os.py
2010-08-03 10:44:09 +00:00
Ezio Melotti
c438d1d021
Fix deprecation warnings in test_sets.py
2010-08-03 08:54:36 +00:00
Ezio Melotti
5c75235d32
Fix deprecation warnings in test_set.py
2010-08-03 08:41:02 +00:00
Ezio Melotti
ffd0b8892e
Try again to fix the buildbots.
2010-08-03 08:33:58 +00:00
Ezio Melotti
9bab5249aa
Fix deprecation warnings in test_commands.py
2010-08-03 08:32:53 +00:00
Ezio Melotti
8a078d5b4c
Fix deprecation warnings in test_cgi.py
2010-08-03 08:28:31 +00:00
Ronald Oussoren
f7a13b3210
Merged revisions 83646 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/release27-maint
................
r83646 | ronald.oussoren | 2010-08-03 09:44:35 +0200 (Tue, 03 Aug 2010) | 9 lines
Merged revisions 83644 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83644 | ronald.oussoren | 2010-08-03 09:42:42 +0200 (Tue, 03 Aug 2010) | 2 lines
Fix for issue 9455: platform.mac_ver() broken on OSX/ppc
........
................
2010-08-03 08:09:15 +00:00
Ronald Oussoren
bb4d9f6c3d
Merged revisions 83643 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/release27-maint
................
r83643 | ronald.oussoren | 2010-08-03 09:31:12 +0200 (Tue, 03 Aug 2010) | 13 lines
Merged revisions 83431 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83431 | ronald.oussoren | 2010-08-01 21:18:13 +0200 (Sun, 01 Aug 2010) | 6 lines
test_getgroups as introduced with issue7900 failed on systems
where 'id -G' and posix.getgroups() returned the same information,
but one of the sources contains duplicate information. Rewrite the
check using sets instead of lists.
........
................
2010-08-03 08:07:18 +00:00
Georg Brandl
e8e02e3b5b
Fix regrtest -F.
2010-08-03 07:56:50 +00:00
Ezio Melotti
e511c6ce8d
Merged revisions 79191 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79191 | florent.xicluna | 2010-03-21 13:50:17 +0200 (Sun, 21 Mar 2010) | 3 lines
No more deprecation warnings for distutils.sysconfig, following r78666.
But when the "dl" module is available, it gives a py3k deprecation warning.
........
2010-08-03 07:51:50 +00:00
Ronald Oussoren
22e3e694ed
Merged revisions 83644 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83644 | ronald.oussoren | 2010-08-03 09:42:42 +0200 (Tue, 03 Aug 2010) | 2 lines
Fix for issue 9455: platform.mac_ver() broken on OSX/ppc
........
2010-08-03 07:44:35 +00:00
Ronald Oussoren
8f5a51233f
Merged revisions 83644 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83644 | ronald.oussoren | 2010-08-03 09:42:42 +0200 (Tue, 03 Aug 2010) | 2 lines
Fix for issue 9455: platform.mac_ver() broken on OSX/ppc
........
2010-08-03 07:43:36 +00:00
Ronald Oussoren
fcd77016b3
Fix for issue 9455: platform.mac_ver() broken on OSX/ppc
2010-08-03 07:42:42 +00:00
Ronald Oussoren
ac72e58a27
Merged revisions 83431 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83431 | ronald.oussoren | 2010-08-01 21:18:13 +0200 (Sun, 01 Aug 2010) | 6 lines
test_getgroups as introduced with issue7900 failed on systems
where 'id -G' and posix.getgroups() returned the same information,
but one of the sources contains duplicate information. Rewrite the
check using sets instead of lists.
........
2010-08-03 07:31:12 +00:00
Ezio Melotti
dba728b87c
quiet, not quite.
2010-08-03 07:18:07 +00:00
Ezio Melotti
dfe2107481
Fix deprecation warnings in test_file.py
2010-08-03 07:17:20 +00:00
Ezio Melotti
cd37dd8e05
Fix deprecation warnings in test_hotshot.py
2010-08-03 07:03:40 +00:00
Ezio Melotti
670048de80
Fix deprecation warnings in test_long_future.py
2010-08-03 07:01:05 +00:00
Ezio Melotti
aad1541484
Fix deprecation warnings in test_os.py
2010-08-03 06:49:14 +00:00
Ezio Melotti
192f6782c6
Try to fix test_struct.py on some buildbots.
2010-08-03 06:39:49 +00:00
Richard Jones
64b02de010
improvements to test_smtplib per issue2423
...
merged the socket mock introduced in test_smtpd
2010-08-03 06:39:33 +00:00
Ezio Melotti
ee1e2c90dd
Fix deprecation warnings in test_scope.py
2010-08-03 06:37:50 +00:00
Ezio Melotti
90a732c23c
Merged revisions 79156 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79156 | florent.xicluna | 2010-03-21 00:21:02 +0200 (Sun, 21 Mar 2010) | 2 lines
Cleanup test_struct using check_warnings.
........
2010-08-03 06:13:35 +00:00
Ezio Melotti
6db340cc12
Fix deprecation warning in test_univnewlines.py
2010-08-03 05:57:13 +00:00
Ezio Melotti
73a5072534
Fix deprecation warning in test_binascii.
2010-08-03 05:55:03 +00:00
Ezio Melotti
9d196959fc
Fix deprecation warning in test_xmlrpc.
2010-08-03 05:50:57 +00:00
Ezio Melotti
3ca2a654d2
Fix deprecation warning in test_MimeWriter.
2010-08-03 05:47:14 +00:00
Ezio Melotti
c00b88cedb
Fix more warnings in test_builtin.
2010-08-03 05:17:27 +00:00
Ezio Melotti
35099daee0
Try to avoid failures on the buildbot.
2010-08-03 04:50:52 +00:00
Ezio Melotti
d24b5d8fc7
Merged revisions 79187-79189 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79187 | florent.xicluna | 2010-03-21 12:50:44 +0200 (Sun, 21 Mar 2010) | 2 lines
Silence more py3k warnings in unittest.case.
........
r79188 | florent.xicluna | 2010-03-21 12:51:40 +0200 (Sun, 21 Mar 2010) | 2 lines
Fix py3k warnings in test_decimal, using unittest.assertItemsEqual.
........
r79189 | florent.xicluna | 2010-03-21 13:03:21 +0200 (Sun, 21 Mar 2010) | 2 lines
Silence some py3k SyntaxWarning using check_py3k_warnings() with "exec" statements.
........
2010-08-03 04:08:59 +00:00
Ezio Melotti
262a47d2b9
Merged revisions 75407,75409-75413,75415,75419-75421 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75407 | antoine.pitrou | 2009-10-14 20:30:52 +0300 (Wed, 14 Oct 2009) | 3 lines
Fix py3k warnings in the aifc module
........
r75409 | antoine.pitrou | 2009-10-14 21:01:33 +0300 (Wed, 14 Oct 2009) | 3 lines
Fix py3k warnings in bsddb
........
r75410 | antoine.pitrou | 2009-10-14 21:09:45 +0300 (Wed, 14 Oct 2009) | 3 lines
Silence a py3k warning claiming to affect Lib/calendar.py
........
r75411 | antoine.pitrou | 2009-10-14 21:12:54 +0300 (Wed, 14 Oct 2009) | 3 lines
Fix a py3k warning in the StringIO module (exhibited in test_codecencodings_cn)
........
r75412 | antoine.pitrou | 2009-10-14 21:27:32 +0300 (Wed, 14 Oct 2009) | 3 lines
Fix py3k warnings in the socket module
........
r75413 | antoine.pitrou | 2009-10-14 21:31:05 +0300 (Wed, 14 Oct 2009) | 3 lines
Fix a py3k warning in the sndhdr module (found with test_email)
........
r75415 | antoine.pitrou | 2009-10-14 21:39:46 +0300 (Wed, 14 Oct 2009) | 3 lines
Silence some py3k warnings claiming to affect _pyio
........
r75419 | antoine.pitrou | 2009-10-14 21:56:11 +0300 (Wed, 14 Oct 2009) | 3 lines
Silence py3k warning claiming to affect the random module
........
r75420 | antoine.pitrou | 2009-10-14 22:04:48 +0300 (Wed, 14 Oct 2009) | 3 lines
Fix py3k warnings in httplib
........
r75421 | antoine.pitrou | 2009-10-14 22:09:48 +0300 (Wed, 14 Oct 2009) | 3 lines
Fix py3k warnings in the uuid module
........
2010-08-03 03:19:00 +00:00
Ezio Melotti
edb3512543
Remove the check_warnings. The mkarg warning is raised only with -3 and check_warning fails if the error is not raised.
2010-08-03 00:52:46 +00:00
Ezio Melotti
7b688250d1
Fix a couple more tests.
2010-08-03 00:18:09 +00:00
Ezio Melotti
6a19b00668
Fix test_recno.
2010-08-02 23:39:23 +00:00
Ezio Melotti
1d55ec329a
Merged revisions 79539 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79539 | florent.xicluna | 2010-04-01 01:01:03 +0300 (Thu, 01 Apr 2010) | 2 lines
Replace catch_warnings with check_warnings when it makes sense. Use assertRaises context manager to simplify some tests.
........
2010-08-02 23:34:49 +00:00
Ezio Melotti
cc436eb6e8
Merged revisions 78769,79049 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78769 | florent.xicluna | 2010-03-07 21:14:12 +0200 (Sun, 07 Mar 2010) | 2 lines
Refresh the documentation for the test.test_support module.
........
r79049 | florent.xicluna | 2010-03-18 21:51:47 +0200 (Thu, 18 Mar 2010) | 2 lines
#8155 : Preserve backward compatibility for test_support.check_warnings(). Add regression tests.
........
2010-08-02 22:01:34 +00:00
Ezio Melotti
f9c2f4f399
Merged revisions 78815 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78815 | florent.xicluna | 2010-03-09 21:57:01 +0200 (Tue, 09 Mar 2010) | 2 lines
#7772 : Fix test_py3kwarn. Now the test suite could pass with "-3" flag.
........
2010-08-02 21:48:39 +00:00
Georg Brandl
0771591fe1
Merged revisions 83593 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/release27-maint
................
r83593 | georg.brandl | 2010-08-02 23:44:25 +0200 (Mo, 02 Aug 2010) | 57 lines
Merged revisions 83536,83546-83548,83550,83554-83555,83558,83563,83565,83571,83574-83575 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83536 | georg.brandl | 2010-08-02 19:49:25 +0200 (Mo, 02 Aug 2010) | 1 line
#8578 : mention danger of not incref'ing weak referenced object.
........
r83546 | georg.brandl | 2010-08-02 21:16:34 +0200 (Mo, 02 Aug 2010) | 1 line
#7973 : Fix distutils options spelling.
........
r83547 | georg.brandl | 2010-08-02 21:19:26 +0200 (Mo, 02 Aug 2010) | 1 line
#7386 : add example that shows that trailing path separators are stripped.
........
r83548 | georg.brandl | 2010-08-02 21:23:34 +0200 (Mo, 02 Aug 2010) | 1 line
#8172 : how does one use a property?
........
r83550 | georg.brandl | 2010-08-02 21:32:43 +0200 (Mo, 02 Aug 2010) | 1 line
#9451 : strengthen warning about __*__ special name usage.
........
r83554 | georg.brandl | 2010-08-02 21:43:05 +0200 (Mo, 02 Aug 2010) | 1 line
#7280 : note about nasmw.exe.
........
r83555 | georg.brandl | 2010-08-02 21:44:48 +0200 (Mo, 02 Aug 2010) | 1 line
#8861 : remove unused variable.
........
r83558 | georg.brandl | 2010-08-02 22:05:19 +0200 (Mo, 02 Aug 2010) | 1 line
#8648 : document UTF-7 codec functions.
........
r83563 | georg.brandl | 2010-08-02 22:21:21 +0200 (Mo, 02 Aug 2010) | 1 line
#9037 : add example how to raise custom exceptions from C code.
........
r83565 | georg.brandl | 2010-08-02 22:27:20 +0200 (Mo, 02 Aug 2010) | 1 line
#9111 : document that do_help() looks at docstrings.
........
r83571 | georg.brandl | 2010-08-02 22:44:34 +0200 (Mo, 02 Aug 2010) | 1 line
Clarify that abs() is not a namespace.
........
r83574 | georg.brandl | 2010-08-02 22:47:56 +0200 (Mo, 02 Aug 2010) | 1 line
#6867 : epoll.register() returns None.
........
r83575 | georg.brandl | 2010-08-02 22:52:10 +0200 (Mo, 02 Aug 2010) | 1 line
#9238 : zipfile does handle archive comments.
........
................
2010-08-02 21:45:43 +00:00
Georg Brandl
7d4bfb338d
Merged revisions 83536,83546-83548,83550,83554-83555,83558,83563,83565,83571,83574-83575 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83536 | georg.brandl | 2010-08-02 19:49:25 +0200 (Mo, 02 Aug 2010) | 1 line
#8578 : mention danger of not incref'ing weak referenced object.
........
r83546 | georg.brandl | 2010-08-02 21:16:34 +0200 (Mo, 02 Aug 2010) | 1 line
#7973 : Fix distutils options spelling.
........
r83547 | georg.brandl | 2010-08-02 21:19:26 +0200 (Mo, 02 Aug 2010) | 1 line
#7386 : add example that shows that trailing path separators are stripped.
........
r83548 | georg.brandl | 2010-08-02 21:23:34 +0200 (Mo, 02 Aug 2010) | 1 line
#8172 : how does one use a property?
........
r83550 | georg.brandl | 2010-08-02 21:32:43 +0200 (Mo, 02 Aug 2010) | 1 line
#9451 : strengthen warning about __*__ special name usage.
........
r83554 | georg.brandl | 2010-08-02 21:43:05 +0200 (Mo, 02 Aug 2010) | 1 line
#7280 : note about nasmw.exe.
........
r83555 | georg.brandl | 2010-08-02 21:44:48 +0200 (Mo, 02 Aug 2010) | 1 line
#8861 : remove unused variable.
........
r83558 | georg.brandl | 2010-08-02 22:05:19 +0200 (Mo, 02 Aug 2010) | 1 line
#8648 : document UTF-7 codec functions.
........
r83563 | georg.brandl | 2010-08-02 22:21:21 +0200 (Mo, 02 Aug 2010) | 1 line
#9037 : add example how to raise custom exceptions from C code.
........
r83565 | georg.brandl | 2010-08-02 22:27:20 +0200 (Mo, 02 Aug 2010) | 1 line
#9111 : document that do_help() looks at docstrings.
........
r83571 | georg.brandl | 2010-08-02 22:44:34 +0200 (Mo, 02 Aug 2010) | 1 line
Clarify that abs() is not a namespace.
........
r83574 | georg.brandl | 2010-08-02 22:47:56 +0200 (Mo, 02 Aug 2010) | 1 line
#6867 : epoll.register() returns None.
........
r83575 | georg.brandl | 2010-08-02 22:52:10 +0200 (Mo, 02 Aug 2010) | 1 line
#9238 : zipfile does handle archive comments.
........
2010-08-02 21:44:25 +00:00
Georg Brandl
11ce4d98f2
Merged revisions 83525 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83525 | georg.brandl | 2010-08-02 14:36:24 +0200 (Mo, 02 Aug 2010) | 1 line
Get rid of spurious "threading" entries in trace output.
........
2010-08-02 21:38:08 +00:00
Georg Brandl
fb2c459ab2
Fix merging glitches.
2010-08-02 21:36:12 +00:00
Ezio Melotti
26dfaacdda
Merged revisions 78757 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78757 | florent.xicluna | 2010-03-07 14:14:25 +0200 (Sun, 07 Mar 2010) | 2 lines
Fix some py3k warnings in the standard library.
........
2010-08-02 21:35:06 +00:00
Georg Brandl
9c5efadfb7
Merged revisions 83523 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83523 | georg.brandl | 2010-08-02 14:06:18 +0200 (Mo, 02 Aug 2010) | 1 line
#9209 and #7781 : fix two crashes in pstats interactive browser.
........
2010-08-02 21:29:14 +00:00
Ezio Melotti
f0c2ca267f
Merged revisions 75417 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75417 | antoine.pitrou | 2009-10-14 21:47:13 +0300 (Wed, 14 Oct 2009) | 3 lines
Fix failures in test_profilehooks when run with -3
........
2010-08-02 21:05:39 +00:00