Skip to content

Commit e1b6903

Browse files
authored
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.
1 parent d89dc84 commit e1b6903

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

‎Doc/whatsnew/3.6.rst‎

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2306,3 +2306,39 @@ There have been several major changes to the :term:`bytecode` in Python 3.6.
23062306
* The new :opcode:`SETUP_ANNOTATIONS` and :opcode:`STORE_ANNOTATION` opcodes
23072307
have been added to support the new :term:`variable annotation` syntax.
23082308
(Contributed by Ivan Levkivskyi in :issue:`27985`.)
2309+
2310+
2311+
Notable changes in Python 3.6.2
2312+
===============================
2313+
2314+
New ``make regen-all`` build target
2315+
-----------------------------------
2316+
2317+
To simplify cross-compilation, and to ensure that CPython can reliably be
2318+
compiled without requiring an existing version of Python to already be
2319+
available, the autotools-based build system no longer attempts to implicitly
2320+
recompile generated files based on file modification times.
2321+
2322+
Instead, a new ``make regen-all`` command has been added to force regeneration
2323+
of these files when desired (e.g. after an initial version of Python has
2324+
already been built based on the pregenerated versions).
2325+
2326+
More selective regeneration targets are also defined - see
2327+
:source:`Makefile.pre.in` for details.
2328+
2329+
(Contributed by Victor Stinner in :issue:`23404`.)
2330+
2331+
.. versionadded:: 3.6.2
2332+
2333+
2334+
Removal of ``make touch`` build target
2335+
--------------------------------------
2336+
2337+
The ``make touch`` build target previously used to request implicit regeneration
2338+
of generated files by updating their modification times has been removed.
2339+
2340+
It has been replaced by the new ``make regen-all`` target.
2341+
2342+
(Contributed by Victor Stinner in :issue:`23404`.)
2343+
2344+
.. versionchanged:: 3.6.2

0 commit comments

Comments
 (0)