- Make
typing_extensions.TypeAliasType's__module__attribute writable. Backport of CPython PR #149172. - Fix setting of
__required_keys__and__optional_keys__when inheriting keys with the same name. - Add support for
AsyncIterator,io.Reader,io.Writerandos.PathLikeprotocols as bases for other protocls. - Fix incorrect behaviour on Python 3.9 and Python 3.10 that meant that calling
isinstancewithtyping_extensions.Concatenate[...]ortyping_extensions.Unpack[...]as the first argument could have a different result in some situations depending on whether or not a profiling function had been set usingsys.setprofile. This affected both CPython and PyPy implementations. Patch by Brian Schubert. - Fix
__init_subclass__()behavior in the presence of multiple inheritance involving an@deprecated-decorated base class. Backport of CPython PR #138210 by Brian Schubert. - Raise
TypeErrorwhen attempting to subclasstyping_extensions.ParamSpecon Python 3.9. Thetypingimplementation has always raised an error, and thetyping_extensionsimplementation has raised an error on Python 3.10+ sincetyping_extensionsv4.6.0. Patch by Brian Schubert. - Add
boundand variance parameters toTypeVarTuple.