summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-31368: Enhance os.preadv() documentation (GH-7254)Pablo Galindo2018-05-302-98/+118
|
* 3.6 what's new: fix a reference to PEP 528 (#7113)Dmitry Shachnev2018-05-301-1/+1
|
* bpo-33696: Install python-docs-theme even if SPHINXBUILD is defined (GH-7242)Andrés Delfino2018-05-301-9/+7
|
* bpo-33691: Add _PyAST_GetDocString(). (GH-7236)Serhiy Storchaka2018-05-305-58/+48
|
* Improve ensurepip's --help (GH-4686)Wieland Hoffmann2018-05-301-3/+3
| | | | | | | | * Add a space to ensurepip's --altinstall option * Add periods to the arguments of ensurepip that didn't have it This makes --help for all optional arguments consistent and also makes it consistent with pip --help.
* bpo-33238: Add InvalidStateError to concurrent.futures. (GH-7056)jhaydaman2018-05-306-6/+59
| | | | | | | Future.set_result and Future.set_exception now raise InvalidStateError if the futures are not pending or running. This mirrors the behavior of asyncio.Future, and prevents AssertionErrors in asyncio.wrap_future when set_result is called multiple times.
* Revert "A better fix for asyncio test_stdin_broken_pipe (GH-7221)" (GH-7235)Yury Selivanov2018-05-301-4/+2
| | | | | This reverts commit ad74d50517c069359578014bb32e660828d68332. Turns out it's not a good fix -- Travis has just crashed on this test.
* A better fix for asyncio test_stdin_broken_pipe (#7221)Yury Selivanov2018-05-301-2/+4
|
* Revert "bpo-22087: Fix Policy.get_event_loop() to detect fork (GH-7208)" (#7232)Yury Selivanov2018-05-303-42/+0
| | | This reverts commit 5d97b7bcc19496617bf8c448d2f149cc28c73bc7.
* Fix typo introduced in GH-7217 (#7230)Elvis Pranskevichus2018-05-301-1/+1
|
* bpo-32684: Fix nits in tests (GH-7225)Yury Selivanov2018-05-291-3/+3
|
* Fix whatsnew entry about ThreadedHTTPServer. (GH-7220)Julien Palard2018-05-291-1/+1
|
* bpo-23859: Document that asyncio.wait() does not cancel its futures (#7217)Elvis Pranskevichus2018-05-292-0/+4
| | | | Unlike `asyncio.wait_for()`, `asyncio.wait()` does not cancel the passed futures when a timeout accurs.
* bpo-32751: Wait for task cancellation in asyncio.wait_for() (GH-7216)Elvis Pranskevichus2018-05-295-3/+100
| | | | | | | | | | | | | | | | | | | | | | | Currently, asyncio.wait_for(fut), upon reaching the timeout deadline, cancels the future and returns immediately. This is problematic for when *fut* is a Task, because it will be left running for an arbitrary amount of time. This behavior is iself surprising and may lead to related bugs such as the one described in bpo-33638: condition = asyncio.Condition() async with condition: await asyncio.wait_for(condition.wait(), timeout=0.5) Currently, instead of raising a TimeoutError, the above code will fail with `RuntimeError: cannot wait on un-acquired lock`, because `__aexit__` is reached _before_ `condition.wait()` finishes its cancellation and re-acquires the condition lock. To resolve this, make `wait_for` await for the task cancellation. The tradeoff here is that the `timeout` promise may be broken if the task decides to handle its cancellation in a slow way. This represents a behavior change and should probably not be back-patched to 3.6 and earlier.
* bpo-32684: Fix gather to propagate cancel of itself with return_exceptions ↵Yury Selivanov2018-05-294-2/+46
| | | | (GH-7209)
* bpo-31639: Change ThreadedHTTPServer to ThreadingHTTPServer class name (GH-7195)Géry Ogam2018-05-293-6/+6
|
* bpo-22087: Fix Policy.get_event_loop() to detect fork (GH-7208)Yury Selivanov2018-05-293-0/+42
| | | | Original patch by Dan O'Reilly.
* bpo-30935: update get_event_loop docs (GH-2731)Mandeep Singh2018-05-292-2/+5
|
* Attempt to fix test_stdin_broken_pipe on Travis (#7210)Yury Selivanov2018-05-291-0/+1
|
* bpo-33622: Add checks for exceptions leaks in the garbage collector. (GH-7126)Serhiy Storchaka2018-05-291-4/+23
| | | | | * Failure in adding to gc.garbage is no longer fatal. * An exception in tp_clear() no longer lead to crash (though tp_clear() should not leave exceptions).
* bpo-33197: Update a error message of invalid inspect.Parameters. (GH-6636)Dong-hee Na2018-05-293-19/+55
|
* bpo-33353: test_asyncio use set_write_buffer_limits() (GH-7200)Victor Stinner2018-05-292-18/+30
| | | | | | | Use transport.set_write_buffer_limits() in sendfile tests of test_asyncio to make sure that the protocol is paused after sending 4 KiB. Previously, test_sendfile_fallback_close_peer_in_the_middle_of_receiving() failed on FreeBSD if the DATA was smaller than the default limit of 64 KiB.
* bpo-32911: Revert bpo-29463. (GH-7121) (GH-7197)Serhiy Storchaka2018-05-2917-3353/+3282
| | | | | | Remove the docstring attribute of AST types and restore docstring expression as a first stmt in their body. Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
* bpo-33654: Support protocol type switching in SSLTransport.set_protocol() ↵Yury Selivanov2018-05-293-15/+44
| | | | (#7194)
* bpo-33674: Pause the transport as early as possible (#7192)Yury Selivanov2018-05-292-2/+7
|
* bpo-32878: Adds documentation for st_ino on Windows (GH-5764)Steve Dower2018-05-291-1/+11
|
* bpo-33674: asyncio: Fix SSLProtocol race (GH-7175)Victor Stinner2018-05-282-1/+5
| | | | | | Fix a race condition in SSLProtocol.connection_made() of asyncio.sslproto: start immediately the handshake instead of using call_soon(). Previously, data_received() could be called before the handshake started, causing the handshake to hang or fail.
* bpo-33670: Expose Sphinx errorlevel (GH-7156)Andrés Delfino2018-05-281-1/+1
|
* bpo-33673: Install python-docs-theme even if Sphinx is already installed ↵Andrés Delfino2018-05-281-1/+7
| | | | (GH-7163)
* bpo-32410: Avoid blocking on file IO in sendfile fallback code (GH-7172)Yury Selivanov2018-05-285-2/+24
|
* bpo-32610: Fix asyncio.all_tasks() to return only pending tasks. (GH-7174)Yury Selivanov2018-05-287-9/+51
|
* bpo-33469: RuntimeError after closing loop that used run_in_executor (GH-7171)Yury Selivanov2018-05-283-0/+22
|
* bro-33614: Override exit code in find_msbuild.bat (GH-7169)Steve Dower2018-05-282-2/+3
|
* bpo-33672: Fix Task.__repr__ crash with Cython's bogus coroutines (GH-7161)Yury Selivanov2018-05-284-40/+61
|
* bpo-32458: Further tune start_tls tests (#7166)Yury Selivanov2018-05-281-4/+6
|
* bpo-33614: Ensures module definition files for the stable ABI on Windows are ↵Steve Dower2018-05-283-5/+27
| | | | correctly regenerated. (GH-7165)
* regrtest: repeat summary after re-run (GH-7159)Victor Stinner2018-05-281-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 Selivanov2018-05-2813-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)jimmylai2018-05-282-5/+6
|
* bpo-31647: Fix write_eof() after close() for SelectorSocketTransport (GH-7149)twisteroid ambassador2018-05-283-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 Selivanov2018-05-282-1/+8
|
* bpo-32374: Ignore Python-level exceptions in test_bad_traverse (GH-7145)Marcel Plch2018-05-281-7/+13
|
* bpo-33652: Remove __getstate__ and __setstate__ methods in typing. (GH-7144)Serhiy Storchaka2018-05-281-21/+0
|
* bpo-32380: Create functools.singledispatchmethod (#6306)Ethan Smith2018-05-265-1/+205
|
* bpo-33655: Also ignore test_posix_fallocate failures on BSD platforms (GH-7134)Ned Deily2018-05-262-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 Storchaka2018-05-262-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 Delfino2018-05-261-1/+1
|
* bpo-32769: A new take on annotations/type hinting glossary entries (GH-6829)Andrés Delfino2018-05-261-35/+60
|
* bpo-33644: Fix signatures of tp_finalize handlers in testing code. (GH-7111)Serhiy Storchaka2018-05-262-4/+2
|
* test.regrtest: flush stdout when display progress (#7105)Victor Stinner2018-05-251-2/+2
| | | runtest_mp.py: call print() with flush=True.