Skip to content
This repository was archived by the owner on Apr 10, 2022. It is now read-only.

added references, changed title, removed security considerations section #28

Merged
merged 1 commit into from
Feb 13, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 49 additions & 4 deletions except_star.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Introducing try..except* syntax

# except*


## Abstract
Expand Down Expand Up @@ -852,8 +853,6 @@ to be updated.
`except*` or raise `ExceptionGroup`s.


## Security Implications

## How to Teach This

## Reference Implementation
Expand Down Expand Up @@ -1014,9 +1013,55 @@ specified in the same place where we state `T`.
* The issue where the `except*` concept was first formalized:
https://github.com/python/exceptiongroups/issues/4


## References

* Reference implementation:

Branch: https://github.com/iritkatriel/cpython/tree/exceptionGroup-stage5

PR: https://github.com/iritkatriel/cpython/pull/10

* PEP 3134: Exception Chaining and Embedded Tracebacks

https://www.python.org/dev/peps/pep-3134/

* The `asyncio` standard library

https://docs.python.org/3/library/asyncio.html

`asyncio.gather()`:
https://docs.python.org/3/library/asyncio-task.html#asyncio.gather

* The Trio Library

Trio: https://trio.readthedocs.io/en/stable/

`MultiError`:
https://trio.readthedocs.io/en/stable/reference-core.html#trio.MultiError

`MultiError2` design document: https://github.com/python-trio/trio/issues/611.

* Python issue 29980: OSError: multiple exceptions should preserve the
exception type if it is common

https://bugs.python.org/issue29980

* Python issue 40857: `tempfile.TemporaryDirectory()`` context manager can fail
to propagate exceptions generated within its context

https://bugs.python.org/issue40857

* PyTest issue 8217: Improve reporting when multiple teardowns raise an exception

https://github.com/pytest-dev/pytest/issues/8217

* The Hypothesis Library

https://hypothesis.readthedocs.io/en/latest/index.html

Reporting Multiple Errors:
https://hypothesis.readthedocs.io/en/latest/settings.html#hypothesis.settings.report_multiple_bugs

## Copyright

This document is placed in the public domain or under the
Expand Down