Commit graph

40537 commits

Author SHA1 Message Date
Serhiy Storchaka
f02f93ecca Issue #28086: Single var-positional argument of tuple subtype was passed
unscathed to the C-defined function.  Now it is converted to exact tuple.
2016-09-22 19:43:38 +03:00
Serhiy Storchaka
63dc548109 Issue #28086: Single var-positional argument of tuple subtype was passed
unscathed to the C-defined function.  Now it is converted to exact tuple.
2016-09-22 19:41:20 +03:00
Christian Heimes
ea8f2a6d09 Make Lib/test/ssltests.py more useful and faster for OpenSSL testing 2016-09-22 16:50:18 +02:00
Christian Heimes
5ed548715a Make Lib/test/ssltests.py more useful and faster for OpenSSL testing 2016-09-22 16:49:51 +02:00
Christian Heimes
55b196a1e4 Make Lib/test/ssltests.py more useful and faster for OpenSSL testing 2016-09-22 16:49:35 +02:00
Martin Panter
2e610df572 Merge socketserver fixes from 3.6 2016-09-22 10:34:50 +00:00
Martin Panter
21efc0bbf8 Issue #27348: Merge exception formatting fix from 3.6 2016-09-22 10:34:25 +00:00
Martin Panter
3217b1243e Merge socketserver fixes from 3.5 into 3.6 2016-09-22 10:33:51 +00:00
Martin Panter
f3b0639417 Issue #27348: Merge exception formatting fix from 3.5 into 3.6 2016-09-22 10:33:21 +00:00
Martin Panter
463ef2b3cf Fix references to Python 3’s socketserver (lowercase) module 2016-09-22 09:37:56 +00:00
Martin Panter
bb8b1cb6af Issue #27348: Restore “Exception: None” formatting in traceback module
This fixes a regression caused by revision 73afda5a4e4c. Also reverts the
decimal test workaround added in revision 5f3dd0a2b1ab.

Remove test_without_exception(). According to revision ecaafc32c500, this was
added in Python 2 so that print_exc() would output “None” when called with no
exception set. However print_exc() never worked like this in Python 3, and
the use case is not documented.

Restore TracebackCases class name (instead of SyntaxTracebackCases), because
the class also tests other exceptions.
2016-09-22 09:37:39 +00:00
Serhiy Storchaka
b0ba1974a4 Extend the test to lower pickle protocols. 2016-09-22 11:43:46 +03:00
Serhiy Storchaka
e3d504090c Extend the test to lower pickle protocols. 2016-09-22 11:42:38 +03:00
Serhiy Storchaka
92bb90a9ff Extend the test to lower pickle protocols. 2016-09-22 11:39:25 +03:00
Berker Peksag
c96629953b Issue #25651: Merge from 3.6 2016-09-21 19:35:54 +03:00
Berker Peksag
b3d4e7fe71 Issue #25651: Merge from 3.5 2016-09-21 19:35:28 +03:00
Berker Peksag
16ea19fc66 Issue #25651: Allow falsy values to be used for msg parameter of subTest() 2016-09-21 19:34:15 +03:00
Victor Stinner
3e56c23e7d regrtest: add -u for unbuffered stdout/stderr 2016-09-21 17:12:50 +02:00
Serhiy Storchaka
cf4fb40b9d Issue #28214: Now __set_name__ is looked up on the class instead of the
instance.
2016-09-21 15:55:49 +03:00
Serhiy Storchaka
afd02a439f Issue #28214: Now __set_name__ is looked up on the class instead of the
instance.
2016-09-21 15:54:59 +03:00
Victor Stinner
c710362576 Merge 3.6 2016-09-21 09:16:39 +02:00
Victor Stinner
1c56bf0bad Merge 3.5 2016-09-21 09:16:31 +02:00
Victor Stinner
0256f42839 test_asynico: fix test_sock_connect_sock_write_race()
Issue #28176: Increase timeout from 10 seconds to 60 seconds.
2016-09-21 09:15:36 +02:00
Raymond Hettinger
2113c6e41b merge 2016-09-18 21:46:34 -07:00
Raymond Hettinger
6692f01c91 merge 2016-09-18 21:46:08 -07:00
Raymond Hettinger
7eb1becc25 Issue #28189: dictitems_contains no longer swallows compare errors.
(Patch by Xiang Zhang)
2016-09-18 21:45:11 -07:00
Raymond Hettinger
07064c409c merge 2016-09-18 20:17:51 -07:00
Raymond Hettinger
5820f3a381 Issue #28193: Use lru_cache in the re module. 2016-09-18 20:17:21 -07:00
Victor Stinner
f04ce5d6f1 Merge 3.6 (test_regrtest) 2016-09-19 00:11:58 +02:00
Victor Stinner
254ad58c07 Fix test_huntrleaks_fd_leak() of test_regrtest
Issue #28195: Don't expect the fd leak message to be on a specific line number,
just make sure that the line is present in the output.
2016-09-19 00:11:30 +02:00
Ethan Furman
475b405a54 issue23591: fix flag decomposition and repr 2016-09-18 13:16:04 -07:00
Ethan Furman
3515dcce80 issue23591: fix flag decomposition and repr 2016-09-18 13:15:41 -07:00
Berker Peksag
76ab4164e5 Issue #25400: Merge from 3.6 2016-09-18 20:18:35 +03:00
Berker Peksag
9a7bbb2e3f Issue #25400: RobotFileParser now correctly returns default values for crawl_delay and request_rate
Initial patch by Peter Wirtz.
2016-09-18 20:17:58 +03:00
Berker Peksag
5a5ae745ff Issue #26610: Skip test_with_pip if _ctypes is not available in OpenIndiana 2016-09-18 14:52:25 +03:00
Berker Peksag
bf3c1c3235 Issue #28075: Fix test_access_denied in Python 3.5
I forgot there two variations of os.stat() in Python 3.5.
2016-09-18 13:56:29 +03:00
Berker Peksag
9ef04eba28 Issue #28151: Merge from 3.6 2016-09-18 11:22:29 +03:00
Berker Peksag
2a8d7f1c47 Issue #28151: Use pythontest.net in test_robotparser 2016-09-18 11:21:57 +03:00
Steve Dower
5f9c3926cc Issue #27932: Prevent memory leak in win32_ver(). 2016-09-17 17:28:45 -07:00
Steve Dower
74f4af7ac3 Issue #27932: Prevent memory leak in win32_ver(). 2016-09-17 17:27:48 -07:00
Steve Dower
1ec262be80 Issue #27932: Prevent memory leak in win32_ver(). 2016-09-17 17:25:42 -07:00
Berker Peksag
f5c09402b1 Issue #28176: Merge from 3.6 2016-09-18 01:07:50 +03:00
Berker Peksag
a7b1058c17 Issue #28176: Merge from 3.5 2016-09-18 01:07:30 +03:00
Berker Peksag
bdcc8f9d1b Issue #28176: Increase timeout for test_sock_connect_sock_write_race 2016-09-18 01:06:50 +03:00
Steve Dower
39f9580dbd Issue #28192: Adds tests for hook in isolated mode 2016-09-17 14:35:43 -07:00
Steve Dower
6dd8eca4a9 Issue #28192: Adds tests for hook in isolated mode 2016-09-17 14:35:32 -07:00
Berker Peksag
ce4adc30de Issue #26384: Merge from 3.6 2016-09-17 23:23:35 +03:00
Berker Peksag
5d625cff07 Issue #26384: Merge from 3.5 2016-09-17 23:23:13 +03:00
Berker Peksag
bcfb35f80d Issue #26384: Fix UnboundLocalError in socket._sendfile_use_sendfile 2016-09-17 23:22:06 +03:00
Steve Dower
64566db065 Merge with 3.6 2016-09-17 12:57:03 -07:00