Skip to content

Commit dc374ac

Browse files
authored
bpo-46968: Add os.sysconf_names['SC_MINSIGSTKSZ'] (GH-31824)
1 parent 5b1b9ea commit dc374ac

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

Doc/library/os.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4755,6 +4755,9 @@ Miscellaneous System Information
47554755

47564756
.. availability:: Unix.
47574757

4758+
.. versionchanged:: 3.11
4759+
Add ``'SC_MINSIGSTKSZ'`` name.
4760+
47584761
The following data values are used to support path manipulation operations. These
47594762
are defined for all platforms.
47604763

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add ``os.sysconf_names['SC_MINSIGSTKSZ']``.

Modules/posixmodule.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12346,6 +12346,9 @@ static struct constdef posix_constants_sysconf[] = {
1234612346
#ifdef _SC_XOPEN_XPG4
1234712347
{"SC_XOPEN_XPG4", _SC_XOPEN_XPG4},
1234812348
#endif
12349+
#ifdef _SC_MINSIGSTKSZ
12350+
{"SC_MINSIGSTKSZ", _SC_MINSIGSTKSZ},
12351+
#endif
1234912352
};
1235012353

1235112354
static int

0 commit comments

Comments
 (0)