25 Feb 2021 25 Feb '21
On Wed, Feb 24, 2021 at 5:51 PM Jim J. Jewett email@example.com wrote:
Are you saying that
except *ValueError as e:
and ExceptionGroup(ValueError) but miss ExceptionGroup(ExceptionGroup(ValueError)) ?
No, it will catch it regardless of how many levels of ExceptionGroup wrap it (zero or more, in fact).
-- --Guido van Rossum (python.org/~guido) *Pronouns: he/him **(why is my pronoun here?)* http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-change-the-world/