]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-105499: Merge typing.Union and types.UnionType (#105511)
authorJelle Zijlstra <jelle.zijlstra@gmail.com>
Tue, 4 Mar 2025 19:44:19 +0000 (11:44 -0800)
committerGitHub <noreply@github.com>
Tue, 4 Mar 2025 19:44:19 +0000 (11:44 -0800)
commitdc6d66f44c0a25b69dfec7e4ffc4a6fa5e4feada
tree045fed4b7965d56ea45c009dad6dddb42d7be8b0
parente091520fdbcfe406e5fdcf66b7864b2b34a6726b
gh-105499: Merge typing.Union and types.UnionType (#105511)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Ken Jin <kenjin@python.org>
Co-authored-by: Carl Meyer <carl@oddbird.net>
20 files changed:
Doc/deprecations/pending-removal-in-future.rst
Doc/library/functools.rst
Doc/library/stdtypes.rst
Doc/library/types.rst
Doc/library/typing.rst
Doc/whatsnew/3.10.rst
Doc/whatsnew/3.11.rst
Include/internal/pycore_unionobject.h
Lib/functools.py
Lib/test/test_dataclasses/__init__.py
Lib/test/test_functools.py
Lib/test/test_inspect/test_inspect.py
Lib/test/test_pydoc/test_pydoc.py
Lib/test/test_types.py
Lib/test/test_typing.py
Lib/typing.py
Misc/NEWS.d/next/Library/2023-06-08-07-56-05.gh-issue-105499.7jV6cP.rst [new file with mode: 0644]
Modules/_typingmodule.c
Objects/typevarobject.c
Objects/unionobject.c