]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-97956: Mention `generate_global_objects.py` in `AC How-To` (#97957)
authorNikita Sobolev <mail@sobolevn.me>
Fri, 7 Oct 2022 18:54:45 +0000 (21:54 +0300)
committerGitHub <noreply@github.com>
Fri, 7 Oct 2022 18:54:45 +0000 (11:54 -0700)
Doc/howto/clinic.rst

index d634c4b47db90e5bc605a0579c9b5df5cf0cdad2..b8afc7e6d762aa8ca3e39bd1fa330d037ac72dac 100644 (file)
@@ -539,7 +539,15 @@ Let's dive in!
         };
 
 
-16. Compile, then run the relevant portions of the regression-test suite.
+16. Argument Clinic may generate new instances of ``_Py_ID``. For example::
+
+        &_Py_ID(new_unique_py_id)
+
+    If it does, you'll have to run ``Tools/scripts/generate_global_objects.py``
+    to regenerate the list of precompiled identifiers at this point.
+
+
+17. Compile, then run the relevant portions of the regression-test suite.
     This change should not introduce any new compile-time warnings or errors,
     and there should be no externally visible change to Python's behavior.