mirror of
https://github.com/python/cpython.git
synced 2025-08-05 01:18:26 +00:00

(cherry picked from commit 20a56d8bec
)
Add proper error handling to add_errors_module() to prevent exceptions
from possibly being overwritten.
3 lines
164 B
ReStructuredText
3 lines
164 B
ReStructuredText
Harden :mod:`pyexpat` error handling during module initialisation to prevent
|
|
exceptions from possibly being overwritten, and objects from being
|
|
dereferenced twice.
|