[Python-checkins] cpython (merge 3.6 -> default): replace --with-optimizations references with --enable-optimizations in docs.

gregory.p.smith python-checkins at python.org
Mon Nov 21 03:14:09 EST 2016


https://hg.python.org/cpython/rev/38e9761ccc13
changeset:   105264:38e9761ccc13
parent:      105260:45eab45be175
parent:      105263:ea9cc29a274b
user:        Gregory P. Smith <greg at krypto.org>
date:        Mon Nov 21 00:13:15 2016 -0800
summary:
  replace --with-optimizations references with --enable-optimizations in docs.

files:
  Doc/whatsnew/3.6.rst |  2 +-
  README               |  2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst
--- a/Doc/whatsnew/3.6.rst
+++ b/Doc/whatsnew/3.6.rst
@@ -1795,7 +1795,7 @@
   yet a supported platform, the Python test suite runs on the Android emulator
   with only about 16 tests failures. See the Android meta-issue :issue:`26865`.
 
-* The ``--with-optimizations`` configure flag has been added. Turning it on
+* The ``--enable-optimizations`` configure flag has been added. Turning it on
   will activate expensive optimizations like PGO.
   (Original patch by Alecsandru Patrascu of Intel in :issue:`26539`.)
 
diff --git a/README b/README
--- a/README
+++ b/README
@@ -46,7 +46,7 @@
 (This will fail if you *also* built at the top-level directory.
 You should do a "make clean" at the toplevel first.)
 
-To get an optimized build of Python, "configure --with-optimizations" before
+To get an optimized build of Python, "configure --enable-optimizations" before
 you run make.  This sets the default make targets up to enable Profile Guided
 Optimization (PGO) and may be used to auto-enable Link Time Optimization (LTO)
 on some platforms.  For more details, see the sections bellow.

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list