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
ccbench
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
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
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
stringbench
test2to3
tz bpo-29919: Remove unused imports found by pyflakes (#137) 2017-03-27 16:05:26 +02:00
unicode
unittestgui
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