bpo-23404: make regen-all What's New entry (#2128) · python/cpython@e1b6903 (original) (raw)

Original file line number Diff line number Diff line change
@@ -2306,3 +2306,39 @@ There have been several major changes to the :term:`bytecode` in Python 3.6.
2306 2306 * The new :opcode:`SETUP_ANNOTATIONS` and :opcode:`STORE_ANNOTATION` opcodes
2307 2307 have been added to support the new :term:`variable annotation` syntax.
2308 2308 (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