]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-46968: Add os.sysconf_names['SC_MINSIGSTKSZ'] (GH-31824)
authorVictor Stinner <vstinner@python.org>
Fri, 11 Mar 2022 22:01:40 +0000 (23:01 +0100)
committerGitHub <noreply@github.com>
Fri, 11 Mar 2022 22:01:40 +0000 (23:01 +0100)
Doc/library/os.rst
Misc/NEWS.d/next/Library/2022-03-11-17-56-25.bpo-46968.pPVvNo.rst [new file with mode: 0644]
Modules/posixmodule.c

index 234ea3238ef9988d8add8fbbe6438ee93b991d8b..6dffc4513365e35149fc40a6ba6bb861d1877c27 100644 (file)
@@ -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 (file)
index 0000000..f526fa3
--- /dev/null
@@ -0,0 +1 @@
+Add ``os.sysconf_names['SC_MINSIGSTKSZ']``.
index 3431c85e2dfde901c66c5c266bc8cf3cd91ecbf0..700cbd2617ad88910e1b7a1d01b1b6bcece581c6 100644 (file)
@@ -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