Tin mới
GitHub CopilotWrite better code with AI
GitHub Copilot appDirect agents from issue to merge
CodespacesInstant dev environments
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
GitHub SponsorsFund open source developers
Copilot for BusinessEnterprise-grade AI features
Premium SupportEnterprise-grade 24/7 support
typing._UnionGenericAlias is unhashable in 3.14 #133925
: Make typing._UnionGenericAlias hashable
Learn more about hiding disruptive comments
The reason will be displayed to describe this comment to others. Learn more.
I think that this is purely about the _UnionGenericAlias class itself, not _UnionGenericAlias instances.
hash should equal that of Union
: Make typing._UnionGenericAlias hashable (
bedevere-app Bot commented May 12, 2025
GH-133936 is a backport of this pull request to the 3.14 branch.
: Make typing._UnionGenericAlias hashable (