File tree 2 files changed +10
-4
lines changed
tests/stubtest_allowlists 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):
359
359
# as part of the response to CVE-2020-10735
360
360
def set_int_max_str_digits (maxdigits : int ) -> None : ...
361
361
def 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
179
179
ssl.Options.OP_LEGACY_SERVER_CONNECT
180
180
ssl.RAND_pseudo_bytes
181
181
ssl.wrap_socket
182
- sys.activate_stack_trampoline
183
- sys.deactivate_stack_trampoline
184
- sys.getunicodeinternedsize
185
- sys.is_stack_trampoline_active
186
182
tarfile.AbsoluteLinkError
187
183
tarfile.AbsolutePathError
188
184
tarfile.FilterError
You can’t perform that action at this time.
0 commit comments