Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix typo introduced in GH-7217 (#7230) | Elvis Pranskevichus | 2018-05-30 | 1 | -1/+1 | |
| | ||||||
* | Fix whatsnew entry about ThreadedHTTPServer. (GH-7220) | Julien Palard | 2018-05-29 | 1 | -1/+1 | |
| | ||||||
* | bpo-23859: Document that asyncio.wait() does not cancel its futures (#7217) | Elvis Pranskevichus | 2018-05-29 | 1 | -0/+3 | |
| | | | | 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 Pranskevichus | 2018-05-29 | 1 | -1/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | 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 Selivanov | 2018-05-29 | 1 | -0/+4 | |
| | | | | (GH-7209) | |||||
* | bpo-31639: Change ThreadedHTTPServer to ThreadingHTTPServer class name (GH-7195) | Géry Ogam | 2018-05-29 | 1 | -2/+2 | |
| | ||||||
* | bpo-30935: update get_event_loop docs (GH-2731) | Mandeep Singh | 2018-05-29 | 2 | -2/+5 | |
| | ||||||
* | bpo-32911: Revert bpo-29463. (GH-7121) (GH-7197) | Serhiy Storchaka | 2018-05-29 | 2 | -11/+0 | |
| | | | | | | 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-32878: Adds documentation for st_ino on Windows (GH-5764) | Steve Dower | 2018-05-29 | 1 | -1/+11 | |
| | ||||||
* | bpo-33670: Expose Sphinx errorlevel (GH-7156) | Andrés Delfino | 2018-05-28 | 1 | -1/+1 | |
| | ||||||
* | bpo-33673: Install python-docs-theme even if Sphinx is already installed ↵ | Andrés Delfino | 2018-05-28 | 1 | -1/+7 | |
| | | | | (GH-7163) | |||||
* | bpo-32610: Fix asyncio.all_tasks() to return only pending tasks. (GH-7174) | Yury Selivanov | 2018-05-28 | 1 | -2/+5 | |
| | ||||||
* | bpo-33654: Support BufferedProtocol in set_protocol() and start_tls() (GH-7130) | Yury Selivanov | 2018-05-28 | 1 | -5/+12 | |
| | | | | | | | | | | | 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-32380: Create functools.singledispatchmethod (#6306) | Ethan Smith | 2018-05-26 | 1 | -0/+46 | |
| | ||||||
* | 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 | |
| | ||||||
* | Document typing.NoReturn (GH-7107) | Ivan Levkivskyi | 2018-05-25 | 1 | -0/+12 | |
| | ||||||
* | bpo-33109: argparse subparsers are once again not required by default (GH-6919) | Ned Deily | 2018-05-24 | 1 | -1/+1 | |
| | | | | | | | | | 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 | 2 | -6/+30 | |
| | | | | Add a new block_on_close class attribute to ForkingMixIn and ThreadingMixIn classes of socketserver to opt-in for pre-3.7 behaviour. | |||||
* | bpo-33618: Enable TLS 1.3 in tests (GH-7079) | Christian Heimes | 2018-05-23 | 2 | -5/+35 | |
| | | | | | | | | | | | | 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 | 3 | -6/+56 | |
| | ||||||
* | bpo-27300: Add the errors parameter to tempfile classes. (GH-6696) | sth | 2018-05-23 | 1 | -4/+13 | |
| | ||||||
* | bpo-33604: Remove Pending from hmac Deprecation warning. (GH-7062) | Matthias Bussonnier | 2018-05-22 | 1 | -1/+1 | |
| | | | 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 | 1 | -5/+3 | |
| | | | | | | | | | | 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 | 1 | -1/+1 | |
| | | | 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 | 1 | -0/+76 | |
| | | | | | | * 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 | |
| | ||||||
* | 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 | 4 | -68/+93 | |
| | ||||||
* | Fix lambda parameters being refered as arguments (GH-7037) | Andrés Delfino | 2018-05-22 | 2 | -3/+3 | |
| | ||||||
* | bpo-33583: Add note in PyObject_GC_Resize() doc (GH-7021) | INADA Naoki | 2018-05-21 | 1 | -1/+1 | |
| | ||||||
* | bpo-26103: Fix inspect.isdatadescriptor() and a data descriptor definition. ↵ | Aaron Hall, MBA | 2018-05-20 | 1 | -1/+1 | |
| | | | | | | (GH-1959) Look for '__set__' or '__delete__'. | |||||
* | Add idlelib and IDLE section to What's New in 3.7. (#7019) | Terry Jan Reedy | 2018-05-20 | 1 | -0/+27 | |
| | ||||||
* | bpo-33580: Make binary/text file glossary entries follow most common "see ↵ | Andrés Delfino | 2018-05-20 | 1 | -4/+4 | |
| | | | | also" style. (GH-6991) | |||||
* | bpo-30940: Updating round() docs. (GH-6342) | Lisa Roach | 2018-05-20 | 1 | -4/+5 | |
| | ||||||
* | Docs: be less specific about python versions (GH-6985) | Eitan Adler | 2018-05-20 | 1 | -2/+2 | |
| | | | | CPython 3.5 is old now, and we don't bump this version often, so lets avoid using specific versions. | |||||
* | bpo-23722: Raise a RuntimeError for absent __classcell__. (GH-6931) | Serhiy Storchaka | 2018-05-20 | 2 | -2/+6 | |
| | | | A DeprecationWarning was emitted in Python 3.6-3.7. | |||||
* | bpo-23722: Fix docs for future __classcell__ changes. (GH-6999) | Serhiy Storchaka | 2018-05-20 | 2 | -2/+3 | |
| | ||||||
* | bpo-32996: The bulk of What's New in Python 3.7 (GH-6978) | Elvis Pranskevichus | 2018-05-20 | 4 | -594/+1549 | |
| | ||||||
* | import secrets module in secrets recipes (#6705) | Daniel Chimeno | 2018-05-19 | 1 | -4/+8 | |
| | ||||||
* | bpo-28556: Don't simplify unions at runtime (GH-6841) | Ivan Levkivskyi | 2018-05-18 | 1 | -4/+3 | |
| | ||||||
* | Fix C API docs: PyCapsule_Import always set an exception on failure. (GH-6967) | Serhiy Storchaka | 2018-05-18 | 1 | -2/+9 | |
| | ||||||
* | bpo-33559: Attribute changed repr of exceptions (GH-6954) | Miro Hrončok | 2018-05-17 | 1 | -0/+1 | |
| | ||||||
* | bpo-33559: Document changed repr of exceptions (GH-6943) | Miro Hrončok | 2018-05-17 | 1 | -0/+3 | |
| | ||||||
* | asyncio/docs: Mark asyncio.run() as provisional in 3.7. (#6946) | Yury Selivanov | 2018-05-17 | 1 | -0/+2 | |
| | ||||||
* | bpo-19950: Clarify unittest TestCase instance use. (GH-6875) | Gregory P. Smith | 2018-05-17 | 1 | -9/+15 | |
| | ||||||
* | bpo-33518: Add PEP entry to documentation glossary (GH-6860) | Andrés Delfino | 2018-05-17 | 1 | -0/+15 | |
| | ||||||
* | bpo-13631: Fix the order of initialization for readline libedit on macOS. ↵ | Zvezdan Petkovic | 2018-05-17 | 2 | -7/+17 | |
| | | | | | | (GH-6915) The editline emulation needs to be initialized *after* the name is defined. This fixes the long open issue. | |||||
* | bpo-33522: Enable CI builds on Visual Studio Team Services (#6865) | Steve Dower | 2018-05-16 | 1 | -4/+6 | |
| | ||||||
* | bpo-32216: Update dataclasses documentation (#6913) | Barry Warsaw | 2018-05-16 | 1 | -75/+79 | |
| |