Commit graph

9705 commits

Author SHA1 Message Date
Victor Stinner
3249dec024 Issue #9756: When calling a method descriptor or a slot wrapper descriptor, the
check of the object type doesn't read the __class__ attribute anymore.  Fix a
crash if a class override its __class__ attribute (e.g. a proxy of the str
type).
2011-05-01 23:19:15 +02:00
Victor Stinner
571e8fda9b regrtest: add the name of the failing test on a child error (-j option) 2011-05-01 22:57:43 +02:00
Victor Stinner
c90e19dd3f Close #11958: Fix FTP tests for IPv6, bind to "::1" instead of "localhost".
Patch written by Charles-Francois Natali.
2011-05-01 01:23:03 +02:00
Ezio Melotti
48006cf1a8 Fix test. 2011-05-01 00:03:49 +03:00
Vinay Sajip
a463d25930 Improved test coverage. 2011-04-30 21:52:48 +01:00
Victor Stinner
a929335961 Issue #8407, issue #11859: Add signal.pthread_sigmask() function to fetch
and/or change the signal mask of the calling thread.

Fix also tests of test_io using threads and an alarm: use pthread_sigmask() to
ensure that the SIGALRM signal is received by the main thread.

Original patch written by Jean-Paul Calderone.
2011-04-30 15:21:58 +02:00
Victor Stinner
d5c355ccc7 Issue #11223: Replace threading._info() by sys.thread_info 2011-04-30 14:53:09 +02:00
Senthil Kumaran
4a0afa224c Wrap the correct test with the skip decorator for the issue10761.
merge from 3.2.
2011-04-30 06:12:25 +08:00
Senthil Kumaran
be5dbebeaa merge from 3.1 2011-04-30 06:09:51 +08:00
Senthil Kumaran
f108f8258e Wrap the testskip decorator for the proper test to resolve bb failure. 2011-04-30 06:06:28 +08:00
Łukasz Langa
82710c594b Merged minor cleanups from 3.2. 2011-04-29 16:17:51 +02:00
Łukasz Langa
4d27d9e8b6 __class__ of a __class__ check worked only by chance. 2011-04-29 16:15:41 +02:00
Łukasz Langa
75da860413 TestChainMap was not previously used. Minor corrections applied. 2011-04-29 11:35:03 +02:00
Antoine Pitrou
09db87b633 Merge 2011-04-29 00:49:33 +02:00
Antoine Pitrou
31b89599e9 Add WSANO_DATA to possible errors triggered by getaddrinfo (Windows) 2011-04-29 00:49:03 +02:00
Brian Curtin
f664345981 Implement #11832. Add an option to start regrtest and wait for input
before continuing.

This is useful for starting up the test suite to attach a debugger such
as Visual Studio or others.
2011-04-28 17:45:17 -05:00
Antoine Pitrou
390ea0f25d Add WSANO_DATA to possible errors triggered by getaddrinfo (Windows) 2011-04-29 00:44:33 +02:00
Antoine Pitrou
5aefa6637c Fix whitespace 2011-04-28 19:24:46 +02:00
Antoine Pitrou
15399c3f09 Issue #11811: ssl.get_server_certificate() is now IPv6-compatible. Patch
by Charles-François Natali.
2011-04-28 19:23:55 +02:00
Antoine Pitrou
9c39f3c4ec Issue #11811: Factor out detection of IPv6 support on the current host
and make it available as `test.support.IPV6_ENABLED`.  Patch by
Charles-François Natali.
2011-04-28 19:18:10 +02:00
Łukasz Langa
70eb79c669 Merged solution for #11324 from 3.2. 2011-04-28 17:04:25 +02:00
Łukasz Langa
1aa422fe8f Closes #11324: ConfigParser(interpolation=None) doesn't work.
Initial patches by Tobias Brink. Thanks!
2011-04-28 17:03:45 +02:00
Vinay Sajip
7fe1d51924 Improved test_logging coverage. 2011-04-28 12:04:58 +01:00
Łukasz Langa
e812bf7bf6 Merged styling updates for #11670 from 3.2. 2011-04-28 12:02:58 +02:00
Łukasz Langa
ba702daef9 Style updates for the #11670 solution after post-commit review by Ezio Melotti:
http://mail.python.org/pipermail/python-checkins/2011-April/104688.html

Thanks!
2011-04-28 12:02:05 +02:00
Senthil Kumaran
2ea72709a3 merge from 3.2 2011-04-28 17:08:41 +08:00
Senthil Kumaran
c20566cdf8 merge from 3.1 2011-04-28 17:08:12 +08:00
Senthil Kumaran
e3bdcf4ffd skip the extractall test on platforms where os.symlink is not available. 2011-04-28 17:05:55 +08:00
Łukasz Langa
50c7562da9 Merged solution for #11858 from 3.2. 2011-04-28 11:01:18 +02:00
Łukasz Langa
e698cd54bc Closes #11858: configparser.ExtendedInterpolation and section case.
Patch by ゆかり ぴんく魔女. Thanks!
2011-04-28 10:58:57 +02:00
Senthil Kumaran
7274828b48 merge from 3.2 2011-04-28 15:53:59 +08:00
Senthil Kumaran
8a410d319a merge from 3.1 2011-04-28 15:53:09 +08:00
Senthil Kumaran
123932f237 Add tests for tarfile extractall feature when with symlinks 2011-04-28 15:38:12 +08:00
Ezio Melotti
60811c215f #11926: merge with 3.2. 2011-04-28 07:55:29 +03:00
Ezio Melotti
44aad855dd #11926: merge with 3.1. 2011-04-28 07:51:14 +03:00
Ezio Melotti
b185a04aa1 #11926: add missing keywords to help("keywords"). 2011-04-28 07:42:55 +03:00
Ezio Melotti
3c1d067ef9 #11938: merge with 3.2. 2011-04-28 01:00:25 +03:00
Ezio Melotti
75cbd73666 #11938: Fix duplicated test name in test_inspect. Patch by Andreas Stührk. 2011-04-28 00:59:29 +03:00
Łukasz Langa
29050d7317 Merged #11670 from 3.2 2011-04-27 18:11:50 +02:00
Łukasz Langa
daab1c8092 Closes #11670: configparser read_file now iterates over f. 2011-04-27 18:10:05 +02:00
Éric Araujo
0abb8b74d9 Merge 3.2 2011-04-27 16:32:36 +02:00
Éric Araujo
944d16c6c4 Merge 3.1 2011-04-27 16:27:38 +02:00
Éric Araujo
9a42793761 Branch merge 2011-04-27 16:23:56 +02:00
Vinay Sajip
6bba65c799 Use correct Unix socket for syslogd on OS X. 2011-04-27 14:31:55 +01:00
Vinay Sajip
dbeb27461c test_logging: handle syslogd connection failure. 2011-04-27 14:18:06 +01:00
Vinay Sajip
5a35b06d5e test_logging coverage improvements. 2011-04-27 11:31:14 +01:00
Vinay Sajip
86a96cee23 Re-enabled time test in test_logging. 2011-04-27 08:30:30 +01:00
Ezio Melotti
935a588825 #11763: don't use difflib in TestCase.assertMultiLineEqual if the strings are too long. 2011-04-27 10:17:34 +03:00
Vinay Sajip
d972d8fea2 Disabled test failing on buildbots. 2011-04-26 20:51:07 +01:00
Vinay Sajip
37eb3387a4 Refined time test in test_logging. 2011-04-26 20:26:41 +01:00