[3.11] gh-110590: Fix a bug where _sre.compile would overwrite exceptions (GH-110591) (#110614)
TypeError would be overwritten by OverflowError if 'code' param contained non-ints. (cherry picked from commit 344d3a222a7864f8157773749bdd77d1c9dfc1e6) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
M
Miss Islington (bot) committed
7fefed091ad2be083d353446c0631d2739cb0ead
Parent: 1942721
Committed by GitHub <noreply@github.com>
on 10/10/2023, 10:48:07 AM