diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-10-14 06:51:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-14 06:51:24 (GMT) |
commit | 1c26f1ce6c3965b1f7395b60bf45d7fc0bc6de57 (patch) | |
tree | 7b21413abb2dd08da7eedef320eb2b62bcae3a7d /Lib/idlelib/pyshell.py | |
parent | 035f9e0cc5ecda552a7326186cabbcd4dda5408d (diff) | |
download | cpython-1c26f1ce6c3965b1f7395b60bf45d7fc0bc6de57.zip cpython-1c26f1ce6c3965b1f7395b60bf45d7fc0bc6de57.tar.gz cpython-1c26f1ce6c3965b1f7395b60bf45d7fc0bc6de57.tar.bz2 |
[3.11] gh-109747: Improve errors for unsupported look-behind patterns (GH-109859) (GH-110860)
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 e2b3d831fd2824d8a5713e3ed2a64aad0fb6b62d)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Lib/idlelib/pyshell.py')
0 files changed, 0 insertions, 0 deletions