FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-126970: Correct LOAD_GLOBAL stack order documentation by limadog9 · Pull Request #159851 · python/cpython · GitHub

Repository navigation

gh-126970: Correct LOAD_GLOBAL stack order documentation - #159851

Open
limadog9 wants to merge 1 commit into
python:mainfrom
limadog9:gh-126970-load-global-stack-docs
Open

limadog9 wants to merge 1 commit into
python:mainfrom
limadog9:gh-126970-load-global-stack-docs

Conversation

limadog9 commented Oct 20, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

Describe the current LOAD_GLOBAL stack order in its main documentation: when the low argument bit is set, the global is followed by NULL. Record the stack-order change under Python 3.13 while keeping the flag's introduction under Python 3.11.

Fixes #126970.

Validation:

  • Checked the interpreter's LOAD_GLOBAL macro and verified disassembly, the low-bit flag, stack effects, and call/value behavior on a current free-threaded debug build.
  • Full HTML documentation build with warnings treated as errors.
  • Sphinx lint and patchcheck.

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #35258728 | 📁 Comparing 705535c against main (6044c62)

  🔍 Preview build  

1 file changed
± library/dis.html

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

inconsistency in 3.13 LOAD_GLOBAL docs

1 participant


Back | FazBrowse Home | New Git URL