Update allowlists (#5409)

Co-authored-by: hauntsaninja <>
This commit is contained in:
Shantanu
2021-05-10 22:19:31 -07:00
committed by GitHub
parent 482d38044b
commit 0ac3531a93
9 changed files with 10 additions and 29 deletions

View File

@@ -0,0 +1,2 @@
_curses.color_pair
curses.color_pair

View File

@@ -0,0 +1,2 @@
_curses.color_pair
curses.color_pair

View File

@@ -13,7 +13,6 @@ _collections_abc.Generator.throw
_collections_abc.ItemsView.__reversed__
_collections_abc.KeysView.__reversed__
_collections_abc.ValuesView.__reversed__
_curses.color_pair
_dummy_thread
ast.Bytes.__new__
ast.Ellipsis.__new__
@@ -38,7 +37,6 @@ collections.abc.KeysView.__reversed__
collections.abc.ValuesView.__reversed__
contextlib.nullcontext # not a function at runtime
contextvars.Context.__init__ # Default C __init__ signature is wrong
curses.color_pair
dataclasses.field
dummy_threading
enum.Enum._generate_next_value_
@@ -61,8 +59,6 @@ logging.handlers.BaseRotatingHandler.__init__
logging.handlers.RotatingFileHandler.__init__
logging.handlers.TimedRotatingFileHandler.__init__
logging.handlers.WatchedFileHandler.__init__
macpath # module removed in 3.8
macurl2path # module removed in 3.7
multiprocessing.spawn._main
os.getgrouplist
os.sendfile
@@ -153,7 +149,6 @@ pstats.SortKey.__new__
tkinter.EventType.__new__
# Rest of these errors are new in Python 3.10:
_bootlocale
_markupbase.ParserBase.error
asyncio.proactor_events._ProactorReadPipeTransport.__init__
builtins.aiter
@@ -164,7 +159,6 @@ distutils.command.bdist_wininst
fileinput.FileInput.__init__
fileinput.hook_compressed
fileinput.input
formatter
importlib.abc.ResourceReader.is_resource
importlib.machinery.BuiltinImporter.create_module
importlib.machinery.BuiltinImporter.exec_module
@@ -177,7 +171,6 @@ logging.Formatter.__init__
logging.LoggerAdapter.__init__
logging.PercentStyle.__init__
logging.config.fileConfig
parser
pathlib.Path.chmod
pathlib.Path.stat
pathlib.Path.write_text
@@ -212,8 +205,6 @@ sqlite3.dbapi2.complete_statement
ssl.SSLContext.__new__
ssl._create_unverified_context
ssl.get_server_certificate
statistics.harmonic_mean
symbol
tempfile.TemporaryDirectory.__init__
unicodedata.ucnhash_CAPI
unittest.mock.create_autospec

View File

@@ -79,10 +79,3 @@ collections.Generator.gi_running
collections.Generator.gi_yieldfrom
collections.Mapping.get # Adding None to the Union messed up mypy
collections.Sequence.index # Supporting None in end is not mandatory
# The following methods were changed in point releases from Python 3.6 to 3.9
# as part of a security fix. These excludes can be removed when the GitHub
# action workflow uses Python versions that include the fix (adding a
# separator argument).
urllib.parse.parse_qs
urllib.parse.parse_qsl

View File

@@ -77,10 +77,3 @@ collections.Generator.gi_running
collections.Generator.gi_yieldfrom
collections.Mapping.get # Adding None to the Union messed up mypy
collections.Sequence.index # Supporting None in end is not mandatory
# The following methods were changed in point releases from Python 3.6 to 3.9
# as part of a security fix. These excludes can be removed when the GitHub
# action workflow uses Python versions that include the fix (adding a
# separator argument).
urllib.parse.parse_qs
urllib.parse.parse_qsl

View File

@@ -47,15 +47,13 @@ ipaddress.IPv4Interface.hostmask
ipaddress.IPv6Interface.hostmask
ipaddress._BaseNetwork.broadcast_address
ipaddress._BaseNetwork.hostmask
macpath # removed in 3.8
macurl2path # removed in 3.7
multiprocessing.spawn._main
pickle.Pickler.reducer_override # implemented in C pickler
queue.SimpleQueue.__init__ # Default C __init__ signature is wrong
select.epoll.register
random.Random.randrange # missing undocumented arg _int
random.randrange # missing undocumented arg _int
sched.Event.__doc__ # __slots__ is overridden
select.epoll.register
ssl.PROTOCOL_SSLv3 # Depends on ssl compilation
ssl.RAND_egd # Depends on openssl compilation
sys.UnraisableHookArgs # Not exported from sys

View File

@@ -60,8 +60,6 @@ logging.handlers.BaseRotatingHandler.__init__
logging.handlers.RotatingFileHandler.__init__
logging.handlers.TimedRotatingFileHandler.__init__
logging.handlers.WatchedFileHandler.__init__
macpath # module removed in 3.8
macurl2path # module removed in 3.7
multiprocessing.spawn._main
os.getgrouplist
os.sendfile
@@ -71,8 +69,8 @@ platform.uname_result.__new__
platform.uname_result._fields
platform.uname_result.processor
queue.SimpleQueue.__init__ # Default C __init__ signature is wrong
sched.Event.__doc__ # __slots__ is overridden
select.epoll.register
sched.Event.__doc__ # __slots__ is overridden
smtplib.LMTP.__init__
ssl.PROTOCOL_SSLv3 # Depends on ssl compilation
ssl.RAND_egd # Depends on openssl compilation

View File

@@ -4,6 +4,8 @@
# separator argument).
cgi.FieldStorage.__init__
cgi.parse
urllib.parse.parse_qs
urllib.parse.parse_qsl
hashlib.scrypt
os.startfile

View File

@@ -5,5 +5,7 @@
cgi.FieldStorage.__init__
cgi.parse
cgi.parse_multipart
urllib.parse.parse_qs
urllib.parse.parse_qsl
os.startfile