Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
https-orion-com
cpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Objects
unionobject.c
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Jul 29, 2021
bpo-44662: Add ability to annotate types.Union (#27214)
Show description for 8182c83
uriyyo
and
Fidget-Spinner
authored
8182c83
View commit details
Copy full SHA for 8182c83
View code at this point
Browse repository at this point
Commits on Jul 26, 2021
bpo-44732: Rename types.Union to types.UnionType (#27342)
Show description for 2b8ad9e
3 people
authored
2b8ad9e
View commit details
Copy full SHA for 2b8ad9e
View code at this point
Browse repository at this point
Commits on Jul 24, 2021
bpo-44676: Serialize the union type using only public API (GH-27323)
Show description for 435a033
serhiy-storchaka
authored
435a033
View commit details
Copy full SHA for 435a033
View code at this point
Browse repository at this point
bpo-44676: Fix reference leaks in union_reduce (GH-27332)
Show description for 8158e05
pablogsal
authored
8158e05
View commit details
Copy full SHA for 8158e05
View code at this point
Browse repository at this point
bpo-44731: Simplify the union type implementation (GH-27318)
Show description for 0828423
serhiy-storchaka
authored
0828423
View commit details
Copy full SHA for 0828423
View code at this point
Browse repository at this point
Commits on Jul 23, 2021
bpo-44676: Add ability to serialize types.Union (GH-27244)
uriyyo
authored
fe13f0b
View commit details
Copy full SHA for fe13f0b
View code at this point
Browse repository at this point
Commits on Jul 22, 2021
bpo-44653: Support typing types in parameter substitution in the union type. (GH-27247)
serhiy-storchaka
authored
2e3744d
View commit details
Copy full SHA for 2e3744d
View code at this point
Browse repository at this point
Commits on Jul 18, 2021
bpo-44633: Fix parameter substitution of the union type with wrong types. (GH-27218)
Show description for 3ea5332
serhiy-storchaka
authored
3ea5332
View commit details
Copy full SHA for 3ea5332
View code at this point
Browse repository at this point
Commits on Jul 17, 2021
bpo-44654: Refactor and clean up the union type implementation (GH-27196)
serhiy-storchaka
authored
0fd2737
View commit details
Copy full SHA for 0fd2737
View code at this point
Browse repository at this point
Commits on Jul 16, 2021
bpo-44652: Preserve natural order of args in the union type. (GH-27185)
serhiy-storchaka
authored
0cd2d51
View commit details
Copy full SHA for 0cd2d51
View code at this point
Browse repository at this point
bpo-44636: Collapse union of equal types (GH-27178)
Show description for d9f9232
serhiy-storchaka
authored
d9f9232
View commit details
Copy full SHA for d9f9232
View code at this point
Browse repository at this point
bpo-44646: Fix the hash of the union type. (#27179)
Show description for aeaa553
serhiy-storchaka
and
jdevries3133
authored
aeaa553
View commit details
Copy full SHA for aeaa553
View code at this point
Browse repository at this point
Commits on Jul 14, 2021
bpo-44632: Fix support of TypeVar in the union type (GH-27139)
Show description for a158b20
serhiy-storchaka
authored
a158b20
View commit details
Copy full SHA for a158b20
View code at this point
Browse repository at this point
bpo-44635: Convert None to NoneType in the union type constructor (GH-27136)
serhiy-storchaka
authored
b81cac0
View commit details
Copy full SHA for b81cac0
View code at this point
Browse repository at this point
bpo-44606: Fix __instancecheck__ and __subclasscheck__ for the union type. (GH-27120)
Show description for 8198905
serhiy-storchaka
authored
8198905
View commit details
Copy full SHA for 8198905
View code at this point
Browse repository at this point
Commits on Jul 6, 2021
bpo-44490: Add __parameters__ and __getitem__ to types.Union (GH-26980)
Show description for c45fa1a
3 people
authored
c45fa1a
View commit details
Copy full SHA for c45fa1a
View code at this point
Browse repository at this point
Commits on Jul 3, 2021
bpo-44553: Correct failure in tp_new for the union object (GH-27008)
pablogsal
authored
bc39614
View commit details
Copy full SHA for bc39614
View code at this point
Browse repository at this point
bpo-44553 : Implement GC methods for types.Union (GH-26993)
Fidget-Spinner
authored
1097384
View commit details
Copy full SHA for 1097384
View code at this point
Browse repository at this point
Commits on Jun 22, 2021
bpo-44483: Fix crash in union object with bad ``__module__`` (GH-26848)
Fidget-Spinner
authored
adfa1ba
View commit details
Copy full SHA for adfa1ba
View code at this point
Browse repository at this point
Commits on Jan 2, 2021
bpo-42195: Disallow isinstance/issubclass for subclasses of genericaliases in Union (GH-24059)
Show description for 49cd68f
Fidget-Spinner
authored
49cd68f
View commit details
Copy full SHA for 49cd68f
View code at this point
Browse repository at this point
Commits on Dec 13, 2020
bpo-42195: Ensure consistency of Callable's __args__ in collections.abc and typing (GH-23060)
Fidget-Spinner
authored
463c7d3
View commit details
Copy full SHA for 463c7d3
View code at this point
Browse repository at this point
Commits on Nov 9, 2020
bpo-42233: Add union type expression support for GenericAlias and fix de-duplicating of GenericAlias (GH-23077)
Fidget-Spinner
authored
4eb41d0
View commit details
Copy full SHA for 4eb41d0
View code at this point
Browse repository at this point
Commits on Oct 27, 2020
bpo-42099: Fix reference to ob_type in unionobject.c and ceval (GH-22829)
Show description for 0564aaf
nascheme
authored
0564aaf
View commit details
Copy full SHA for 0564aaf
View code at this point
Browse repository at this point
Commits on Oct 10, 2020
bpo-41991: Remove _PyObject_HasAttrId (GH-22629)
Show description for 98c4433
serhiy-storchaka
authored
98c4433
View commit details
Copy full SHA for 98c4433
View code at this point
Browse repository at this point
Commits on Sep 26, 2020
bpo-41428: Fix compiler warning in unionobject.c (GH-22416)
Show description for d73cf7c
vstinner
authored
d73cf7c
View commit details
Copy full SHA for d73cf7c
View code at this point
Browse repository at this point
Commits on Sep 23, 2020
bpo-41428: Fix compiler warnings in unionobject.c (GH-22388)
Show description for d67de0a
vstinner
authored
d67de0a
View commit details
Copy full SHA for d67de0a
View code at this point
Browse repository at this point
Commits on Sep 9, 2020
bpo-41428: Implementation for PEP 604 (GH-21515)
Show description for 1b4552c
maggiemoss
and
pablogsal
authored
1b4552c
View commit details
Copy full SHA for 1b4552c
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.