QUERY · ISSUE
Chained exceptions?
enhancement
I've prototyped chained exceptions, though I did it against CircuitPython as a base: https://github.com/adafruit/circuitpython/pull/7069
I'd be happy to prepare a version of this for upstreaming if there's interest.
CANDIDATE · PULL REQUEST
py/vm.c: don't complain about "raise … from None".
bugpy-core
raise SomeException() from None is a common Python idiom to suppress chained exceptions and thus shouldn't trigger a warning on a version of Python that doesn't support them in the first place.