summaryrefslogtreecommitdiff
path: root/Python/makeopcodetargets.py
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-11-01 13:31:12 +0200
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-11-01 13:31:12 +0200
commitc83af6a2bda3609c435b6ce84f990256c593f3d4 (patch)
tree189c44827c3dba1a46ad12187f3dea03c549798f /Python/makeopcodetargets.py
parent7afede10a583e241aea0452c8bc9fe7522509873 (diff)
parent9e9e8c4bbb70e717829906215e42e2c398f28679 (diff)
downloadcpython-c83af6a2bda3609c435b6ce84f990256c593f3d4.tar.gz
Merge issue #16373: Prevent infinite recursion for ABC Set class operations.
Patch by Serhiy Storchaka.
Diffstat (limited to 'Python/makeopcodetargets.py')
-rwxr-xr-xPython/makeopcodetargets.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Python/makeopcodetargets.py b/Python/makeopcodetargets.py
index 5d8e5a9a46..d9a085552f 100755
--- a/Python/makeopcodetargets.py
+++ b/Python/makeopcodetargets.py
@@ -23,9 +23,6 @@ def write_contents(f):
opcode = find_module("opcode")
targets = ['_unknown_opcode'] * 256
for opname, op in opcode.opmap.items():
- if opname == "STOP_CODE":
- # XXX opcode not implemented
- continue
targets[op] = "TARGET_%s" % opname
f.write("static void *opcode_targets[256] = {\n")
f.write(",\n".join([" &&%s" % s for s in targets]))