summaryrefslogtreecommitdiffstats
path: root/.gitignore
Commit message (Collapse)AuthorAgeFilesLines
* [3.10] gh-93738: Disallow pre-v3 syntax in the C domain (GH-97962) (#97977)Łukasz Langa2022-10-061-0/+2
| | | | | | | Also, disable using invalid sphinx-lint 0.6.2. (cherry picked from commit f612565bd32d4ab0945798da775eea070f08b6fe) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.10] bpo-44035: Check autoconf files thoroughly (GH-29935) (GH-29937)Miss Islington (bot)2021-12-061-0/+2
| | | Co-authored-by: Christian Heimes <christian@python.org>
* [3.10] bpo-45848: Allow the parser to get error lines from encoded files ↵Łukasz Langa2021-11-201-0/+6
| | | | | | | (GH-29646) (GH-29661) (cherry picked from commit fdcc46d9554094994f78bedf6dc9220e5d5ee668) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* Add generated artifacts in Mac/ to .gitignore; update copyright (GH-29408) ↵Miss Islington (bot)2021-11-041-0/+9
| | | | | | | (GH-29409) (cherry picked from commit 3167df16212e27f8aac1e5f39c0644a97b593406) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* Add .DS_Store on ignore (GH-27711) (GH-27723)Miss Islington (bot)2021-08-111-0/+1
| | | | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 1841c70f2bdab9d29c1c74a8afffa45d5555af98) Co-authored-by: 180909 <wjh180909@gmail.com>
* Added some makefile generated files to .gitignore (GH-22435)Marco Sulla2020-10-261-0/+2
|
* ignore Modules/python.exp on AIX (autogenerated) (GH-19607)Batuhan Taşkaya2020-04-191-0/+1
|
* Be more specific about the `.so` gitignore patterns (GH-17328)Anthony Sottile2019-11-271-1/+2
| | | | | In GH-15823 the pattern was changed from `libpython*.so*` to `*.so*` which matches a bit too greedily for some packagers. For instance this trips up `debian/README.source`. A more specific pattern fixes this issue.
* Add .pytest_cache to .gitignore (GH-16595)Brandt Bucher2019-11-151-0/+1
|
* bpo-37936: Systematically distinguish rooted vs. unrooted in .gitignore ↵Greg Price2019-09-111-48/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (GH-15823) A root cause of bpo-37936 is that it's easy to write a .gitignore rule that's intended to apply to a specific file (e.g., the `pyconfig.h` generated by `./configure`) but actually applies to all similarly-named files in the tree (e.g., `PC/pyconfig.h`.) Specifically, any rule with no non-trailing slashes is applied in an "unrooted" way, to files anywhere in the tree. This means that if we write the rules in the most obvious-looking way, then * for specific files we want to ignore that happen to be in subdirectories (like `Modules/config.c`), the rule will work as intended, staying "rooted" to the top of the tree; but * when a specific file we want to ignore happens to be at the root of the repo (like `platform`), then the obvious rule (`platform`) will apply much more broadly than intended: if someone tries to add a file or directory named `platform` somewhere else in the tree, it will unexpectedly get ignored. That's surprising behavior that can make the .gitignore file's behavior feel finicky and unpredictable. To avoid it, we can simply always give a rule "rooted" behavior when that's what's intended, by systematically using leading slashes. Further, to help make the pattern obvious when looking at the file and minimize any need for thinking about the syntax when adding new rules: separate the rules into one group for each type, with brief comments identifying them. For most of these rules it's clear whether they're meant to be rooted or unrooted, but in a handful of cases I've only guessed. In that case the safer default (the choice that won't hide information) is the narrower, rooted meaning, with a leading slash. If for some of these the unrooted meaning is desired after all, it'll be easy to move them to the unrooted section at the top.
* bpo-37936: Avoid ignoring files that we actually do track. (GH-15451)Greg Price2019-09-091-3/+4
| | | | | | | | | | | | | | | | | | | | There were about 14 files that are actually in the repo but that are covered by the rules in .gitignore. Git itself takes no notice of what .gitignore says about files that it's already tracking... but the discrepancy can be confusing to a human that adds a new file unexpectedly covered by these rules, as well as to non-Git software that looks at .gitignore but doesn't implement this wrinkle in its semantics. (E.g., `rg`.) Several of these are from rules that apply more broadly than intended: for example, `Makefile` applies to `Doc/Makefile` and `Tools/freeze/test/Makefile`, whereas `/Makefile` means only the `Makefile` at the repo's root. And the `Modules/Setup` rule simply wasn't updated after 961d54c5c. https://bugs.python.org/issue37936
* bpo-37936: Remove some .gitignore rules that were intended locally. (GH-15542)Greg Price2019-08-271-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | These appeared in commit c5ae169e1. The comment on them, as well as the presence among them of a rule for the .gitignore file itself, indicate that the author intended these lines to remain only in their own local working tree -- not to get committed even to their own repo, let alone merged upstream. They did nevertheless get committed, because it turns out that Git takes no notice of what .gitignore says about files that it's already tracking... for example, this .gitignore file itself. Give effect to these lines' original intention, by deleting them. :-) Git tip, for reference: the `.git/info/exclude` file is a handy way to do exactly what these lines were originally intended to do. A related handy file is `~/.config/git/ignore`. See gitignore(5), aka `git help ignore`, for details. https://bugs.python.org/issue37936 Automerge-Triggered-By: @zware
* bpo-37760: Avoid cluttering work tree with downloaded Unicode files. (GH-15128)Greg Price2019-08-151-0/+1
|
* bpo-36721: Add --embed option to python-config (GH-13500)Victor Stinner2019-05-231-0/+1
| | | | | | | | | | | | | | | | | | | | | To embed Python into an application, a new --embed option must be passed to "python3-config --libs --embed" to get "-lpython3.8" (link the application to libpython). To support both 3.8 and older, try "python3-config --libs --embed" first and fallback to "python3-config --libs" (without --embed) if the previous command fails. Add a pkg-config "python-3.8-embed" module to embed Python into an application: "pkg-config python-3.8-embed --libs" includes "-lpython3.8". To support both 3.8 and older, try "pkg-config python-X.Y-embed --libs" first and fallback to "pkg-config python-X.Y --libs" (without --embed) if the previous command fails (replace "X.Y" with the Python version). On the other hand, "pkg-config python3.8 --libs" no longer contains "-lpython3.8". C extensions must not be linked to libpython (except on Android, case handled by the script); this change is backward incompatible on purpose. "make install" now also installs "python-3.8-embed.pc".
* bpo-36941: Windows build changes for Windows ARM64 (GH-13365)Paul Monson2019-05-171-0/+1
|
* bpo-35808: Retire pgen and use pgen2 to generate the parser (GH-11814)Pablo Galindo2019-03-011-2/+0
| | | | | Pgen is the oldest piece of technology in the CPython repository, building it requires various #if[n]def PGEN hacks in other parts of the code and it also depends more and more on CPython internals. This commit removes the old pgen C code and replaces it for a new version implemented in pure Python. This is a modified and adapted version of lib2to3/pgen2 that can generate grammar files compatibles with the current parser. This commit also eliminates all the #ifdef and code branches related to pgen, simplifying the code and making it more maintainable. The regen-grammar step now uses $(PYTHON_FOR_REGEN) that can be any version of the interpreter, so the new pgen code maintains compatibility with older versions of the interpreter (this also allows regenerating the grammar with the current CI solution that uses Python3.5). The new pgen Python module also makes use of the Grammar/Tokens file that holds the token specification, so is always kept in sync and avoids having to maintain duplicate token definitions.
* bpo-35976: Enable Windows projects to build with platform ARM32 (GH-11825)Paul Monson2019-02-141-0/+1
| | | This change adds the necessary items to the build projects to avoid erroring out right at the start. It does not add _support_ for targeting Windows on ARM32, but is a necessary prerequisite for adding it.
* Add mypy cache to gitignore (GH-6614)Ekin Dursun2018-04-301-0/+1
|
* Gitignore gmon.out (GH-5796)Neeraj Badlani2018-03-261-0/+1
| | | | | | | gmon.out is generated when profiling turned on Full Configuration: ./configure --prefix=$PWD/install --enable-profiling --enable-big-digits=30 --with-pydebug --with-assertions --with-valgrind
* bpo-26439 Fix ctypes.util.find_library failure on AIX (#4507)Michael Felt2017-12-191-0/+7
| | | | | Implement find_library() support in ctypes/util for AIX. Add some AIX specific tests.
* bpo-31036: Allow sphinx and blurb to be found automatically (#3440)Ned Deily2017-09-081-0/+3
| | | | Rather than requiring the path to blurb and/or sphinx-build to be specified to the make rule, enhance the Doc/Makefile to look for each first in a virtual environment created by make venv and, if not found, look on the normal process PATH. This allows the Doc/Makefile to take advantage of an installed spinx-build or blurb and, thus, do the right thing most of the time. Also, make the directory for the venv be configurable and document the `make venv` target.
* Fix case in .gitignore (GH-2607)Segev Finer2017-07-061-1/+1
|
* Move directory in .gitignore (#1787)Steve Dower2017-05-241-1/+1
|
* Add .idea and .iml to .gitignore (#1764)gfyoung2017-05-241-0/+2
|
* Add missing .gitignore entries for VS2015 IntelliSense DB (#1223)Segev Finer2017-04-201-0/+2
|
* Ignore Include/pydtrace_probes.h (#597)Łukasz Langa2017-03-101-0/+1
| | | | This is a generated file when --with-dtrace is passed. This entry is present in .hgignore.
* pgen lives in Parser, not Programs.Zachary Ware2016-10-011-1/+1
| | | | Apparently, I can't read.
* Update .{hg,git}ignore for Cygwin buildsZachary Ware2016-10-011-0/+4
|
* Issue #28046: Remove platform-specific directories from sys.pathZachary Ware2016-09-101-1/+0
|
* Remove Lib/_sysconfigdata.py from .gitignoreZachary Ware2016-09-091-1/+0
|
* Add libpython*.dylib to .{hg,git}ignoreZachary Ware2016-09-061-0/+1
|
* Minor improvements to the vcs ignore filesSteve Dower2016-09-051-3/+5
|
* Issue #25827: Add support for ICC to configureZachary Ware2015-12-211-0/+1
|
* Issue #24915: Add Clang support to PGO builds and use the test suiteBrett Cannon2015-09-181-0/+3
| | | | | | for profile data. Thanks to Alecsandru Patrascu of Intel for the initial patch.
* Ignore PCbuild/.vs directory.Zachary Ware2015-05-171-2/+3
| | | | Also fix a couple other ignored PCbuild directories in .gitignore
* Next attempt: fix .gitignore for Unix and OSX. Sorry RDM!Christian Heimes2015-04-221-1/+4
|\
| * Next attempt: fix .gitignore for Unix and OSX. Sorry RDM!Christian Heimes2015-04-221-1/+4
| |
* | Fix .gitignore for 'python' binary.Christian Heimes2015-04-221-1/+1
|\ \ | |/
| * Fix .gitignore for 'python' binary.Christian Heimes2015-04-221-1/+1
| |
* | Merge: Don't gitignore the Python directory on case insensitive file systems.R David Murray2015-04-131-1/+1
|\ \ | |/
| * Don't gitignore the Python directory on case insensitive file systems.R David Murray2015-04-131-1/+1
| |
* | Issue #23260: Update Windows installerSteve Dower2015-02-061-0/+1
| |
* | Issue #22919: Windows build updated to support VC 14.0 (Visual Studio 2015), ↵Steve Dower2014-11-221-11/+17
| | | | | | | | which will be used for the official 3.5 release.
* | Issue #22394: Add a 'venv' command to Doc/Makefile.Brett Cannon2014-12-051-5/+1
| | | | | | | | | | | | | | | | | | | | This will create a venv using the interpreter specified by the PYTHON variable for the Makefile that also install Sphinx. Typical usage is expected to be: cd Doc make venv PYTHON=../python make html PYTHON=venv/bin/python3
* | Issue #17896: Move Windows external lib sources from .. to externals.Zachary Ware2014-11-021-0/+1
|\ \ | |/
| * Issue #17896: Move Windows external lib sources from .. to externals.Zachary Ware2014-11-021-0/+1
| |
* | Issue #22489: Update .gitignore to ignore Windows build output.Zachary Ware2014-10-111-0/+10
| | | | | | | | Initial patch by Robert Collins.
* | Issue #18093: Factor out the programs that embed the runtimeNick Coghlan2014-07-251-2/+2
|/
* Closes #18247: add Lib/test/data/* to .gitignoreAndrew Kuchling2013-06-211-0/+1
|
* Add generated python-config files to .gitignorePetri Lehtinen2013-02-231-0/+3
|