From: Serhiy Storchaka Date: Tue, 19 Mar 2024 21:30:25 +0000 (+0200) Subject: gh-117041: Add "-X gil" in the Python CLI help (GH-117042) X-Git-Tag: v3.13.0a6~222 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2d17309cc719c41e02ffd1d6cac10f95a7e2359c;p=thirdparty%2FPython%2Fcpython.git gh-117041: Add "-X gil" in the Python CLI help (GH-117042) --- diff --git a/Python/initconfig.c b/Python/initconfig.c index 95234eed5edf..215d6a1d4e0d 100644 --- a/Python/initconfig.c +++ b/Python/initconfig.c @@ -195,6 +195,11 @@ The following implementation-specific options are available:\n\ -X frozen_modules=[on|off]: whether to use frozen modules; the default is \"on\"\n\ for installed Python and \"off\" for a local build;\n\ also PYTHON_FROZEN_MODULES\n\ +" +#ifdef Py_GIL_DISABLED +"-X gil=[0|1]: enable (1) or disable (0) the GIL; also PYTHON_GIL\n" +#endif +"\ -X importtime: show how long each import takes; also PYTHONPROFILEIMPORTTIME\n\ -X int_max_str_digits=N: limit the size of int<->str conversions;\n\ 0 disables the limit; also PYTHONINTMAXSTRDIGITS\n\