Skip to content

Commit 5e0aae2

Browse files
author
rocky
committed
CALL_FUNCTION_EX is not in PyPy 3.6
1 parent ce34c23 commit 5e0aae2

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

xdis/opcodes/opcode_36pypy.py

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,7 @@
2121
update_pj3,
2222
varargs_op,
2323
)
24-
from xdis.opcodes.format.basic import (
25-
format_CALL_FUNCTION_pos_name_encoded,
26-
format_extended_arg,
27-
format_RAISE_VARARGS_older,
28-
)
29-
from xdis.opcodes.opcode_36 import (
30-
extended_format_MAKE_FUNCTION_36,
31-
format_MAKE_FUNCTION,
32-
opcode_arg_fmt36,
33-
opcode_extended_fmt36,
34-
)
24+
from xdis.opcodes.opcode_36 import opcode_arg_fmt36, opcode_extended_fmt36
3525

3626
version_tuple = (3, 6)
3727
python_implementation = "PyPy"
@@ -47,6 +37,7 @@
4737
# Opcodes removed from 3.6.
4838

4939
# fmt: off
40+
rm_op(loc, "CALL_FUNCTION_EX", 142)
5041
rm_op(loc, "BUILD_TUPLE_UNPACK_WITH_CALL", 158)
5142

5243
# The following were removed from 3.6 but still in Pypy 3.6

0 commit comments

Comments
 (0)