File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
tests/stubtest_allowlists Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -359,3 +359,13 @@ if sys.version_info < (3, 8):
359359# as part of the response to CVE-2020-10735
360360def set_int_max_str_digits (maxdigits : int ) -> None : ...
361361def get_int_max_str_digits () -> int : ...
362+
363+ if sys .version_info >= (3 , 12 ):
364+ def getunicodeinternedsize () -> int : ...
365+ def deactivate_stack_trampoline () -> None : ...
366+ def is_stack_trampoline_active () -> bool : ...
367+ # It always exists, but raises on non-linux platforms:
368+ if sys .platform == "linux" :
369+ def activate_stack_trampoline (__backend : str ) -> None : ...
370+ else :
371+ def activate_stack_trampoline (__backend : str ) -> NoReturn : ...
Original file line number Diff line number Diff line change @@ -179,10 +179,6 @@ ssl.OP_LEGACY_SERVER_CONNECT
179179ssl.Options.OP_LEGACY_SERVER_CONNECT
180180ssl.RAND_pseudo_bytes
181181ssl.wrap_socket
182- sys.activate_stack_trampoline
183- sys.deactivate_stack_trampoline
184- sys.getunicodeinternedsize
185- sys.is_stack_trampoline_active
186182tarfile.AbsoluteLinkError
187183tarfile.AbsolutePathError
188184tarfile.FilterError
You can’t perform that action at this time.
0 commit comments