From 8a767fbcb3168a48a7e909b597c070d103901b87 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Thu, 11 Sep 2025 11:38:14 +0200 Subject: [PATCH] [3.14] gh-138081: fix some dead links in InternalDocs (GH-138082) (#138781) Co-authored-by: yihong --- InternalDocs/compiler.md | 2 +- InternalDocs/generators.md | 2 +- InternalDocs/jit.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/InternalDocs/compiler.md b/InternalDocs/compiler.md index 02bbdf6071fa..742af5efcf5c 100644 --- a/InternalDocs/compiler.md +++ b/InternalDocs/compiler.md @@ -604,4 +604,4 @@ References pp. 213--227, 1997. [^2]: The Zephyr Abstract Syntax Description Language.: - https://www.cs.princeton.edu/research/techreps/TR-554-97 + https://www.cs.princeton.edu/research/techreps/254 diff --git a/InternalDocs/generators.md b/InternalDocs/generators.md index 87fbb9123684..a7a40fcd0ed0 100644 --- a/InternalDocs/generators.md +++ b/InternalDocs/generators.md @@ -64,7 +64,7 @@ Iteration The [`FOR_ITER`](https://docs.python.org/dev/library/dis.html#opcode-FOR_ITER) instruction calls `__next__` on the iterator which is on the top of the stack, -and pushes the result to the stack. It has [`specializations`](adaptive.md) +and pushes the result to the stack. It has [`specializations`](interpreter.md) for a few common iterator types, including `FOR_ITER_GEN`, for iterating over a generator. `FOR_ITER_GEN` bypasses the call to `__next__`, and instead directly pushes the generator stack and resumes its execution from the diff --git a/InternalDocs/jit.md b/InternalDocs/jit.md index c98ccb3ace8d..095853807377 100644 --- a/InternalDocs/jit.md +++ b/InternalDocs/jit.md @@ -89,7 +89,7 @@ When the full jit is enabled (python was configured with [`--enable-experimental-jit`](https://docs.python.org/dev/using/configure.html#cmdoption-enable-experimental-jit), the uop executor's `jit_code` field is populated with a pointer to a compiled C function that implements the executor logic. This function's signature is -defined by `jit_func` in [`pycore_jit.h`](Include/internal/pycore_jit.h). +defined by `jit_func` in [`pycore_jit.h`](../Include/internal/pycore_jit.h). When the executor is invoked by `ENTER_EXECUTOR`, instead of jumping to the uop interpreter at `tier2_dispatch`, the executor runs the function that `jit_code` points to. This function returns the instruction pointer -- 2.47.3