bpo-44313: generate LOAD_ATTR/CALL_FUNCTION for top-level imported objects (GH-26677)

This commit is contained in:
Batuhan Taskaya 2021-07-01 01:53:36 +03:00 committed by GitHub
parent 66c53b48e1
commit 1b28187a0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 279 additions and 214 deletions

View file

@ -360,6 +360,7 @@ _code_type = type(_write_atomic.__code__)
# Python 3.11a1 3455 (add MAKE_CELL bpo-43693)
# Python 3.11a1 3456 (interleave cell args bpo-43693)
# Python 3.11a1 3457 (Change localsplus to a bytes object bpo-43693)
# Python 3.11a1 3458 (imported objects now don't use LOAD_METHOD/CALL_METHOD)
#
# MAGIC must change whenever the bytecode emitted by the compiler may no