8000 gh-97956: Mention `generate_global_objects.py` in `AC How-To` by sobolevn · Pull Request #97957 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-97956: Mention generate_global_objects.py in AC How-To #97957

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 7, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Address review
  • Loading branch information
sobolevn authored Oct 6, 2022
commit f1a23cb2e5246f65b127d28fda4f43b203a7a45d
8 changes: 3 additions & 5 deletions Doc/howto/clinic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -539,14 +539,12 @@ Let's dive in!
};


16. Code generated by Argument Clinic might use ``_Py_ID`` macro inside.

Sample::
16. Argument Clinic may generate new instances of ``_Py_ID``. For example::

&_Py_ID(new_unique_py_id)

It means that you would need to run ``Tools/scripts/generate_global_objects.py``
script to generate global string objects for the interpreter.
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.
Expand Down
0