[3.14] Update list of files generated by `generate_token.py` (GH-155524) (#155841)

StanFromIreland <[email protected]>
Newsgroups gmane.comp.python.cvs
Message-ID <[email protected]>
https://github.com/python/cpython/commit/3192cfdff70ef0771f39d2da046186d01951259c
commit: 3192cfdff70ef0771f39d2da046186d01951259c
branch: 3.14
author: Stan Ulbrych <[email protected]>
committer: StanFromIreland <[email protected]>
date: 2026-08-15T12:01:09Z
summary:

[3.14] Update list of files generated by `generate_token.py` (GH-155524) (#155841)

(cherry picked from commit 6acd96ae3b76a79297f7d51e6b80c2b92b0f1d3a)

Co-authored-by: Saki <[email protected]>

files:
M .gitattributes
M Tools/build/generate_token.py

diff --git a/.gitattributes b/.gitattributes
index 70aaadf5e3b5207..3ee3e4df422346a 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -79,11 +79,11 @@ Include/internal/pycore_ast_state.h                 generated
 Include/internal/pycore_opcode.h                    generated
 Include/internal/pycore_opcode_metadata.h           generated
 Include/internal/pycore_*_generated.h               generated
+Include/internal/pycore_token.h                     generated
 Include/internal/pycore_uop_ids.h                   generated
 Include/internal/pycore_uop_metadata.h              generated
 Include/opcode.h                                    generated
 Include/opcode_ids.h                                generated
-Include/token.h                                     generated
 Lib/_opcode_metadata.py                             generated
 Lib/idlelib/help.html                               generated
 Lib/keyword.py                                      generated
diff --git a/Tools/build/generate_token.py b/Tools/build/generate_token.py
index 9ee5ec86e75d472..9bc96d338fdafa2 100755
--- a/Tools/build/generate_token.py
+++ b/Tools/build/generate_token.py
@@ -5,7 +5,7 @@
 #       Doc/library/token-list.inc
 #       Doc/library/token.rst  (checked, not generated)
 #   make_h:
-#       Include/token.h
+#       Include/internal/pycore_token.h
 #   make_c:
 #       Parser/token.c
 #   make_py:

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.