gh-105499: Merge typing.Union and types.UnionType by JelleZijlstra · Pull Request #105511 · python/cpython · GitHub

github.com

Tin mới

JelleZijlstra:unifyunion

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

Merge typing.Union and types.UnionType #105499

Unify UnionType and Union

test_typing succeeds

Merge remote-tracking branch 'upstream/main' into unifyunion

View reviewed changes

No more typing._make_union

cpython/Lib/functools.py

awaiting core review

View reviewed changes

Learn more about hiding disruptive comments

The reason will be displayed to describe this comment to others. Learn more.

simplify, extend docs

View reviewed changes

Merge remote-tracking branch 'upstream/main' into unifyunion

Merge branch 'main' into unifyunion

Passing Functions as Tools ollama/ollama-python#321

Merge branch 'main' into unifyunion

🔨 test-with-buildbots

autosummary: Update test for Python 3.14.0a5+ sphinx-doc/sphinx#13418

Python 3.14 CI failures due to httpcore issue urllib3/urllib3#3576

Update typing.Union and types.UnionType definitions for 3.14 python/typeshed#13740

3.14 regression: Union[int, str] is Union[int, str] does not hold #131933

typing: Remove an unused function

gh-105499: typing: Remove an unused function #131946

: typing: Remove an unused function (

typing.Union does not support attribute assignment post gh-105511 #132139

typing._UnionGenericAlias is unhashable in 3.14 #133925

Initial fixes for Python 3.14 pylint-dev/astroid#2747

: Merge typing.Union and type…

: Merge typing.Union and type…

Literal[...] deduplication silently skips when values are unhashable #153896