Uh oh!
There was an error while loading. Please reload this page.
Fix remaining broken links. - #1013
Conversation
| :cpy-file:`Doc/library/token-list.inc`. If you change both ``python.gram`` | ||
| and ``Tokens``, run ``make regen-token`` before ``make regen-pegen``. | ||
| changing it, run ``make regen-token`` to regenerate | ||
| :cpy-file:`Include/internal/pycore_token.h`, :cpy-file:`Parser/token.c`, |
There was a problem hiding this comment.
Include/token.h was renamed to Include/internal/pycore_token.h (the rest is paragraph reflow).
| Then run ``make regen-ast`` to regenerate :cpy-file:`Include/Python-ast.h` | ||
| and :cpy-file:`Python/Python-ast.c`. | ||
| Then run ``make regen-ast`` to regenerate | ||
| :cpy-file:`Include/internal/pycore_ast.h` and :cpy-file:`Python/Python-ast.c`. |
There was a problem hiding this comment.
Include/Python-ast.h was moved to Include/internal/pycore_ast.h.
| statement in the ``stack_effect()`` function in :cpy-file:`Python/compile.c`. | ||
| If the new opcode has a jump target, you will need to update macros and | ||
| 'switch' statements in :cpy-file:`Python/peephole.c`. If it affects a control | ||
| 'switch' statements in :cpy-file:`Python/compile.c`. If it affects a control |
There was a problem hiding this comment.
The relevant code was apparently moved into Python/compile.c in python/cpython#21517.
| * :cpy-file:`Python/peephole.c`: Optimizes the bytecode. | ||
| * :cpy-file:`Python/pyarena.c`: Implementation of the arena memory manager. | ||
| * :cpy-file:`Python/wordcode_helpers.h`: Helpers for generating bytecode. |
There was a problem hiding this comment.
Both got merged into Python/compile.c, which is already listed above, so I removed these.
CAM-Gerlach
left a comment
There was a problem hiding this comment.
One not-directly-related comment, but LGTM at least from a basic source diff inspection and spot-checking the rendered preview
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
This PR fixes the remaining broken links and closes#681.