PEP 707: add discussion link and some discussion feedback (#3034)

This commit is contained in:
Irit Katriel 2023-03-02 19:14:27 +00:00 committed by GitHub
parent da690c6b54
commit a0b1e78ff6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -1,13 +1,13 @@
PEP: 707
Title: A simplified signature for __exit__ and __aexit__
Author: Irit Katriel <iritkatriel@gmail.com>
Discussions-To:
Discussions-To: https://discuss.python.org/t/24402
Status: Draft
Type: Standards Track
Content-Type: text/x-rst
Created: 18-Feb-2023
Python-Version: 3.12
Post-History:
Post-History: `02-Mar-2023 <https://discuss.python.org/t/24402/>`__,
Resolution:
@ -59,7 +59,7 @@ This was `removed for the handled exception in 3.11
<https://github.com/python/cpython/pull/30122>`_ and
`for the raised exception in 3.12
<https://github.com/python/cpython/pull/101607>`_. As a consequence,
several APIs that expose the triplet were deprecated in favour of
several APIs that expose the triplet can now be replaced by
simpler alternatives:
.. list-table::
@ -67,7 +67,7 @@ simpler alternatives:
:widths: auto
* -
- Deprecated
- Legacy API
- Alternative
* - Get handled exception (Python)
- :func:`py3.12:sys.exc_info`