diff options
author | Hynek Schlawack <hs@ox.cx> | 2012-05-25 10:27:43 +0200 |
---|---|---|
committer | Hynek Schlawack <hs@ox.cx> | 2012-05-25 10:27:43 +0200 |
commit | 7d3231aef0c9674f655a25ed315edd98f67680a0 (patch) | |
tree | 1d6785c307becbd6ca5b29f85896cf8a1ab818b6 /Python/makeopcodetargets.py | |
parent | 8f03939f0b36dc9a9595cbe95a09ff439e6c6110 (diff) | |
parent | fdf238dbeea157b3d633de1ce40b147a60c1db44 (diff) | |
download | cpython-7d3231aef0c9674f655a25ed315edd98f67680a0.tar.gz |
#4841: Fix FileIO constructor to honor closefd when called repeatedly
Patch by Victor Stinner.
Diffstat (limited to 'Python/makeopcodetargets.py')
-rwxr-xr-x | Python/makeopcodetargets.py | 3 |
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])) |