Skip to content

Commit 53e1b53

Browse files
authored
add signal.SIGSTKFLT on py311+ (#9870)
1 parent 62a833c commit 53e1b53

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

stdlib/signal.pyi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ class Signals(IntEnum):
5353
SIGPWR: int
5454
SIGRTMAX: int
5555
SIGRTMIN: int
56+
if sys.version_info >= (3, 11):
57+
SIGSTKFLT: int
5658

5759
class Handlers(IntEnum):
5860
SIG_DFL: int
@@ -147,6 +149,8 @@ else:
147149
SIGPWR: Signals
148150
SIGRTMAX: Signals
149151
SIGRTMIN: Signals
152+
if sys.version_info >= (3, 11):
153+
SIGSTKFLT: Signals
150154
@final
151155
class struct_siginfo(structseq[int], tuple[int, int, int, int, int, int, int]):
152156
if sys.version_info >= (3, 10):

tests/stubtest_allowlists/linux-py311.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ mmap.MAP_STACK
1313
(os|posix).eventfd_read
1414
(os|posix).eventfd_write
1515
(os|posix).splice
16-
signal.SIGSTKFLT
17-
signal.Signals.SIGSTKFLT
1816
signal.sigtimedwait
1917
signal.sigwaitinfo
2018
xxlimited.Xxo.x_exports

0 commit comments

Comments
 (0)