diff options
author | Mark Shannon <mark@hotpy.org> | 2024-10-24 10:57:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-24 10:57:02 (GMT) |
commit | b61fece8523d0fa6d9cc6ad3fd855a136c34f0cd (patch) | |
tree | fca2bb236a57eb38d8e2b30052b9dc56fac8e96b /Lib/dis.py | |
parent | c35b33bfb7c491dfbdd40195d70dcfc4618265db (diff) | |
download | cpython-b61fece8523d0fa6d9cc6ad3fd855a136c34f0cd.zip cpython-b61fece8523d0fa6d9cc6ad3fd855a136c34f0cd.tar.gz cpython-b61fece8523d0fa6d9cc6ad3fd855a136c34f0cd.tar.bz2 |
GH-125868: Fix STORE_ATTR_WITH_HINT specialization (GH-125876)
Diffstat (limited to 'Lib/dis.py')
-rw-r--r-- | Lib/dis.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -778,8 +778,10 @@ def _get_instructions_bytes(code, linestarts=None, line_offset=0, co_positions=N if caches: cache_info = [] + cache_offset = offset for name, size in _cache_format[opname[deop]].items(): - data = code[offset + 2: offset + 2 + 2 * size] + data = code[cache_offset + 2: cache_offset + 2 + 2 * size] + cache_offset += size * 2 cache_info.append((name, size, data)) else: cache_info = None |