|
1 |
| -# Introducing try..except* syntax |
| 1 | + |
| 2 | +# except* |
2 | 3 |
|
3 | 4 |
|
4 | 5 | ## Abstract
|
@@ -852,8 +853,6 @@ to be updated.
|
852 | 853 | `except*` or raise `ExceptionGroup`s.
|
853 | 854 |
|
854 | 855 |
|
855 |
| -## Security Implications |
856 |
| - |
857 | 856 | ## How to Teach This
|
858 | 857 |
|
859 | 858 | ## Reference Implementation
|
@@ -1014,9 +1013,55 @@ specified in the same place where we state `T`.
|
1014 | 1013 | * The issue where the `except*` concept was first formalized:
|
1015 | 1014 | https://github.com/python/exceptiongroups/issues/4
|
1016 | 1015 |
|
1017 |
| - |
1018 | 1016 | ## References
|
1019 | 1017 |
|
| 1018 | +* Reference implementation: |
| 1019 | + |
| 1020 | + Branch: https://github.com/iritkatriel/cpython/tree/exceptionGroup-stage5 |
| 1021 | + |
| 1022 | + PR: https://github.com/iritkatriel/cpython/pull/10 |
| 1023 | + |
| 1024 | +* PEP 3134: Exception Chaining and Embedded Tracebacks |
| 1025 | + |
| 1026 | + https://www.python.org/dev/peps/pep-3134/ |
| 1027 | + |
| 1028 | +* The `asyncio` standard library |
| 1029 | + |
| 1030 | + https://docs.python.org/3/library/asyncio.html |
| 1031 | + |
| 1032 | + `asyncio.gather()`: |
| 1033 | + https://docs.python.org/3/library/asyncio-task.html#asyncio.gather |
| 1034 | + |
| 1035 | +* The Trio Library |
| 1036 | + |
| 1037 | + Trio: https://trio.readthedocs.io/en/stable/ |
| 1038 | + |
| 1039 | + `MultiError`: |
| 1040 | + https://trio.readthedocs.io/en/stable/reference-core.html#trio.MultiError |
| 1041 | + |
| 1042 | + `MultiError2` design document: https://github.com/python-trio/trio/issues/611. |
| 1043 | + |
| 1044 | +* Python issue 29980: OSError: multiple exceptions should preserve the |
| 1045 | + exception type if it is common |
| 1046 | + |
| 1047 | + https://bugs.python.org/issue29980 |
| 1048 | + |
| 1049 | +* Python issue 40857: `tempfile.TemporaryDirectory()`` context manager can fail |
| 1050 | + to propagate exceptions generated within its context |
| 1051 | + |
| 1052 | + https://bugs.python.org/issue40857 |
| 1053 | + |
| 1054 | +* PyTest issue 8217: Improve reporting when multiple teardowns raise an exception |
| 1055 | + |
| 1056 | + https://github.com/pytest-dev/pytest/issues/8217 |
| 1057 | + |
| 1058 | +* The Hypothesis Library |
| 1059 | + |
| 1060 | + https://hypothesis.readthedocs.io/en/latest/index.html |
| 1061 | + |
| 1062 | + Reporting Multiple Errors: |
| 1063 | + https://hypothesis.readthedocs.io/en/latest/settings.html#hypothesis.settings.report_multiple_bugs |
| 1064 | + |
1020 | 1065 | ## Copyright
|
1021 | 1066 |
|
1022 | 1067 | This document is placed in the public domain or under the
|
|
0 commit comments