summaryrefslogtreecommitdiffstats
path: root/Doc/library
Commit message (Collapse)AuthorAgeFilesLines
* bpo-29235: Make cProfile.Profile a context manager (GH-6808)Scott Sanderson2018-06-011-0/+10
|
* bpo-33400: Removed references to RFC3339 and ISO8601 from the logging ↵Vinay Sajip2018-06-012-12/+12
| | | | documentation. (GH-7297)
* bpo-32519: Removed misleading sentence from EnvBuilder documentation. (GH-7296)Vinay Sajip2018-06-011-2/+1
|
* bpo-33641: Convert RFC references into links. (GH-7103)Serhiy Storchaka2018-05-3118-50/+46
| | | | 85% of them are already links.
* bpo-31368: Enhance os.preadv() documentation (GH-7254)Pablo Galindo2018-05-301-95/+114
|
* bpo-33238: Add InvalidStateError to concurrent.futures. (GH-7056)jhaydaman2018-05-301-0/+16
| | | | | | | 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.
* Fix typo introduced in GH-7217 (#7230)Elvis Pranskevichus2018-05-301-1/+1
|
* bpo-23859: Document that asyncio.wait() does not cancel its futures (#7217)Elvis Pranskevichus2018-05-291-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 Pranskevichus2018-05-291-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 Selivanov2018-05-291-0/+4
| | | | (GH-7209)
* bpo-31639: Change ThreadedHTTPServer to ThreadingHTTPServer class name (GH-7195)Géry Ogam2018-05-291-2/+2
|
* bpo-30935: update get_event_loop docs (GH-2731)Mandeep Singh2018-05-291-1/+4
|
* bpo-32911: Revert bpo-29463. (GH-7121) (GH-7197)Serhiy Storchaka2018-05-291-4/+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 Dower2018-05-291-1/+11
|
* bpo-32610: Fix asyncio.all_tasks() to return only pending tasks. (GH-7174)Yury Selivanov2018-05-281-2/+5
|
* bpo-33654: Support BufferedProtocol in set_protocol() and start_tls() (GH-7130)Yury Selivanov2018-05-281-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 Smith2018-05-261-0/+46
|
* Document typing.NoReturn (GH-7107)Ivan Levkivskyi2018-05-251-0/+12
|
* bpo-33109: argparse subparsers are once again not required by default (GH-6919)Ned Deily2018-05-241-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 Stinner2018-05-241-2/+7
| | | | 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 Heimes2018-05-231-1/+27
| | | | | | | | | | | | 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 Selivanov2018-05-232-6/+45
|
* bpo-27300: Add the errors parameter to tempfile classes. (GH-6696)sth2018-05-231-4/+13
|
* bpo-33604: Remove Pending from hmac Deprecation warning. (GH-7062)Matthias Bussonnier2018-05-221-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 Heimes2018-05-221-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 Reese2018-05-221-1/+1
| | | unittest.mock.MagicMock now supports the __round__() magic method.
* bpo-30940: Updating round() docs. (GH-6342)Lisa Roach2018-05-201-4/+5
|
* bpo-32996: The bulk of What's New in Python 3.7 (GH-6978)Elvis Pranskevichus2018-05-202-4/+1
|
* import secrets module in secrets recipes (#6705)Daniel Chimeno2018-05-191-4/+8
|
* bpo-28556: Don't simplify unions at runtime (GH-6841)Ivan Levkivskyi2018-05-181-4/+3
|
* asyncio/docs: Mark asyncio.run() as provisional in 3.7. (#6946)Yury Selivanov2018-05-171-0/+2
|
* bpo-19950: Clarify unittest TestCase instance use. (GH-6875)Gregory P. Smith2018-05-171-9/+15
|
* bpo-13631: Fix the order of initialization for readline libedit on macOS. ↵Zvezdan Petkovic2018-05-171-7/+15
| | | | | | (GH-6915) The editline emulation needs to be initialized *after* the name is defined. This fixes the long open issue.
* bpo-32216: Update dataclasses documentation (#6913)Barry Warsaw2018-05-161-75/+79
|
* bpo-28167: Remove platform.linux_distribution (GH-6871)Petr Viktorin2018-05-161-27/+0
| | | | | | | | * test_ssl: Remove skip_if_broken_ubuntu_ssl We no longer support OpenSSL 0.9.8.15.15. * bpo-28167: Remove platform.linux_distribution
* bpo-21475: Support the Sitemap extension in robotparser (GH-6883)Christopher Beacham2018-05-161-0/+9
|
* Minor tweaks to dataclasses docs. (GH-6903)Eric V. Smith2018-05-161-3/+3
|
* bpo-32216: Add documentation for dataclasses (GH-6886)Eric V. Smith2018-05-162-0/+589
| | | This is an initial version that likely requires much polishing. I'm adding it lay out the structure and so we have something to start working from.
* bpo-32257: Add ssl.OP_NO_RENEGOTIATION (GH-5904)Christian Heimes2018-05-151-0/+9
| | | | | | | | The ssl module now contains OP_NO_RENEGOTIATION constant, available with OpenSSL 1.1.0h or 1.1.1. Note, OpenSSL 1.1.0h hasn't been released yet. Signed-off-by: Christian Heimes <christian@python.org>
* bpo-33503: Fix the broken pypi link in the source and the documentation ↵Stéphane Wirtel2018-05-157-19/+19
| | | | (GH-6814)
* bpo-28167: bump platform.linux_distribution removal to 3.8 (GH-6669)Matthias Bussonnier2018-05-151-2/+4
| | | | | Also bump PendingDeprecationWarning to DeprecationWarning.
* Add AsyncContextManager to typing module documentation. (GH-6822)Travis DePrato2018-05-141-0/+6
|
* bpo-33497: Add errors param to cgi.parse_multipart and make an encoding in ↵Amber Brown2018-05-141-3/+3
| | | | FieldStorage use the given errors (GH-6804)
* Add versionchanged in create_datagram_endpoint doc (#4697)Romuald Brunet2018-05-141-0/+3
| | | | | Most of the parameters were added in 3.4.4 (b9bf913ab32), but this change was not documented
* bpo-22069: Update TextIO documentation (GH-6609)Elena Oat2018-05-141-1/+1
| | | Clarify that flush is implied when the call to write contains a newline character.
* bpo-26701: Tweak the documentation for special methods in int(). (GH-6741)Serhiy Storchaka2018-05-101-8/+6
|
* Fix superfluous if in documentation. (GH-6728)Julien Palard2018-05-091-1/+1
|
* bpo-32717: Document PEP 560 (GH-6726)Ivan Levkivskyi2018-05-081-1/+18
|
* bpo-33400: Clarified documentation to indicate no strict adherence to ISO ↵Vinay Sajip2018-05-042-9/+10
| | | | 8601. (GH-6702)
* bpo-33332: Add signal.valid_signals() (GH-6581)Antoine Pitrou2018-05-041-2/+11
|