cpython/Tools
Victor Stinner a5c62a8e9f bpo-23404: make touch becomes make regen-all (#1405)
Don't rebuild generated files based on file modification time
anymore, the action is now explicit. Replace "make touch"
with "make regen-all".

Changes:

* Remove "make touch", Tools/hg/hgtouch.py and .hgtouch
* Add a new "make regen-all" command to rebuild all generated files
* Add subcommands to only generate specific files:

  - regen-ast: Include/Python-ast.h and Python/Python-ast.c
  - regen-grammar: Include/graminit.h and Python/graminit.c
  - regen-importlib: Python/importlib_external.h and Python/importlib.h
  - regen-opcode: Include/opcode.h
  - regen-opcode-targets: Python/opcode_targets.h
  - regen-typeslots: Objects/typeslots.inc

* Rename PYTHON_FOR_GEN to PYTHON_FOR_REGEN
* pgen is now only built by by "make regen-grammar"
* Add $(srcdir)/ prefix to paths to source files to handle correctly
  compilation outside the source directory

Note: $(PYTHON_FOR_REGEN) is no more used nor needed by "make"
default target building Python.
2017-05-03 18:21:48 +02:00
..
buildbot Buildbot: give 20 minute per test file 2016-09-12 13:04:17 +02:00
ccbench Some cleanup in the Tools directory. 2012-07-07 17:03:54 +02:00
clinic bpo-29935: Fixed error messages in the index() method of tuple, list and deque (#887) 2017-03-30 18:29:23 +03:00
demo #27364: fix "incorrect" uses of escape character in the stdlib. 2016-09-08 13:59:53 -04:00
freeze bpo-29762: More use "raise from None". (#569) 2017-04-05 09:37:24 +03:00
gdb Fixes bpo-29680: Older gdb does not have gdb.error. (#363) 2017-03-01 13:16:23 -05:00
i18n bpo-20087: Revert "make the glibc alias table take precedence over the X11 one (#422)" (#713) 2017-03-19 23:49:43 -07:00
importbench Change some mercurial/ hg.python.org references. (#8) 2017-02-16 07:18:42 -08:00
iobench Issue #15204: Deprecated the 'U' mode in file-like objects. 2013-11-23 22:12:06 +02:00
msi bpo-29919: Remove unused imports found by pyflakes (#137) 2017-03-27 16:05:26 +02:00
nuget Takes vcruntime140.dll from the correct source. (#679) 2017-03-16 10:19:18 -07:00
parser bpo-29463: Add docstring field to some AST nodes. (#46) 2017-02-22 16:31:59 +01:00
pynche bpo-29762: More use "raise from None". (#569) 2017-04-05 09:37:24 +03:00
scripts bpo-30109: Fix reindent.py (GH-1207) 2017-04-19 22:59:20 -07:00
ssl Closes #27904: Improved logging statements to defer formatting until needed. 2016-08-31 08:22:29 +01:00
stringbench Issue #19936: Added executable bits or shebang lines to Python scripts which 2014-01-16 17:33:23 +02:00
test2to3 Issue #19936: Remove executable bits from C source files and several forgotten 2014-01-16 18:48:45 +02:00
tz bpo-29919: Remove unused imports found by pyflakes (#137) 2017-03-27 16:05:26 +02:00
unicode Unicode 9.0.0 2016-09-14 23:53:47 -07:00
unittestgui Removed unintentional trailing spaces in text files. 2015-03-29 19:12:58 +03:00
README Change some mercurial/ hg.python.org references. (#8) 2017-02-16 07:18:42 -08:00

README

This directory contains a number of Python programs that are useful
while building or extending Python.

buildbot        Batchfiles for running on Windows buildslaves.

ccbench         A Python threads-based concurrency benchmark. (*)

demo            Several Python programming demos.

freeze          Create a stand-alone executable from a Python program.

gdb             Python code to be run inside gdb, to make it easier to
                debug Python itself (by David Malcolm).

i18n            Tools for internationalization. pygettext.py
                parses Python source code and generates .pot files,
                and msgfmt.py generates a binary message catalog
                from a catalog in text format.

iobench         Benchmark for the new Python I/O system. (*)

msi             Support for packaging Python as an MSI package on Windows.

parser          Un-parsing tool to generate code from an AST.

pynche          A Tkinter-based color editor.

scripts         A number of useful single-file programs, e.g. tabnanny.py
                by Tim Peters, which checks for inconsistent mixing of
                tabs and spaces, and 2to3, which converts Python 2 code
                to Python 3 code.

stringbench     A suite of micro-benchmarks for various operations on
                strings (both 8-bit and unicode). (*)

test2to3        A demonstration of how to use 2to3 transparently in setup.py.

unicode         Tools for generating unicodedata and codecs from unicode.org
                and other mapping files (by Fredrik Lundh, Marc-Andre Lemburg
                and Martin von Loewis).

unittestgui     A Tkinter based GUI test runner for unittest, with test
                discovery.


(*) A generic benchmark suite is maintained separately at https://github.com/python/performance