summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.6.rst
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2017-06-12 12:28:12 (GMT)
committerGitHub <noreply@github.com>2017-06-12 12:28:12 (GMT)
commite1b690370fd8f93bef1e69eeea2695f95a7cfff5 (patch)
treedd2aecb841cabf7a69ce817d9848a30faa8863e3 /Doc/whatsnew/3.6.rst
parentd89dc844d288ee2e403272f3e4552eed6911cafd (diff)
downloadcpython-e1b690370fd8f93bef1e69eeea2695f95a7cfff5.zip
cpython-e1b690370fd8f93bef1e69eeea2695f95a7cfff5.tar.gz
cpython-e1b690370fd8f93bef1e69eeea2695f95a7cfff5.tar.bz2
bpo-23404: `make regen-all` What's New entry (#2128)
While the build changes won't affect most users, they may affect redistributors and folks building their own Python binaries from source.
Diffstat (limited to 'Doc/whatsnew/3.6.rst')
-rw-r--r--Doc/whatsnew/3.6.rst36
1 files changed, 36 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst
index a701caf..1e71bc3 100644
--- a/Doc/whatsnew/3.6.rst
+++ b/Doc/whatsnew/3.6.rst
@@ -2306,3 +2306,39 @@ There have been several major changes to the :term:`bytecode` in Python 3.6.
* The new :opcode:`SETUP_ANNOTATIONS` and :opcode:`STORE_ANNOTATION` opcodes
have been added to support the new :term:`variable annotation` syntax.
(Contributed by Ivan Levkivskyi in :issue:`27985`.)
+
+
+Notable changes in Python 3.6.2
+===============================
+
+New ``make regen-all`` build target
+-----------------------------------
+
+To simplify cross-compilation, and to ensure that CPython can reliably be
+compiled without requiring an existing version of Python to already be
+available, the autotools-based build system no longer attempts to implicitly
+recompile generated files based on file modification times.
+
+Instead, a new ``make regen-all`` command has been added to force regeneration
+of these files when desired (e.g. after an initial version of Python has
+already been built based on the pregenerated versions).
+
+More selective regeneration targets are also defined - see
+:source:`Makefile.pre.in` for details.
+
+(Contributed by Victor Stinner in :issue:`23404`.)
+
+.. versionadded:: 3.6.2
+
+
+Removal of ``make touch`` build target
+--------------------------------------
+
+The ``make touch`` build target previously used to request implicit regeneration
+of generated files by updating their modification times has been removed.
+
+It has been replaced by the new ``make regen-all`` target.
+
+(Contributed by Victor Stinner in :issue:`23404`.)
+
+.. versionchanged:: 3.6.2