Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | bpo-32610: Fix asyncio.all_tasks() to return only pending tasks. (GH-7174) | Yury Selivanov | 2018-05-28 | 7 | -9/+51 | |
| | ||||||
* | bpo-33469: RuntimeError after closing loop that used run_in_executor (GH-7171) | Yury Selivanov | 2018-05-28 | 3 | -0/+22 | |
| | ||||||
* | bro-33614: Override exit code in find_msbuild.bat (GH-7169) | Steve Dower | 2018-05-28 | 2 | -2/+3 | |
| | ||||||
* | bpo-33672: Fix Task.__repr__ crash with Cython's bogus coroutines (GH-7161) | Yury Selivanov | 2018-05-28 | 4 | -40/+61 | |
| | ||||||
* | bpo-32458: Further tune start_tls tests (#7166) | Yury Selivanov | 2018-05-28 | 1 | -4/+6 | |
| | ||||||
* | bpo-33614: Ensures module definition files for the stable ABI on Windows are ↵ | Steve Dower | 2018-05-28 | 3 | -5/+27 | |
| | | | | correctly regenerated. (GH-7165) | |||||
* | regrtest: repeat summary after re-run (GH-7159) | Victor Stinner | 2018-05-28 | 1 | -6/+19 | |
| | | | | Using -w, when failing tests are re-run in verbose mode, display again the tests results at the end. | |||||
* | bpo-33654: Support BufferedProtocol in set_protocol() and start_tls() (GH-7130) | Yury Selivanov | 2018-05-28 | 13 | -66/+379 | |
| | | | | | | | | | | | In this commit: * Support BufferedProtocol in set_protocol() and start_tls() * Fix proactor to cancel readers reliably * Update tests to be compatible with OpenSSL 1.1.1 * Clarify BufferedProtocol docs * Bump TLS tests timeouts to 60 seconds; eliminate possible race from start_serving * Rewrite test_start_tls_server_1 | |||||
* | bpo-33505: Optimize asyncio.ensure_future by reordering if conditions (GH-6836) | jimmylai | 2018-05-28 | 2 | -5/+6 | |
| | ||||||
* | bpo-31647: Fix write_eof() after close() for SelectorSocketTransport (GH-7149) | twisteroid ambassador | 2018-05-28 | 3 | -1/+9 | |
| | | | | | Fixed bug where calling write_eof() on a _SelectorSocketTransport after it's already closed raises AttributeError. | |||||
* | bpo-33623: Fix possible SIGSGV when asyncio.Future is created in __del__ (#7080) | Yury Selivanov | 2018-05-28 | 2 | -1/+8 | |
| | ||||||
* | bpo-32374: Ignore Python-level exceptions in test_bad_traverse (GH-7145) | Marcel Plch | 2018-05-28 | 1 | -7/+13 | |
| | ||||||
* | bpo-33652: Remove __getstate__ and __setstate__ methods in typing. (GH-7144) | Serhiy Storchaka | 2018-05-28 | 1 | -21/+0 | |
| | ||||||
* | bpo-32380: Create functools.singledispatchmethod (#6306) | Ethan Smith | 2018-05-26 | 5 | -1/+205 | |
| | ||||||
* | bpo-33655: Also ignore test_posix_fallocate failures on BSD platforms (GH-7134) | Ned Deily | 2018-05-26 | 2 | -1/+8 | |
| | | | | The failure may be due to the use oF ZFS, a case we already ignore for Solaris-based systems where ZFS is frequently used. | |||||
* | bpo-33652: Improve pickle support in the typing module. (GH-7123) | Serhiy Storchaka | 2018-05-26 | 2 | -8/+21 | |
| | | | | Pickles of type variables and subscripted generics are now future-proof and compatible with older Python versions. | |||||
* | Fix typo spotted by Guido (GH-7131) | Andrés Delfino | 2018-05-26 | 1 | -1/+1 | |
| | ||||||
* | bpo-32769: A new take on annotations/type hinting glossary entries (GH-6829) | Andrés Delfino | 2018-05-26 | 1 | -35/+60 | |
| | ||||||
* | bpo-33644: Fix signatures of tp_finalize handlers in testing code. (GH-7111) | Serhiy Storchaka | 2018-05-26 | 2 | -4/+2 | |
| | ||||||
* | test.regrtest: flush stdout when display progress (#7105) | Victor Stinner | 2018-05-25 | 1 | -2/+2 | |
| | | | runtest_mp.py: call print() with flush=True. | |||||
* | Document typing.NoReturn (GH-7107) | Ivan Levkivskyi | 2018-05-25 | 1 | -0/+12 | |
| | ||||||
* | bpo-32493: Fix uuid.uuid1() on FreeBSD. (GH-7099) | Serhiy Storchaka | 2018-05-24 | 5 | -1/+61 | |
| | | | Use uuid_enc_be() if available to encode UUID to bytes as big endian. | |||||
* | bpo-33629: Prevent coredump in test_importlib (GH-7090) | Victor Stinner | 2018-05-24 | 1 | -1/+4 | |
| | | | | | bpo-32374, bpo-33629: Use support.SuppressCrashReport() in test_bad_traverse() of MultiPhaseExtensionModuleTests to prevent leaking a core dump file. | |||||
* | bpo-33622: Fix issues with handling errors in the GC. (GH-7078) | Serhiy Storchaka | 2018-05-24 | 2 | -8/+15 | |
| | | | | | | | * Fixed a leak when the GC fails to add an object with __del__ into the gc.garbage list. * PyGC_Collect() can now be called when an exception is set and preserves it. * Fixed an undefined behavior with comparing a dead pointer with NULL. | |||||
* | closes bpo-33619: Fix libffi detection by regenerating ./configure (GH-7075) | Chih-Hsuan Yen | 2018-05-24 | 2 | -3/+408 | |
| | ||||||
* | bpo-33628: IDLE: Minor code cleanup of codecontext.py and its tests (GH-7085) | Cheryl Sabella | 2018-05-24 | 4 | -59/+62 | |
| | ||||||
* | bpo-33109: argparse subparsers are once again not required by default (GH-6919) | Ned Deily | 2018-05-24 | 5 | -3/+9 | |
| | | | | | | | | | bpo-26510 in 3.7.0a2 changed the behavior of argparse to make subparsers required by default, returning to the behavior of 2.7 and 3.2. The behavior was changed in 3.3 to be no longer required. While it might make more sense to have the default to required, compatibility with 3.3 through 3.6 is probably less disruptive than trying to reintroduce compatibility with 2.7 at this point. This change restores the 3.6 behavior. | |||||
* | bpo-33540: Add block_on_close attr to socketserver (GH-6911) | Victor Stinner | 2018-05-24 | 4 | -12/+43 | |
| | | | | Add a new block_on_close class attribute to ForkingMixIn and ThreadingMixIn classes of socketserver to opt-in for pre-3.7 behaviour. | |||||
* | bpo-33353: test_asyncio set SO_SNDBUF after connect (GH-7086) | Victor Stinner | 2018-05-24 | 1 | -3/+9 | |
| | | | | | bpo-32622, bpo-33353: On macOS, sock.connect() changes the SO_SNDBUF value. Only set SO_SNDBUF and SO_RCVBUF buffer sizes once a socket is connected or binded, not before. | |||||
* | bpo-33353: test_asyncio uses smaller sendfile data (#7083) | Victor Stinner | 2018-05-23 | 1 | -2/+2 | |
| | | | | | | | | | | | | | bpo-32622, bpo-33353: sendfile() tests of test_asyncio use socket buffers of 1 kB "to test on relative small data sets". Send only 160 KiB rather 10 MB to make the test much faster. Shrink also SendfileBase.DATA from 1600 KiB to 160 KiB. On Linux, 3 test_sock_sendfile_mix_with_regular_send() runs now take less than 1 second, instead of 18 seconds. On FreeBSD, the 3 tests didn't hang, but took 3 minutes. Now the 3 tests pass in less than 1 seconds. | |||||
* | bpo-33618: Enable TLS 1.3 in tests (GH-7079) | Christian Heimes | 2018-05-23 | 9 | -46/+142 | |
| | | | | | | | | | | | | TLS 1.3 behaves slightly different than TLS 1.2. Session tickets and TLS client cert auth are now handled after the initialy handshake. Tests now either send/recv data to trigger session and client certs. Or tests ignore ConnectionResetError / BrokenPipeError on the server side to handle clients that force-close the socket fd. To test TLS 1.3, OpenSSL 1.1.1-pre7-dev (git master + OpenSSL PR https://github.com/openssl/openssl/pull/6340) is required. Signed-off-by: Christian Heimes <christian@python.org> | |||||
* | bpo-32436: Document PEP 567 changes to asyncio. (GH-7073) | Yury Selivanov | 2018-05-23 | 4 | -6/+57 | |
| | ||||||
* | bpo-33612: Remove PyThreadState_Clear() assertion (#7069) | Victor Stinner | 2018-05-23 | 1 | -1/+0 | |
| | | | | | bpo-25612, bpo-33612: Remove an assertion from PyThreadState_Clear() which failed at Python shutdown or on fork if a thread was running a generator. | |||||
* | bpo-27300: Add the errors parameter to tempfile classes. (GH-6696) | sth | 2018-05-23 | 4 | -24/+41 | |
| | ||||||
* | Reverse the meaning of is_argument when used for type check (GH-7039) | Nina Zakharenko | 2018-05-23 | 1 | -4/+4 | |
| | ||||||
* | bpo-33604: Remove Pending from hmac Deprecation warning. (GH-7062) | Matthias Bussonnier | 2018-05-22 | 4 | -6/+9 | |
| | | | bpo-33604: Bump removal notice from 3.6 to 3.8 and change PendingDeprecationWarning to DeprecationWarning as we had intended to do earlier... | |||||
* | bpo-33570: TLS 1.3 ciphers for OpenSSL 1.1.1 (GH-6976) | Christian Heimes | 2018-05-22 | 5 | -39/+33 | |
| | | | | | | | | | | Change TLS 1.3 cipher suite settings for compatibility with OpenSSL 1.1.1-pre6 and newer. OpenSSL 1.1.1 will have TLS 1.3 cipers enabled by default. Also update multissltests and Travis config to test with latest OpenSSL. Signed-off-by: Christian Heimes <christian@python.org> | |||||
* | bpo-33516: Add support for __round__ in MagicMock (GH-6880) | John Reese | 2018-05-22 | 4 | -2/+8 | |
| | | | unittest.mock.MagicMock now supports the __round__() magic method. | |||||
* | Add missed details of the C API introduced in 3.7. (GH-7047) | Serhiy Storchaka | 2018-05-22 | 4 | -0/+82 | |
| | | | | | | * Set the limited API version for PyImport_GetModule and PyOS_*Fork functions. * Add PyImport_GetModule and Py_UTF8Mode in PC/python3.def. * Add several functions in Doc/data/refcounts.dat. | |||||
* | bpo-33592: Document the C API in PEP 567 (contextvars) (GH-7033) | Elvis Pranskevichus | 2018-05-22 | 3 | -2/+131 | |
| | ||||||
* | Improve comments in test_idle.py. (GH-7057) | Terry Jan Reedy | 2018-05-22 | 1 | -6/+8 | |
| | ||||||
* | bpo-30877: Fix clearing a cache in the the JSON decoder. (GH-7048) | Serhiy Storchaka | 2018-05-22 | 3 | -2/+7 | |
| | ||||||
* | Add PyThread_tss_* to Doc/data/refcounts.dat. (GH-7038) | Masayuki Yamamoto | 2018-05-22 | 1 | -0/+21 | |
| | | | Thread Specific Storage (TSS) API is a public C API (new in 3.7). | |||||
* | bpo-5945: Improve mappings and sequences C API docs. (GH-7029) | Serhiy Storchaka | 2018-05-22 | 5 | -76/+101 | |
| | ||||||
* | Fix lambda parameters being refered as arguments (GH-7037) | Andrés Delfino | 2018-05-22 | 2 | -3/+3 | |
| | ||||||
* | Use IPv4 only to avoid IP address collision (#7030) | Andrew Svetlov | 2018-05-21 | 1 | -6/+4 | |
| | ||||||
* | bpo-33583: Add note in PyObject_GC_Resize() doc (GH-7021) | INADA Naoki | 2018-05-21 | 2 | -1/+2 | |
| | ||||||
* | Fix asyncio flaky tests (#7023) | Andrew Svetlov | 2018-05-21 | 1 | -2/+3 | |
| | ||||||
* | bpo-33263: Fix FD leak in _SelectorSocketTransport (GH-6450) | Vlad Starostin | 2018-05-21 | 3 | -3/+25 | |
| | | | | | | | | | * bpo-33263 Fix FD leak in _SelectorSocketTransport. (GH-6450) Under particular circumstances _SelectorSocketTransport can try to add a reader even the transport is already being closed. This can lead to FD leak and invalid stated of the following connections. Fixed the SelectorSocketTransport to add the reader only if the trasport is still active. | |||||
* | bpo-26103: Fix inspect.isdatadescriptor() and a data descriptor definition. ↵ | Aaron Hall, MBA | 2018-05-20 | 5 | -4/+62 | |
| | | | | | | (GH-1959) Look for '__set__' or '__delete__'. |