-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
Open
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dirinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)
Description
Documentation
This commit changed LOAD_GLOBAL's stack effect: a9caf9c#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342L1318-R1318. The null
now goes after the global variable. It's missing a verionchanged
note in dis.rst
:
Lines 1364 to 1372 in 78fcde0
.. opcode:: LOAD_GLOBAL (namei) | |
Loads the global named ``co_names[namei>>1]`` onto the stack. | |
.. versionchanged:: 3.11 | |
If the low bit of ``namei`` is set, then a ``NULL`` is pushed to the | |
stack before the global variable. | |
.. opcode:: LOAD_FAST (var_num) |
Linked PRs
Metadata
Metadata
Assignees
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dirinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)
Projects
Status
Todo