Serhiy Storchaka
0eb60a7cb9
Issue #11957 : Restored re tests for passing count and maxsplit as positional
...
arguments.
2016-09-25 20:39:04 +03:00
Serhiy Storchaka
b02f8fc3af
Issue #11957 : Restored re tests for passing count and maxsplit as positional
...
arguments.
2016-09-25 20:36:23 +03:00
Serhiy Storchaka
1aca3899fb
Issue #27611 : Fixed support of default root window in the tkinter.tix module.
...
Added the master parameter in the DisplayStyle constructor.
2016-09-25 16:52:13 +03:00
Serhiy Storchaka
e6f0199c19
Issue #27611 : Fixed support of default root window in the tkinter.tix module.
2016-09-25 16:46:10 +03:00
Guido van Rossum
a653196585
Remove mention of asyncio.timeout context manager (it was removed)
2016-09-24 09:31:23 -07:00
Mark Dickinson
6997946ec4
Issue #28203 : Merge from 3.5
2016-09-24 15:28:34 +01:00
Mark Dickinson
613f8e513c
Issue #28203 : Fix incorrect type in error message from complex(1.0, {2:3}). Patch by Soumya Sharma.
2016-09-24 15:26:36 +01:00
Christian Heimes
938da643ee
Write configure message to AS_MESSAGE_FD
2016-09-24 12:34:25 +02:00
Christian Heimes
1a63b9f288
Typo
2016-09-24 12:07:21 +02:00
Christian Heimes
a5d0765990
Finish GC code for SSLSession and increase test coverage
2016-09-24 10:48:05 +02:00
Martin Panter
22ecc4b36d
Issue #28221 : Merge SSL test cleanup from 3.5 into 3.6
2016-09-24 03:03:07 +00:00
Martin Panter
8609cda961
Issue #28221 : Remove unused assignment from test_asyncore_server()
...
The later value of FOO is fine. The test just needs to verify that the server
converted it to lowercase.
2016-09-23 23:45:56 +00:00
Christian Heimes
517507c6d5
Issue #28100 : Refactor error messages, patch by Ivan Levkivskyi
2016-09-23 20:26:30 +02:00
Christian Heimes
6f3f3e5ca4
Increase buffer for readlink() in case OS will support longer names one day.
2016-09-23 20:24:39 +02:00
Christian Heimes
3cb091e576
Increase buffer for readlink() in case OS will support longer names one day.
2016-09-23 20:24:28 +02:00
Christian Heimes
0202c347bc
Add an extra byte for null in case we ever get very long unicode names.
2016-09-23 20:21:20 +02:00
Christian Heimes
2f366cab48
Add an extra byte for null in case we ever get very long unicode names.
2016-09-23 20:20:27 +02:00
Christian Heimes
e370409cb1
Add test cases for internal SHA3 helpers
2016-09-23 11:32:30 +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
7b7228a709
remove unneeded cast
2016-09-22 23:39:59 -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
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
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
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
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
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
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
Serhiy Storchaka
349f552507
Merge heads
2016-09-21 15:56:57 +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
b00e00c339
Don't define PY_WITH_KECCAK
2016-09-21 14:36:44 +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
2f2fee19ec
va_end() all va_copy()ed va_lists.
2016-09-21 11:37:27 +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
0c21214f3e
replace usage of Py_VA_COPY with the (C99) standard va_copy
2016-09-20 20:39:33 -07:00
Victor Stinner
ec2319c46d
Fix memleak in os.getrandom()
...
Issue #27778 : Fix a memory leak in os.getrandom() when the getrandom() is
interrupted by a signal and a signal handler raises a Python exception.
Modify also os_getrandom_impl() to avoid the temporary buffer, use directly a
Python bytes object.
2016-09-20 23:00:59 +02:00
Victor Stinner
75024c6589
(Merge 3.5) Catch EPERM error in py_getrandom()
...
Issue #27955 : Fallback on reading /dev/urandom device when the getrandom()
syscall fails with EPERM, for example when blocked by SECCOMP.
2016-09-20 22:49:52 +02:00
Victor Stinner
6d8bc46cc0
Catch EPERM error in py_getrandom()
...
Issue #27955 : Fallback on reading /dev/urandom device when the getrandom()
syscall fails with EPERM, for example when blocked by SECCOMP.
2016-09-20 22:46:02 +02:00
Victor Stinner
af59732102
Cleanup random.c
...
Issue #27955 : modify py_getrnadom() and dev_urandom()
* Add comments from Python 3.7
* PEP 7 style: add {...}
2016-09-20 22:26:18 +02:00