File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -223,6 +223,8 @@ def is_fixed_wordsize_bytecode(opc) -> bool:
223223 Python byte code instructions before to 3.6 was one or three bytes.
224224 3.6 and after, instructions were fixed at 2 bytes.
225225 """
226+ # FIXME: We really need to distinguish 3.6.0a1 from 3.6.a3.
227+ # See below FIXME.
226228 return True if opc .python_version >= (3 , 6 ) else False
227229
228230def get_logical_instruction_at_offset (
@@ -256,10 +258,6 @@ def get_logical_instruction_at_offset(
256258
257259 # label_maps = get_jump_target_maps(bytecode, opc)
258260
259- # FIXME: We really need to distinguish 3.6.0a1 from 3.6.a3.
260- # See below FIXME.
261- # Python 3.6 starts fixed-length bytecode of 2 bytes per instruction.
262- # Before that and initially, bytecode was either 1 or 3 bytes.
263261 fixed_length_instructions = is_fixed_wordsize_bytecode (opc )
264262
265263 starts_line = None
You can’t perform that action at this time.
0 commit comments