https://github.com/python/cpython/commit/a37b0932285b5e883b13a46ff2a32f15d7339894
commit: a37b0932285b5e883b13a46ff2a32f15d7339894
branch: main
author: Guido van Rossum <[email protected]>
committer: gvanrossum <[email protected]>
date: 2024-05-02T00:48:34Z
summary:

gh-118335: Rename --experimental-interpreter on Windows to 
--experimental-jit-interpreter (#118497)

Also fix docs for this in whatsnew.

files:
M Doc/whatsnew/3.13.rst
M PCbuild/build.bat

diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst
index d67df8109a8ced..52fb9752cf4132 100644
--- a/Doc/whatsnew/3.13.rst
+++ b/Doc/whatsnew/3.13.rst
@@ -946,7 +946,8 @@ The ``--enable-experimental-jit`` flag has the following 
optional values:
   The interpreter can be disabled by running with
   ``PYTHON_JIT=0``.
 
-(On Windows, use ``PCbuild/build.bat --enable-jit`` to enable the JIT.)
+(On Windows, use ``PCbuild/build.bat --experimental-jit`` to enable the JIT
+or ``--experimental-jit-interpreter`` to enable the Tier 2 interpreter.)
 
 See :pep:`744` for more details.
 
diff --git a/PCbuild/build.bat b/PCbuild/build.bat
index 43a99aa684483f..13bd895694f176 100644
--- a/PCbuild/build.bat
+++ b/PCbuild/build.bat
@@ -38,7 +38,7 @@ echo.  --test-marker  Enable the test marker within the build.
 echo.  --regen        Regenerate all opcodes, grammar and tokens.
 echo.  --experimental-jit          Enable the experimental just-in-time 
compiler.
 echo.  --experimental-jit-off      Ditto but off by default (PYTHON_JIT=1 
enables).
-echo.  --experimental-interpreter  Enable the experimental Tier 2 interpreter.
+echo.  --experimental-jit-interpreter  Enable the experimental Tier 2 
interpreter.
 echo.
 echo.Available flags to avoid building certain modules.
 echo.These flags have no effect if '-e' is not given:
@@ -91,8 +91,8 @@ if "%~1"=="-V" shift & goto Version
 if "%~1"=="--regen" (set Regen=true) & shift & goto CheckOpts
 if "%~1"=="--experimental-jit" (set UseJIT=true) & (set UseTIER2=1) & shift & 
goto CheckOpts
 if "%~1"=="--experimental-jit-off" (set UseJIT=true) & (set UseTIER2=3) & 
shift & goto CheckOpts
-if "%~1"=="--experimental-interpreter" (set UseTIER2=4) & shift & goto 
CheckOpts
-if "%~1"=="--experimental-interpreter-off" (set UseTIER2=6) & shift & goto 
CheckOpts
+if "%~1"=="--experimental-jit-interpreter" (set UseTIER2=4) & shift & goto 
CheckOpts
+if "%~1"=="--experimental-jit-interpreter-off" (set UseTIER2=6) & shift & goto 
CheckOpts
 rem These use the actual property names used by MSBuild.  We could just let
 rem them in through the environment, but we specify them on the command line
 rem anyway for visibility so set defaults after this

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to