bpo-46841: Use *inline* caching for BINARY_OP (GH-31543)

This commit is contained in:
Brandt Bucher 2022-02-25 04:11:34 -08:00 committed by GitHub
parent 18b5dd68c6
commit 0f41aac109
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 429 additions and 351 deletions

View file

@ -357,7 +357,7 @@ class CodeTest(unittest.TestCase):
artificial_instructions = []
for instr, positions in zip(
dis.get_instructions(code),
dis.get_instructions(code, show_caches=True),
code.co_positions(),
strict=True
):