Skip to content

Commit c38fc45

Browse files
authored
Make CVE-2020-10735 allowlist entries Windows-only (#10318)
1 parent 5beddbe commit c38fc45

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tests/stubtest_allowlists/py3_common.txt

-5
Original file line numberDiff line numberDiff line change
@@ -609,11 +609,6 @@ typing.IO.__iter__ # See https://github.com/python/typeshed/commit/97bc450acd60
609609
# so stubtest will sometimes complain about exported names being different at runtime to the exported names in the stub
610610
(locale.__all__)?
611611

612-
# Added in a patch release, backported to all security branches,
613-
# but have yet to find their way to all GitHub Actions images
614-
(sys.get_int_max_str_digits)?
615-
(sys.set_int_max_str_digits)?
616-
617612
# Added or modified in a patch release, backported to all security branches,
618613
# but have yet to find their way to all GitHub Actions images
619614
(tarfile.tar_filter)?

tests/stubtest_allowlists/win32.txt

+5
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,8 @@ tty
6666
# pathlib functions that rely on modules that don't exist on Windows
6767
pathlib.Path.owner
6868
pathlib.Path.group
69+
70+
# Added in a patch release, backported to all security branches,
71+
# but have yet to find their way to all GitHub Actions images
72+
(sys.get_int_max_str_digits)?
73+
(sys.set_int_max_str_digits)?

0 commit comments

Comments
 (0)