[Doc Issue] Undocumented changes of LOAD_GLOBAL's stack effect in Python 3.13
Hello Python Docs Team, I'm writing regarding Issue #114212 about an undocumented change about bytecode "LOAD_GLOBAL" and "LOAD_ATTR" in the dis module documentation. This issue (https://github.com/python/cpython/issues/114212) was originally opened by sklam on Jan 18, 2024, and it appears that the specific documentation concern remains unresolved in the current Python docs. Sorry for I'm a github new user and don't know how to fix it. Therefore, I send this mail and want to check in and see if there has been any progress. Besides, it seems not easy to understand the change in version 3.12 about instruction relative jumps, and if the documentation included a brief example demonstrating how the CACHE instructions affect relative jumps in bytecode analysis would make this point clearer for readers. For instance, showing a small snippet of bytecode with and without CACHE instructions and how it impacts the instruction offsets would be beneficial. Thank you for your time and for all the work on Python’s documentation. I look forward to hearing from you!
Hello, I suggest you post your comment on the issue, mailing lists are not for the purpose of discussing issues that are on GitHub, I understand you have a GitHub account. Best regards, Stan Ulbrych
On 27 May 2025, at 12:19, 张三丰 via docs <docs@python.org> wrote:
Hello Python Docs Team,
I'm writing regarding Issue #114212 about an undocumented change about bytecode "LOAD_GLOBAL" and "LOAD_ATTR" in the dis module documentation. This issue (https://github.com/python/cpython/issues/114212) was originally opened by sklam on Jan 18, 2024, and it appears that the specific documentation concern remains unresolved in the current Python docs.
Sorry for I'm a github new user and don't know how to fix it. Therefore, I send this mail and want to check in and see if there has been any progress.
Besides, it seems not easy to understand the change in version 3.12 about instruction relative jumps, and if the documentation included a brief example demonstrating how the CACHE instructions affect relative jumps in bytecode analysis would make this point clearer for readers. For instance, showing a small snippet of bytecode with and without CACHE instructions and how it impacts the instruction offsets would be beneficial.
Thank you for your time and for all the work on Python’s documentation. I look forward to hearing from you!
_______________________________________________ docs mailing list -- docs@python.org To unsubscribe send an email to docs-leave@python.org https://mail.python.org/mailman3//lists/docs.python.org Member address: stanulbrych@gmail.com
participants (2)
-
Stan Ulbrych -
张三丰