[Python-checkins] bpo-46968: Add os.sysconf_names['SC_MINSIGSTKSZ'] (GH-31824)
vstinner
webhook-mailer at python.org
Fri Mar 11 17:01:45 EST 2022
https://github.com/python/cpython/commit/dc374ac7b0fabaed49461a2044c220765f48d229
commit: dc374ac7b0fabaed49461a2044c220765f48d229
branch: main
author: Victor Stinner <vstinner at python.org>
committer: vstinner <vstinner at python.org>
date: 2022-03-11T23:01:40+01:00
summary:
bpo-46968: Add os.sysconf_names['SC_MINSIGSTKSZ'] (GH-31824)
files:
A Misc/NEWS.d/next/Library/2022-03-11-17-56-25.bpo-46968.pPVvNo.rst
M Doc/library/os.rst
M Modules/posixmodule.c
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 234ea3238ef99..6dffc4513365e 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -4755,6 +4755,9 @@ Miscellaneous System Information
.. availability:: Unix.
+ .. versionchanged:: 3.11
+ Add ``'SC_MINSIGSTKSZ'`` name.
+
The following data values are used to support path manipulation operations. These
are defined for all platforms.
diff --git a/Misc/NEWS.d/next/Library/2022-03-11-17-56-25.bpo-46968.pPVvNo.rst b/Misc/NEWS.d/next/Library/2022-03-11-17-56-25.bpo-46968.pPVvNo.rst
new file mode 100644
index 0000000000000..f526fa30cd60e
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-03-11-17-56-25.bpo-46968.pPVvNo.rst
@@ -0,0 +1 @@
+Add ``os.sysconf_names['SC_MINSIGSTKSZ']``.
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 3431c85e2dfde..700cbd2617ad8 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -12346,6 +12346,9 @@ static struct constdef posix_constants_sysconf[] = {
#ifdef _SC_XOPEN_XPG4
{"SC_XOPEN_XPG4", _SC_XOPEN_XPG4},
#endif
+#ifdef _SC_MINSIGSTKSZ
+ {"SC_MINSIGSTKSZ", _SC_MINSIGSTKSZ},
+#endif
};
static int
More information about the Python-checkins
mailing list