Commit Graph

46 Commits

Author SHA1 Message Date
CAM Gerlach 9aa0775867
PEP 654: Add missing Python-Version header (#2755) 2022-08-09 16:16:29 -05:00
Irit Katriel 4e06e44f8d
PEP-654: add number of sub-exceptions to BaseException.__str__ (GH-2356) 2022-02-22 18:30:27 +00:00
Irit Katriel 0cac70c4d0
PEP 654: Fix the output of two examples (#2345) 2022-02-21 03:20:37 +00:00
Adam Turner 113e490701
Several PEPs: Use explicit `:pep:` and `:rfc:` roles (#2209) 2022-01-21 11:03:51 +00:00
Irit Katriel f2f542d544
PEP-654: clarify that BaseExceptionGroup is the factory function that… (GH-2203) 2021-12-27 21:51:08 +00:00
Irit Katriel 026d74bde7
[PEP-654] update traceback formatting in examples (GH-2133) 2021-11-05 14:45:24 +00:00
Irit Katriel 0098f08851
[PEP-654] add None check in subgroup example (GH-2132)
Joe Gottman alerted us to an error in this example, which is missing a None check.
2021-11-05 14:44:04 +00:00
Irit Katriel f991f604b6
PEP-654: state that interior nodes are checked for match in subgroup/split (GH-2113) 2021-10-19 23:16:50 +01:00
Irit Katriel 859b31cd4a
PEP-654: add mention of the 'Flat EG' proposal to the rejected ideas section (GH-2104) 2021-10-19 23:15:45 +01:00
Irit Katriel 27b8357bac
PEP-654: warn that leaf_generator recycles the tracebacks list (GH-2109) 2021-10-16 21:53:04 +01:00
Irit Katriel 941a31395d
PEP-654: add mention of the syntax options discussion (#2103) 2021-10-08 08:50:28 -07:00
Irit Katriel cffbc84fad
PEP-654: add acceptance link (#2102) 2021-10-07 08:11:56 -07:00
Irit Katriel 957b7eb9b8
PEP-654: except *T --> except* T (#2091) 2021-10-06 10:50:57 -07:00
Irit Katriel 18dc7dedca
PEP-654: mark as accepted (#2097) 2021-10-02 16:27:53 -07:00
Redowan Delowar e90b96a7d1
PEP 654: Fixed typo: 'distunction -> distinction' (#2089) 2021-09-26 15:06:06 -07:00
Redowan Delowar 8abbdd1527
Fixed typo: 'to reraised -> to reraise' (#2088) 2021-09-26 22:09:15 +01:00
Dimitri Papadopoulos Orfanos 57d9baf04d
Typos found by codespell (#2073)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2021-09-17 11:18:24 -07:00
Irit Katriel 84fbb3ffb2
add acknowledgements (#1935) 2021-04-22 18:09:16 -07:00
Irit Katriel 6d94d73dfc
PEP-654: fix bug in leaf_generator example (#1910) 2021-04-04 08:26:04 -07:00
Irit Katriel a841aeeb77
PEP-654: state that exceptions in a group are handled independently of each other (#1903) 2021-03-31 10:07:19 -07:00
Irit Katriel 31e30aebe1
PEP-654: clarify that ExceptionGroup is not trivial to implement correctly (#1894) 2021-03-27 15:16:43 -07:00
Irit Katriel 60f2621456
PEP-654: add post-history date (#1883) 2021-03-20 12:39:19 -07:00
Irit Katriel 021015be1f
PEP-654: implement new formatting in traceback.py. Fix a whitespace in c traceback (#1878) 2021-03-20 08:20:09 -07:00
Irit Katriel e31aab38ed
PEP-654: allow subclassing of exception groups (#1872) 2021-03-18 09:56:49 -07:00
Irit Katriel 31d814345e
PEP-654: errors --> exceptions (#1871) 2021-03-15 13:17:05 -07:00
Irit Katriel d4d4fe7b6f
PEP 654: Use C traceback for some examples (#1866) 2021-03-11 12:52:05 -08:00
Irit Katriel cf87703454
PEP 654: add to the rejected ideas section, following public discussion (#1863) 2021-03-08 09:23:30 -08:00
Irit Katriel a3f0183936
PEP 654: ExceptionGroup --> exception group in prose (#1855) 2021-03-01 20:00:23 -08:00
Irit Katriel 41886dd6b3
PEP 654: Tidy up leaf_generator example (#1854) 2021-03-01 15:41:37 -08:00
Irit Katriel 274670b330
PEP-654: Add example of subgroup callback with side effects (#1852) 2021-03-01 15:24:59 -08:00
Dave Brondsema f69d426700
PEP 654: fix typos (#1853) 2021-03-02 07:54:10 +11:00
Irit Katriel 9a1afd9a94
PEP 654: Add BaseExceptionGroup//ExceptionGroup split (#1850) 2021-03-01 10:19:06 -08:00
Irit Katriel aea3cc1016
PEP-654: state in rationale the premise that the new features will be used selectively (#1851) 2021-02-28 20:19:13 -08:00
Irit Katriel 31ba5bd70c
PEP 654: Explain why we did not extend except to handle ExceptionGroups (#1846) 2021-02-26 16:59:40 -08:00
Irit Katriel afa1503545
PEP-654: simplify traverse() example (#1844)
We don't need to pass the cause and context from the root. The ones for the leaf are on the leaf exception itself.
2021-02-26 14:20:35 -08:00
Irit Katriel d729120776
PEP 654: Add section about handling ExceptionGroups (#1841) 2021-02-25 18:49:58 -08:00
Irit Katriel 13be7c414f
PEP 654: Clarifications after python-dev review (#1838)
- subgroup returns None for empty.
- except *(TypeError, ExceptionGroup) is forbidden.
2021-02-23 17:39:29 -08:00
Brett Cannon 579038f1d9
PEP 654: fix a grammar mistake 2021-02-23 11:55:29 -08:00
Irit Katriel cbd46e4448
PEP 654: Add Post-History date (#1834) 2021-02-23 06:52:39 -08:00
Florian Bruhin 08d3be348f
PEP 0654: Fix typo (#1835) 2021-02-23 21:59:28 +11:00
Irit Katriel e7193a3e63
PEP-654: fix level of subsection headings (#1832) 2021-02-22 15:24:40 -08:00
Yury Selivanov 3daf8f2199
pep 654: Fix indentation to use consistent 4 spaces in all snippets (#1833) 2021-02-22 12:24:54 -08:00
Yury Selivanov aebbd8c4fc
pep 654: Restore code formatting 2021-02-22 11:48:40 -08:00
Yury Selivanov cef697a03c
A couple PEP 654 edits (#1830)
* Markup edits. Use REsT references, fix a couple of typos.

* Mention TaskGroups in Motivation; add an example of trio.MultiError API
2021-02-22 11:38:55 -08:00
Irit Katriel 4ca905e7ff
PEP 654: "This PEP" --> " this document" (#1831) 2021-02-22 07:23:10 -08:00
Yury Selivanov a23ba419ff
Give PEP 654 a proper name. 2021-02-21 19:15:56 -08:00