_ast.ImportFrom.level
_ast.Tuple.dims
_codecs.unregister
_collections_abc.AsyncGenerator.ag_await
_collections_abc.AsyncGenerator.ag_code
_collections_abc.AsyncGenerator.ag_frame
_collections_abc.AsyncGenerator.ag_running
_collections_abc.AsyncGenerator.athrow  # async at runtime, deliberately not in the stub, see #7491. Pos-only differences also.
_collections_abc.AsyncIterable.__class_getitem__
_collections_abc.Awaitable.__class_getitem__
_collections_abc.Container.__class_getitem__
_collections_abc.ItemsView.__reversed__
_collections_abc.Iterable.__class_getitem__
_collections_abc.KeysView.__reversed__
_collections_abc.MappingView.__class_getitem__
_collections_abc.ValuesView.__reversed__
_csv.Reader
_csv.Writer
_imp.find_frozen
_imp.get_frozen_object
_imp.source_hash
_operator.attrgetter.__vectorcalloffset__
_operator.itemgetter.__vectorcalloffset__
_weakref.ProxyType.__reversed__  # Doesn't really exist
argparse._AppendConstAction.__init__
argparse._MutuallyExclusiveGroup.add_mutually_exclusive_group
argparse._StoreConstAction.__init__
ast.ImportFrom.level
ast.Tuple.dims
ast.main
asynchat.__warningregistry__  # Removal planned for 3.12, can add if someone needs this
asyncio.AbstractEventLoop.connect_accepted_socket
asyncio.AbstractEventLoop.create_connection
asyncio.AbstractEventLoop.create_server
asyncio.AbstractEventLoop.create_task
asyncio.AbstractEventLoop.create_unix_connection
asyncio.AbstractEventLoop.create_unix_server
asyncio.AbstractEventLoop.sock_recvfrom
asyncio.AbstractEventLoop.sock_recvfrom_into
asyncio.AbstractEventLoop.sock_sendto
asyncio.AbstractEventLoop.start_tls
asyncio.Barrier
asyncio.BaseEventLoop.connect_accepted_socket
asyncio.BaseEventLoop.create_connection
asyncio.BaseEventLoop.create_server
asyncio.BaseEventLoop.create_task
asyncio.BaseEventLoop.start_tls
asyncio.BoundedSemaphore.__init__
asyncio.BrokenBarrierError
asyncio.Condition.__init__
asyncio.Event.__init__
asyncio.Future.__init__
asyncio.Lock.__init__
asyncio.Queue.__init__
asyncio.Runner
asyncio.Semaphore.__init__
asyncio.Server.__init__
asyncio.StreamWriter.start_tls
asyncio.TaskGroup.create_task
asyncio.Timeout
asyncio.base_events.BaseEventLoop.connect_accepted_socket
asyncio.base_events.BaseEventLoop.create_connection
asyncio.base_events.BaseEventLoop.create_server
asyncio.base_events.BaseEventLoop.create_task
asyncio.base_events.BaseEventLoop.start_tls
asyncio.base_events.Server.__init__
asyncio.constants.FLOW_CONTROL_HIGH_WATER_SSL_READ
asyncio.constants.FLOW_CONTROL_HIGH_WATER_SSL_WRITE
asyncio.constants.SSL_SHUTDOWN_TIMEOUT
asyncio.create_task
asyncio.events.AbstractEventLoop.connect_accepted_socket
asyncio.events.AbstractEventLoop.create_connection
asyncio.events.AbstractEventLoop.create_server
asyncio.events.AbstractEventLoop.create_task
asyncio.events.AbstractEventLoop.create_unix_connection
asyncio.events.AbstractEventLoop.create_unix_server
asyncio.events.AbstractEventLoop.sock_recvfrom
asyncio.events.AbstractEventLoop.sock_recvfrom_into
asyncio.events.AbstractEventLoop.sock_sendto
asyncio.events.AbstractEventLoop.start_tls
asyncio.exceptions.BrokenBarrierError
asyncio.exceptions.__all__
asyncio.futures.Future.__init__
asyncio.locks.Barrier
asyncio.locks.BoundedSemaphore.__init__
asyncio.locks.Condition.__init__
asyncio.locks.Event.__init__
asyncio.locks.Lock.__init__
asyncio.locks.Semaphore.__init__
asyncio.locks.__all__
asyncio.mixins._LoopBoundMixin.__init__
asyncio.proactor_events.BaseProactorEventLoop.sock_recvfrom
asyncio.proactor_events.BaseProactorEventLoop.sock_recvfrom_into
asyncio.proactor_events.BaseProactorEventLoop.sock_sendto
asyncio.queues.Queue.__init__
asyncio.runners.Runner
asyncio.runners.__all__
asyncio.selector_events.BaseSelectorEventLoop.sock_recvfrom
asyncio.selector_events.BaseSelectorEventLoop.sock_recvfrom_into
asyncio.selector_events.BaseSelectorEventLoop.sock_sendto
asyncio.sslproto.AppProtocolState
asyncio.sslproto.SSLAgainErrors
asyncio.sslproto.SSLProtocol.__init__
asyncio.sslproto.SSLProtocol._write_appdata
asyncio.sslproto.SSLProtocol.buffer_updated
asyncio.sslproto.SSLProtocol.get_buffer
asyncio.sslproto.SSLProtocol.max_size
asyncio.sslproto.SSLProtocolState
asyncio.sslproto._SSLProtocolTransport.get_read_buffer_limits
asyncio.sslproto._SSLProtocolTransport.get_read_buffer_size
asyncio.sslproto._SSLProtocolTransport.set_read_buffer_limits
asyncio.sslproto.add_flowcontrol_defaults
asyncio.streams.StreamWriter.start_tls
asyncio.taskgroups.TaskGroup.create_task
asyncio.tasks.create_task
asyncio.timeout
asyncio.timeout_at
bdb.Breakpoint.clearBreakpoints
binascii.a2b_base64
builtins.BaseException.add_note
builtins.dict.get
builtins.property.__set_name__  # Doesn't actually exist
concurrent.futures.ProcessPoolExecutor.__init__
concurrent.futures.process.ProcessPoolExecutor.__init__
concurrent.futures.process._ResultItem.__init__
concurrent.futures.process._process_worker
concurrent.futures.process._sendback_result
configparser.LegacyInterpolation.__init__
contextlib.AbstractAsyncContextManager.__class_getitem__
contextlib.AbstractContextManager.__class_getitem__
contextvars.Context.__init__
dataclasses.KW_ONLY
dataclasses.field
dataclasses.make_dataclass
dis.Bytecode.__init__
dis.Bytecode.from_traceback
dis.dis
dis.disassemble
dis.disco
dis.distb
dis.get_instructions
distutils.dist.DistributionMetadata.set_classifiers
distutils.dist.DistributionMetadata.set_keywords
distutils.dist.DistributionMetadata.set_platforms
distutils.util.get_host_platform
enum.Enum.__init__
enum.Enum._generate_next_value_
enum.Flag.__iter__
enum.Flag.__len__
enum.Flag.__rand__
enum.Flag.__ror__
enum.Flag.__rxor__
enum.StrEnum.value
enum._EnumDict.update
fractions.Fraction.__int__
fractions.Fraction.__new__  # overload is too complicated for stubtest to resolve
ftplib.FTP.trust_server_pasv_ipv4_address
functools.partial.__vectorcalloffset__
gettext.install
hmac.new  # Stub is a white lie; see comments in the stub
http.HTTPMethod.description
http.server.SimpleHTTPRequestHandler.__init__  # *args is expanded
imp.get_frozen_object
importlib.resources.Resource
inspect._ParameterKind.description
ipaddress.IPv4Interface.hostmask
ipaddress.IPv6Interface.hostmask
ipaddress._BaseNetwork.broadcast_address
ipaddress._BaseNetwork.hostmask
locale.getencoding
logging.getLevelNamesMapping
logging.handlers.SysLogHandler.createSocket
multiprocessing.managers.SharedMemoryServer.create
multiprocessing.managers.SharedMemoryServer.list_segments
multiprocessing.managers.SharedMemoryServer.public
multiprocessing.managers.SharedMemoryServer.release_segment
multiprocessing.managers.SharedMemoryServer.shutdown
multiprocessing.managers.SharedMemoryServer.track_segment
multiprocessing.spawn._main
operator.attrgetter.__vectorcalloffset__
operator.itemgetter.__vectorcalloffset__
os.popen
pickle.Pickler.reducer_override  # implemented in C pickler
# platform.uname_result's processor field is now dynamically made to exist
platform.uname_result.__match_args__
platform.uname_result.__new__
platform.uname_result._fields
platform.uname_result.processor
pydoc.HTMLDoc.heading
pydoc.HTMLDoc.multicolumn
pydoc.HTMLDoc.section
pyexpat.XMLParserType.SkippedEntityHandler
pyexpat.XMLParserType.intern
pyexpat.errors.XML_ERROR_AMPLIFICATION_LIMIT_BREACH
pyexpat.errors.XML_ERROR_INVALID_ARGUMENT
pyexpat.errors.XML_ERROR_NO_BUFFER
pyexpat.errors.XML_ERROR_RESERVED_NAMESPACE_URI
pyexpat.errors.XML_ERROR_RESERVED_PREFIX_XML
pyexpat.errors.XML_ERROR_RESERVED_PREFIX_XMLNS
queue.SimpleQueue.__init__
re.Pattern.scanner  # Undocumented and not useful. #6405
re.T
re.TEMPLATE
re.template
shutil.rmtree
socketserver.UDPServer.allow_reuse_port
sqlite3.Blob
sqlite3.Blob.seek
sqlite3.dbapi2.Blob
sqlite3.dbapi2.Blob.seek
sre_compile.CALL
sre_compile.SRE_FLAG_TEMPLATE
sre_constants.CALL
sre_constants.SRE_FLAG_TEMPLATE
sre_parse.CALL
sre_parse.SRE_FLAG_TEMPLATE
sre_parse.Tokenizer.checkgroupname
sre_parse.Verbose
string.Template.get_identifiers
string.Template.is_valid
subprocess.getoutput
subprocess.getstatusoutput
symtable.SymbolTable.has_exec
sys.UnraisableHookArgs  # Not exported from sys
sys.exception
tempfile.SpooledTemporaryFile.detach
tempfile.SpooledTemporaryFile.read1
tempfile.SpooledTemporaryFile.readinto
tempfile.SpooledTemporaryFile.readinto1
tkinter._VersionInfoType.__doc__
traceback.StackSummary.format_frame_summary
traceback.TracebackException.__init__
traceback.TracebackException.format
traceback.TracebackException.print
types.ClassMethodDescriptorType.__get__
types.CodeType.co_exceptiontable
types.CodeType.co_qualname
types.CoroutineType.cr_suspended
types.GeneratorType.gi_suspended
types.GenericAlias.__call__  # Would be complicated to fix properly, Any could silence problems. #6392
types.GenericAlias.__getattr__
types.GenericAlias.__mro_entries__
types.MethodDescriptorType.__get__
types.WrapperDescriptorType.__get__
typing.ForwardRef._evaluate
typing.NewType.__call__
typing.NewType.__mro_entries__
typing.ParamSpec.__typing_subst__
typing.TypeVar.__typing_subst__
typing.TypeVarTuple.__typing_subst__
typing._SpecialForm.__call__
typing._SpecialForm.__init__
typing._SpecialForm.__mro_entries__
typing._TypedDict.__delitem__
typing._TypedDict.__ior__
typing._TypedDict.__or__
typing._TypedDict.copy
typing._TypedDict.items
typing._TypedDict.keys
typing._TypedDict.pop
typing._TypedDict.setdefault
typing._TypedDict.update
typing._TypedDict.values
unicodedata.UCD.is_normalized
unittest.TestCase._addSkip
unittest.case.TestCase._addSkip
unittest.doModuleCleanups
urllib.request.FancyURLopener.http_error_308
urllib.request.HTTPRedirectHandler.http_error_308
weakref.ProxyType.__reversed__  # Doesn't really exist
weakref.WeakValueDictionary.update
wsgiref.types.InputStream.read
wsgiref.types.InputStream.readline
wsgiref.types.InputStream.readlines
wsgiref.types.StartResponse.__call__
wsgiref.types.WSGIApplication
wsgiref.types.WSGIEnvironment.get
wsgiref.types._Readable.read
xml.parsers.expat.XMLParserType.SkippedEntityHandler
xml.parsers.expat.XMLParserType.intern
xml.parsers.expat.errors.XML_ERROR_AMPLIFICATION_LIMIT_BREACH
xml.parsers.expat.errors.XML_ERROR_INVALID_ARGUMENT
xml.parsers.expat.errors.XML_ERROR_NO_BUFFER
xml.parsers.expat.errors.XML_ERROR_RESERVED_NAMESPACE_URI
xml.parsers.expat.errors.XML_ERROR_RESERVED_PREFIX_XML
xml.parsers.expat.errors.XML_ERROR_RESERVED_PREFIX_XMLNS
xml.sax.handler.LexicalHandler
xmlrpc.server.SimpleXMLRPCRequestHandler.rpc_paths
zipfile.Path.stem
zipfile.Path.suffix
zipfile.Path.suffixes
zipfile.ZipFile.__init__
zipfile.ZipFile.mkdir

# stubtest complains that in 3.10 the default argument is inconsistent with the annotation,
# but in 3.10+ calling the function without the default argument is in fact deprecated,
# so it's better to ignore stubtest
ssl.SSLContext.__new__
ssl._create_unverified_context

# ==========
# Related to positional-only arguments
# ==========

# These are not positional-only at runtime, but we treat them
# as positional-only to match dict.
_collections_abc.MutableMapping.pop
_collections_abc.MutableMapping.setdefault

# typing.IO uses positional-or-keyword arguments, but in the stubs we prefer
# to mark these as positional-only for compatibility with existing sub-classes.
typing.BinaryIO.write
typing.IO.read
typing.IO.readline
typing.IO.readlines
typing.IO.seek
typing.IO.truncate
typing.IO.write
typing.IO.writelines

# positional-only complaints caused by differences between typing aliases and the "real" classes in the stdlib
_collections_abc.Coroutine.send
_collections_abc.Coroutine.throw
_collections_abc.Generator.send
_collections_abc.Generator.throw

# typing.SupportsRound.__round__  # pos-or-kw at runtime, but we pretend it's pos-only in the stub so that e.g. float.__round__ satisfies the interface
types.DynamicClassAttribute..*  # In the stub we pretend it's an alias for property, but it has positional-only differences

# These three have a pos-or-keyword first parameter at runtime, but deliberately have a pos-only first parameter in the stub. #6812
posixpath.join
ntpath.join
os.path.join

# ==========
# Allowlist entries that cannot or should not be fixed
# ==========

# Inherits __init__ from typing.Protocol
importlib.abc.Traversable.__init__
importlib.metadata.EntryPoint.__init__
importlib.metadata.PackageMetadata.__init__
importlib.metadata._meta.PackageMetadata.__init__
importlib.metadata._meta.SimplePath.__init__
typing.SupportsAbs.__init__
typing.SupportsBytes.__init__
typing.SupportsComplex.__init__
typing.SupportsFloat.__init__
typing.SupportsIndex.__init__
typing.SupportsInt.__init__
typing.SupportsRound.__init__
wsgiref.types.ErrorStream.__init__
wsgiref.types.FileWrapper.__call__
wsgiref.types.FileWrapper.__init__
wsgiref.types.InputStream.__init__
wsgiref.types.StartResponse.__init__
wsgiref.types._Readable.__init__

# C signature is broader than what is actually accepted
ast.Bytes.__new__
ast.Ellipsis.__new__
ast.ExtSlice.__new__
ast.Index.__new__
ast.NameConstant.__new__
ast.Num.__new__
ast.Str.__new__
contextvars.Context.__init__
queue.SimpleQueue.__init__
xml.etree.ElementTree.XMLParser.__init__
xml.etree.cElementTree.XMLParser.__init__

os.PathLike.__class_getitem__  # PathLike is a protocol; we don't expect all PathLike classes to implement class_getitem
ssl.PROTOCOL_SSLv3  # Depends on ssl compilation
ssl.RAND_egd  # Depends on openssl compilation
types.CodeType.replace  # stubtest thinks default values are None but None doesn't work at runtime

# These enums derive from (str, Enum). See comment in py3_common.txt
pstats.SortKey.__new__
tkinter.EventType.__new__
