Support Python 3.14 unparenthesized exception lists (PEP 758)
Author: Garrett-RCreated Sep 9, 2026Updated Sep 9, 2026
PEP 758 says this is legal in Python 3.14:
try:
x = 1 / 0
except ZeroDivisionError, ValueError, IndexError:
passbut YAPF chokes on this.
Source: google/yapf