diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2021-08-30 23:25:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-30 23:25:11 (GMT) |
commit | 044e8d866fdde3804bdb2282c7d23a8074de8f6f (patch) | |
tree | ed2fdeb3bacec221e5ee96ad3544667ab55d6376 /.gitattributes | |
parent | 5246dbc2a12bf8e64e18efee2fdce02a350bbf09 (diff) | |
download | cpython-044e8d866fdde3804bdb2282c7d23a8074de8f6f.zip cpython-044e8d866fdde3804bdb2282c7d23a8074de8f6f.tar.gz cpython-044e8d866fdde3804bdb2282c7d23a8074de8f6f.tar.bz2 |
bpo-45019: Add a tool to generate list of modules to include for frozen modules (gh-27980)
Frozen modules must be added to several files in order to work properly. Before this change this had to be done manually. Here we add a tool to generate the relevant lines in those files instead. This helps us avoid mistakes and omissions.
https://bugs.python.org/issue45019
Diffstat (limited to '.gitattributes')
-rw-r--r-- | .gitattributes | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.gitattributes b/.gitattributes index 68566e8..b9c08cd 100644 --- a/.gitattributes +++ b/.gitattributes @@ -46,8 +46,7 @@ Modules/clinic/*.h linguist-generated=true Objects/clinic/*.h linguist-generated=true PC/clinic/*.h linguist-generated=true Python/clinic/*.h linguist-generated=true -Python/importlib.h linguist-generated=true -Python/importlib_external.h linguist-generated=true +Python/frozen_modules/*.h linguist-generated=true Include/internal/pycore_ast.h linguist-generated=true Python/Python-ast.c linguist-generated=true Include/opcode.h linguist-generated=true |