Skip to content

Commit 027b06a

Browse files
committed
patch the dis module to get around PyCharm trying to inspect our custom bytecode
1 parent 120401c commit 027b06a

File tree

1 file changed

+1
-0
lines changed
  • graalpython/lib-python/3

1 file changed

+1
-0
lines changed

graalpython/lib-python/3/dis.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ def _get_instructions_bytes(code, varnames=None, names=None, constants=None,
318318
arguments.
319319
320320
"""
321+
return # Truffle change: GR-40956
321322
labels = findlabels(code)
322323
starts_line = None
323324
for offset, op, arg in _unpack_opargs(code):

0 commit comments

Comments
 (0)