https://github.com/python/cpython/commit/2d17309cc719c41e02ffd1d6cac10f95a7e2359c
commit: 2d17309cc719c41e02ffd1d6cac10f95a7e2359c
branch: main
author: Serhiy Storchaka <[email protected]>
committer: serhiy-storchaka <[email protected]>
date: 2024-03-19T23:30:25+02:00
summary:
gh-117041: Add "-X gil" in the Python CLI help (GH-117042)
files:
M Python/initconfig.c
diff --git a/Python/initconfig.c b/Python/initconfig.c
index 95234eed5edff1..215d6a1d4e0dba 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\
_______________________________________________
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]