From: Victor Stinner Date: Fri, 11 Mar 2022 22:01:40 +0000 (+0100) Subject: bpo-46968: Add os.sysconf_names['SC_MINSIGSTKSZ'] (GH-31824) X-Git-Tag: v3.11.0a7~275 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dc374ac7b0fabaed49461a2044c220765f48d229;p=thirdparty%2FPython%2Fcpython.git bpo-46968: Add os.sysconf_names['SC_MINSIGSTKSZ'] (GH-31824) --- diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 234ea3238ef9..6dffc4513365 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 000000000000..f526fa30cd60 --- /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 3431c85e2dfd..700cbd2617ad 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