]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-91870: Remove unsupported SRE opcode CALL (GH-91872)
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 26 Apr 2022 18:07:25 +0000 (21:07 +0300)
committerGitHub <noreply@github.com>
Tue, 26 Apr 2022 18:07:25 +0000 (21:07 +0300)
commitf703c96cf08a0d65e718e7acfb043cbc49812a22
treecae575ff8bf54cd1ea44867be9d20c6ff4dd035d
parent1af871eeee4a01cc21a6960d087e9ab8ce4c9f4d
gh-91870: Remove unsupported SRE opcode CALL (GH-91872)

It was initially added to support atomic groups, but that
support was never fully implemented, and CALL was only left
in the compiler, but not interpreter and parser.

ATOMIC_GROUP is now used to support atomic groups.
Lib/re/_compiler.py
Lib/re/_constants.py
Lib/re/_parser.py
Modules/_sre/sre_constants.h
Modules/_sre/sre_lib.h
Modules/_sre/sre_targets.h