Remove unused stubtest whitelist entries (#4598)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2020-10-02 21:27:08 -07:00
committed by GitHub
parent ce3c9e05c0
commit 86b2aaf6ee
3 changed files with 0 additions and 14 deletions

View File

@@ -74,7 +74,6 @@ sre_constants.RANGE_IGNORE
ssl.PROTOCOL_SSLv3
ssl.RAND_egd
sys.UnraisableHookArgs
threading.ExceptHookArgs
types.ClassMethodDescriptorType.__get__
types.CodeType.replace
types.MethodDescriptorType.__get__

View File

@@ -34,8 +34,6 @@ collections.abc.ItemsView.__reversed__
collections.abc.KeysView.__reversed__
collections.abc.ValuesView.__reversed__
# pending merge of https://github.com/python/cpython/pull/22023
concurrent.futures.Executor.shutdown
concurrent.futures._base.Executor.shutdown
contextvars.Context.__init__
contextvars.Context.get
copy.PyStringMap
@@ -95,7 +93,6 @@ ssl.PROTOCOL_SSLv3
ssl.RAND_egd
symtable.SymbolTable.has_exec
sys.UnraisableHookArgs
threading.ExceptHookArgs
time.CLOCK_PROF
time.CLOCK_UPTIME
types.ClassMethodDescriptorType.__get__

View File

@@ -416,23 +416,13 @@ zlib.compressobj
# at runtime, they inherit Enum.__new__, not int.__new__ or
# str.__new__ as the mro would dictate, which is why stubtest balks.
enum.IntEnum.__new__
enum.IntFlag.__new__
http.HTTPStatus.__new__
inspect._ParameterKind.__new__
pstats.SortKey.__new__
re.RegexFlag.__new__
signal.Handlers.__new__
signal.Sigmasks.__new__
signal.Signals.__new__
socket.AddressFamily.__new__
socket.AddressInfo.__new__
socket.MsgFlag.__new__
socket.SocketKind.__new__
ssl.Options.__new__
ssl.TLSVersion.__new__
ssl.VerifyFlags.__new__
ssl.VerifyMode.__new__
tkinter.EventType.__new__
# ==========
# Whitelist entries that cannot or should not be fixed