]> git.ipfire.org Git - thirdparty/Python/cpython.git/blame - .gitignore
GH-117195: Avoid assertion error in `object.__sizeof__` (GH-117220)
[thirdparty/Python/cpython.git] / .gitignore
CommitLineData
455122a0
GP
1#####
2# First, rules intended to apply in all subdirectories.
3# These contain no slash, or only a trailing slash.
8c9e9b0c 4
7bbc855e 5*.cover
c0fa4ba8 6*.iml
7bbc855e 7*.o
5b070c0d 8*.lto
455122a0 9*.a
1ef4c32c
AS
10*.so
11*.so.*
455122a0 12*.dylib
5b070c0d 13*.dSYM
455122a0 14*.dll
d224e769 15*.wasm
7bbc855e
VS
16*.orig
17*.pyc
18*.pyd
19*.pyo
20*.rej
0f00dfa4 21*.swp
7bbc855e 22*~
7188a3ef
BC
23*.gc??
24*.profclang?
25*.profraw
5360cb3d
GS
26# Copies of binaries before BOLT optimizations.
27*.prebolt
28# BOLT profile data.
29*.fdata
5af85640 30*.dyn
0f00dfa4 31.gdb_history
455122a0
GP
32.purify
33__pycache__
34.hg/
35.svn/
36.idea/
37tags
38TAGS
39.vs/
40.vscode/
41gmon.out
42.coverage
43.mypy_cache/
57d3ab85 44.pytest_cache/
0f9d0fb4 45.ruff_cache/
1841c70f 46.DS_Store
455122a0
GP
47
48*.exe
455122a0
GP
49
50# Ignore core dumps... but not Tools/msi/core/ or the like.
51core
52!core/
53
54
55#####
56# Then, rules meant for a specific location relative to the repo root.
57# These must contain a non-trailing slash (and may also have a trailing slash.)
58
d960faec 59Doc/build/
d5ea39d1 60Doc/venv/
590665c3
ND
61Doc/.venv/
62Doc/env/
63Doc/.env/
50da40fd 64Include/pydtrace_probes.h
3dcc3962
DS
65Lib/site-packages/*
66!Lib/site-packages/README.txt
5e03e49c 67Lib/test/data/*
5e5e9515 68!Lib/test/data/README
84ca1232 69/_bootstrap_python
5e5e9515 70/Makefile
455122a0 71/Makefile.pre
408e1271 72/iOSTestbed.*
b33980a2 73iOS/Frameworks/
bee7bb33 74iOS/Resources/Info.plist
b33980a2
RKM
75iOS/testbed/build
76iOS/testbed/Python.xcframework/ios-*/bin
77iOS/testbed/Python.xcframework/ios-*/include
78iOS/testbed/Python.xcframework/ios-*/lib
79iOS/testbed/Python.xcframework/ios-*/Python.framework
80iOS/testbed/iOSTestbed.xcodeproj/project.xcworkspace
81iOS/testbed/iOSTestbed.xcodeproj/xcuserdata
82iOS/testbed/iOSTestbed.xcodeproj/xcshareddata
3167df16
ŁL
83Mac/Makefile
84Mac/PythonLauncher/Info.plist
85Mac/PythonLauncher/Makefile
86Mac/PythonLauncher/Python Launcher
87Mac/PythonLauncher/Python Launcher.app/*
88Mac/Resources/app/Info.plist
89Mac/Resources/framework/Info.plist
90Mac/pythonw
91/*.framework/
d960faec 92Misc/python.pc
0a8e5724 93Misc/python-embed.pc
4eb9f500 94Misc/python-config.sh
ca9689f8 95Modules/Setup.bootstrap
d960faec
VS
96Modules/Setup.config
97Modules/Setup.local
e4bb22fa 98Modules/Setup.stdlib
d960faec 99Modules/config.c
7bbc855e 100Modules/ld_so_aix
044e8d86 101Programs/_freeze_module
973fe0ba 102Programs/_testembed
30270c87
ZW
103PC/python_nt*.h
104PC/pythonnt_rc*.h
3955da85 105Modules/python.exp
65e4cb10
SD
106PC/*/*.exp
107PC/*/*.lib
108PC/*/*.bsc
109PC/*/*.dll
110PC/*/*.pdb
111PC/*/*.user
112PC/*/*.ncb
113PC/*/*.suo
114PC/*/Win32-temp-*
115PC/*/x64-temp-*
116PC/*/amd64
30270c87
ZW
117PCbuild/*.user
118PCbuild/*.suo
119PCbuild/*.*sdf
30270c87
ZW
120PCbuild/*-pgi
121PCbuild/*-pgo
8e675286
SF
122PCbuild/*.VC.db
123PCbuild/*.VC.opendb
0f00dfa4 124PCbuild/amd64/
8a1657b9 125PCbuild/arm32/
f96e7fd9 126PCbuild/arm64/
2eb1a8b6 127PCbuild/obj/
be5ebe58 128PCbuild/win32/
3e4498d3 129Tools/unicode/data/
455122a0
GP
130/autom4te.cache
131/build/
97112651 132/builddir/
455122a0
GP
133/config.cache
134/config.log
135/config.status
136/config.status.lineno
98fac8bc
CH
137# hendrikmuhs/ccache-action@v1
138/.ccache
37589d76 139/cross-build/
f6d9e592 140/jit_stencils.h
455122a0 141/platform
96a9eed2
MS
142/profile-clean-stamp
143/profile-run-stamp
5360cb3d 144/profile-bolt-stamp
455122a0 145/pybuilddir.txt
5e5e9515 146/pyconfig.h
455122a0
GP
147/python-config
148/python-config.py
149/python.bat
150/python-gdb.py
151/python.exe-gdb.py
152/reflog.txt
153/coverage/
154/externals/
155/htmlcov/
bb24087a 156Tools/msi/obj
65e4cb10
SD
157Tools/ssl/amd64
158Tools/ssl/win32
13d9205f 159Tools/freeze/test/outdir
455122a0 160
fdc6b3d9 161# The frozen modules are always generated by the build so we don't
1863302d 162# keep them in the repo. Also see Tools/build/freeze_modules.py.
fdc6b3d9 163Python/frozen_modules/*.h
a9757bf3
ES
164# The manifest can be generated at any time with "make regen-frozen".
165Python/frozen_modules/MANIFEST
a2d8c4b8 166
455122a0
GP
167# Two-trick pony for OSX and other case insensitive file systems:
168# Ignore ./python binary on Unix but still look into ./Python/ directory.
169/python
170!/Python/
8e6eccab 171
2ed8f924 172# main branch only: ABI files are not checked/maintained.
8e6eccab 173Doc/data/python*.abi