mirror of
https://github.com/python/cpython.git
synced 2026-10-28 18:35:21 +08:00
Restore the original exception when optional syntax-error metadata
cannot be allocated.
(cherry picked from commit 9c239fb50a)
Co-authored-by: Jelle Zijlstra <jelle@openai.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>