commit | 48ec61a89a959071206549819448405c2cea61b0 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Fri Apr 22 19:53:10 2022 +0300 |
committer | GitHub <noreply@github.com> | Fri Apr 22 19:53:10 2022 +0300 |
tree | 56c7d8341d6c617c516e1a3746d724eb9f67d8c8 | |
parent | 6ccfa31421393910b52936e0447625db06f2a655 [diff] |
gh-91700: Validate the group number in conditional expression in RE (GH-91702) In expression (?(group)...) an appropriate re.error is now raised if the group number refers to not defined group. Previously it raised RuntimeError: invalid SRE code.