Commit Graph

96383 Commits

Author SHA1 Message Date
Victor Stinner e7d3b0cf14 Merge 3.6 (issue #27829) 2016-09-23 11:16:32 +02:00
Victor Stinner 21c8c92422 Merge 3.5 (issue #27829) 2016-09-23 11:15:50 +02:00
Victor Stinner bd2ffa5022 Issue #27829: regrtest -W displays stderr if env changed
regrtest -W hides output if a test pass, but also when env changed and so the
env changed warning is hidden. So it's hard to debug. With this change, stderr
is now always displayed when a test doesn't pass.
2016-09-23 11:13:53 +02:00
Benjamin Peterson 40b41fa531 merge 3.6 2016-09-22 23:40:08 -07:00
Benjamin Peterson 7b7228a709 remove unneeded cast 2016-09-22 23:39:59 -07:00
Steve Dower 3e7d93dc70 Issue #28251: Improvements to help manuals on Windows. 2016-09-22 17:11:53 -07:00
Steve Dower 765285337a Issue #28251: Improvements to help manuals on Windows. 2016-09-22 17:09:56 -07:00
Steve Dower fb4a96a58f Issue #28251: Improvements to help manuals on Windows. 2016-09-22 17:07:56 -07:00
Serhiy Storchaka 3bff73890e Null merge 2016-09-22 20:01:32 +03:00
Serhiy Storchaka ad4d2a50b9 Null merge 2016-09-22 20:01:15 +03:00
Serhiy Storchaka 208bbd29d3 Silence GCC warning.
The code was correct, but GCC is not enough clever.
2016-09-22 19:59:46 +03:00
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
Martin Panter adab00fb3e Issue #27950: Silence long makefile commands and comments
Gnu Make treats comments in a list of commands as shell comments (not
makefile comments), and reports them as shell commands. The space separating
the @ and # symbols helps syntax highlighting.
2016-09-22 09:34:43 +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 78c13021db Null merge 2016-09-21 15:57:24 +03:00
Serhiy Storchaka afc5127d8b Merge heads 2016-09-21 15:57:08 +03:00
Serhiy Storchaka 349f552507 Merge heads 2016-09-21 15:56:57 +03:00
Christian Heimes 33c898ec97 lcov: ignore more 3rd party code and internal test/debug/dummy files 2016-09-21 14:55: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
Christian Heimes 79f9d4ff97 lcov: ignore more 3rd party code and internal test/debug/dummy files 2016-09-21 14:55:43 +02: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
Christian Heimes d55bdb86ca Don't define PY_WITH_KECCAK 2016-09-21 14:37:04 +02:00
Christian Heimes b00e00c339 Don't define PY_WITH_KECCAK 2016-09-21 14:36:44 +02:00
Victor Stinner 71276144bd Merge 3.6 2016-09-21 14:14:59 +02:00
Victor Stinner 44f4874e68 Merge 3.5 2016-09-21 14:13:53 +02:00
Victor Stinner 1ddf53d496 Fix PyUnicode_FromFormatV() error handling
Issue #28233: Fix a memory leak if the format string contains a non-ASCII
character, destroy the unicode writer.
2016-09-21 14:13:14 +02:00
Christian Heimes e5ad75e242 va_end() all va_copy()ed va_lists. 2016-09-21 11:37:38 +02:00
Christian Heimes 2f2fee19ec va_end() all va_copy()ed va_lists. 2016-09-21 11:37:27 +02: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
Benjamin Peterson 637d1e2b0a merge 3.6 2016-09-20 20:39:44 -07:00
Benjamin Peterson 0c21214f3e replace usage of Py_VA_COPY with the (C99) standard va_copy 2016-09-20 20:39:33 -07:00
Victor Stinner b6f3c0dca1 Merge 3.6 (os.getrandom) 2016-09-20 23:01:22 +02:00