# Uncategorised, from Python 3.12
argparse.BooleanOptionalAction.__init__
array.array.__class_getitem__
asyncio.BaseEventLoop.create_connection
asyncio.BaseEventLoop.shutdown_default_executor
asyncio.Handle.get_context
asyncio.StreamWriter.start_tls
asyncio.Task.get_context
asyncio.base_events.BaseEventLoop.create_connection
asyncio.base_events.BaseEventLoop.shutdown_default_executor
asyncio.constants.THREAD_JOIN_TIMEOUT
asyncio.create_eager_task_factory
asyncio.eager_task_factory
asyncio.events.Handle.get_context
asyncio.streams.StreamWriter.start_tls
asyncio.tasks.Task.get_context
asyncio.tasks.__all__
asyncio.tasks.create_eager_task_factory
asyncio.tasks.eager_task_factory
collections.UserDict.get
configparser.ParsingError.__init__
configparser.RawConfigParser.readfp
configparser.__all__
enum.Enum.__signature__
enum.EnumMeta.__call__
enum.EnumType.__call__
enum.property.member
genericpath.__all__
genericpath.islink
gzip.GzipFile.filename
http.client.HTTPConnection.get_proxy_response_headers
imaplib.IMAP4_SSL.__init__
importlib.abc.Finder
importlib.abc.Loader.module_repr
importlib.abc.MetaPathFinder.find_module
importlib.abc.PathEntryFinder.find_loader
importlib.abc.PathEntryFinder.find_module
importlib.abc.__all__
importlib.find_loader
importlib.machinery.BuiltinImporter.find_module
importlib.machinery.BuiltinImporter.module_repr
importlib.machinery.FrozenImporter.find_module
importlib.machinery.FrozenImporter.module_repr
importlib.machinery.PathFinder.find_module
importlib.machinery.WindowsRegistryFinder.find_module
importlib.metadata.PackageMetadata.get
importlib.metadata.SelectableGroups
importlib.metadata._meta.PackageMetadata.get
importlib.metadata._meta.SimplePath.__truediv__
importlib.metadata._meta.SimplePath.parent
importlib.resources.files
importlib.util.module_for_loader
importlib.util.set_loader
importlib.util.set_package
logging.Logger.getChildren
logging.__all__
logging.getHandlerByName
logging.getHandlerNames
ntpath.__all__
ntpath.isjunction
ntpath.splitroot
os.DirEntry.is_junction
os.path.__all__
os.path.isjunction
os.path.splitroot
pathlib.Path.__init__
pathlib.PurePath.__init__
pathlib.PurePath.is_relative_to
pathlib.PurePath.relative_to
pdb.Pdb.set_convenience_variable
poplib.POP3_SSL.__init__
posixpath.__all__
posixpath.isjunction
posixpath.splitroot
pydoc.HTMLRepr.__init__
pydoc.TextRepr.__init__
smtplib.SMTP.starttls
smtplib.SMTP_SSL.__init__
sqlite3.Connection.autocommit
sqlite3.Connection.getconfig
sqlite3.Connection.setconfig
sqlite3.LEGACY_TRANSACTION_CONTROL
sqlite3.SQLITE_DBCONFIG_DEFENSIVE
sqlite3.SQLITE_DBCONFIG_DQS_DDL
sqlite3.SQLITE_DBCONFIG_DQS_DML
sqlite3.SQLITE_DBCONFIG_ENABLE_FKEY
sqlite3.SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER
sqlite3.SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION
sqlite3.SQLITE_DBCONFIG_ENABLE_QPSG
sqlite3.SQLITE_DBCONFIG_ENABLE_TRIGGER
sqlite3.SQLITE_DBCONFIG_ENABLE_VIEW
sqlite3.SQLITE_DBCONFIG_LEGACY_ALTER_TABLE
sqlite3.SQLITE_DBCONFIG_LEGACY_FILE_FORMAT
sqlite3.SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE
sqlite3.SQLITE_DBCONFIG_RESET_DATABASE
sqlite3.SQLITE_DBCONFIG_TRIGGER_EQP
sqlite3.SQLITE_DBCONFIG_TRUSTED_SCHEMA
sqlite3.SQLITE_DBCONFIG_WRITABLE_SCHEMA
sqlite3.dbapi2.Connection.autocommit
sqlite3.dbapi2.Connection.getconfig
sqlite3.dbapi2.Connection.setconfig
sqlite3.dbapi2.LEGACY_TRANSACTION_CONTROL
sqlite3.dbapi2.SQLITE_DBCONFIG_DEFENSIVE
sqlite3.dbapi2.SQLITE_DBCONFIG_DQS_DDL
sqlite3.dbapi2.SQLITE_DBCONFIG_DQS_DML
sqlite3.dbapi2.SQLITE_DBCONFIG_ENABLE_FKEY
sqlite3.dbapi2.SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER
sqlite3.dbapi2.SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION
sqlite3.dbapi2.SQLITE_DBCONFIG_ENABLE_QPSG
sqlite3.dbapi2.SQLITE_DBCONFIG_ENABLE_TRIGGER
sqlite3.dbapi2.SQLITE_DBCONFIG_ENABLE_VIEW
sqlite3.dbapi2.SQLITE_DBCONFIG_LEGACY_ALTER_TABLE
sqlite3.dbapi2.SQLITE_DBCONFIG_LEGACY_FILE_FORMAT
sqlite3.dbapi2.SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE
sqlite3.dbapi2.SQLITE_DBCONFIG_RESET_DATABASE
sqlite3.dbapi2.SQLITE_DBCONFIG_TRIGGER_EQP
sqlite3.dbapi2.SQLITE_DBCONFIG_TRUSTED_SCHEMA
sqlite3.dbapi2.SQLITE_DBCONFIG_WRITABLE_SCHEMA
sqlite3.dbapi2.enable_shared_cache
sqlite3.enable_shared_cache
sre_parse.Tokenizer.checkgroupname
sre_parse.expand_template
sre_parse.parse_template
ssl.OP_LEGACY_SERVER_CONNECT
ssl.Options.OP_LEGACY_SERVER_CONNECT
ssl.RAND_pseudo_bytes
ssl.wrap_socket
turtle.RawTurtle.teleport
turtle.TNavigator.teleport
turtle.TPen.teleport
turtle.__all__
turtle.teleport
typing.ParamSpec.__mro_entries__
typing.ParamSpecArgs.__mro_entries__
typing.ParamSpecKwargs.__mro_entries__
typing.SupportsAbs.__type_params__
typing.SupportsRound.__type_params__
typing.TypeVar.__mro_entries__
typing.TypeVarTuple.__mro_entries__
typing._ProtocolMeta.__init__
typing.__all__
typing.override
typing_extensions.Protocol
typing_extensions.SupportsAbs.__type_params__
typing_extensions.SupportsRound.__type_params__
unittest.TestLoader.loadTestsFromModule
unittest.TestProgram.__init__
unittest.TestResult.addDuration
unittest.TextTestResult.__init__
unittest.TextTestRunner.__init__
unittest.load_tests
unittest.loader.TestLoader.loadTestsFromModule
unittest.main.TestProgram.__init__
unittest.mock.NonCallableMock.__new__
unittest.result.TestResult.addDuration
unittest.runner.TextTestResult.__init__
unittest.runner.TextTestRunner.__init__
urllib.request.AbstractHTTPHandler.__init__
urllib.request.HTTPSHandler.__init__
zipfile.Path.glob
zipfile.Path.is_symlink
zipfile.Path.match
zipfile.Path.relative_to
zipfile.Path.rglob

# Errors that also existed on Python 3.11
_collections_abc.AsyncGenerator.ag_await
_collections_abc.AsyncGenerator.ag_code
_collections_abc.AsyncGenerator.ag_frame
_collections_abc.AsyncGenerator.ag_running
_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
configparser.LegacyInterpolation.__init__
enum.Enum.__init__
ipaddress._BaseNetwork.broadcast_address
ipaddress._BaseNetwork.hostmask
ipaddress.IPv4Interface.hostmask
ipaddress.IPv6Interface.hostmask
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
queue.SimpleQueue.__init__
sys.UnraisableHookArgs  # Not exported from sys
tkinter._VersionInfoType.__doc__
typing.NewType.__call__
typing.NewType.__mro_entries__
weakref.WeakValueDictionary.update

# ==========
# 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

# Pos-only parameters had different "names" in different Python versions:
zoneinfo.ZoneInfo.from_file

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

_ast.ImportFrom.level  # None on the class, but never None on instances
_collections_abc.AsyncGenerator.athrow  # async at runtime, deliberately not in the stub, see #7491. Pos-only differences also.
_weakref.ProxyType.__reversed__  # Doesn't really exist
argparse._MutuallyExclusiveGroup.add_mutually_exclusive_group  # deprecated, forwards arguments to super
ast.ImportFrom.level  # None on the class, but never None on instances
asyncio.base_events.BaseEventLoop.subprocess_exec # BaseEventLoop adds several parameters and stubtest fails on the difference if we add them
asyncio.BaseEventLoop.subprocess_exec # BaseEventLoop adds several parameters and stubtest fails on the difference if we add them
builtins.property.__set_name__  # Doesn't actually exist
dataclasses.KW_ONLY  # white lies around defaults
enum.auto.__init__  # The stub for enum.auto is nothing like the implementation
enum.auto.value  # The stub for enum.auto is nothing like the implementation
fractions.Fraction.__new__  # overload is too complicated for stubtest to resolve
ftplib.FTP.trust_server_pasv_ipv4_address  # Dangerous to use, intentionally undocumented, intentionally missing from typeshed. #6154
functools._lru_cache_wrapper.cache_parameters  # Cannot be detected statically
functools.cached_property.__set__  # Stub is a white lie; see comments in the stub
hmac.new  # Stub is a white lie; see comments in the stub
http.HTTPMethod.description  # mutable instance attribute at runtime but we pretend it's a property
inspect._ParameterKind.description  # Still exists, but stubtest can't see it
os.PathLike.__class_getitem__  # PathLike is a protocol; we don't expect all PathLike classes to implement class_getitem
pickle.Pickler.reducer_override  # implemented in C pickler
types.CodeType.replace  # stubtest thinks default values are None but None doesn't work at runtime
types.GenericAlias.__call__  # Would be complicated to fix properly, Any could silence problems. #6392
types.GenericAlias.__getattr__
types.GenericAlias.__mro_entries__
weakref.ProxyType.__reversed__  # Doesn't really exist

# 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__
asyncio.futures.Future.__init__
asyncio.Future.__init__
contextvars.Context.__init__
queue.SimpleQueue.__init__
xml.etree.ElementTree.XMLParser.__init__
xml.etree.cElementTree.XMLParser.__init__

# Treated an alias of a typing class in the stubs,
# they are generic to type checkers anyway.
contextlib.AbstractAsyncContextManager.__class_getitem__
contextlib.AbstractContextManager.__class_getitem__

# platform.uname_result's processor field is now dynamically made to exist
platform.uname_result.__match_args__
platform.uname_result.__new__
platform.uname_result.processor

# Runtime has *args, **kwargs, but will error if any are supplied
unittest.TestCase.__init_subclass__
unittest.case.TestCase.__init_subclass__

# Super-special typing primitives
typing\._SpecialForm.*
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
typing_extensions\.Final
typing\.NamedTuple
typing\.LiteralString
typing\.Annotated

# Omit internal _KEEP argument
tarfile.TarInfo.replace
