mirror of
https://github.com/python/cpython.git
synced 2026-05-09 22:20:38 -04:00
a2cc9a4c3a
Now re.error is raised instead of OverflowError or RuntimeError for
too large width of look-behind pattern.
The limit is increased to 2**32-1 (was 2**31-1).
(cherry picked from commit e2b3d831fd)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>