Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
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 }}
python
cpython
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
2.4k
(2.4k)
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Python
optimizer_cases.c.h
on
v3.13.0
User selector
All users
Datepicker
All time
Commit history
Commits on Jun 20, 2024
[3.13] gh-119258: Backport optimizer frame fixes in GH-119365 (GH-120699)
Show description for 7c7aa5a
Fidget-Spinner
authored
7c7aa5a
View commit details
Copy full SHA for 7c7aa5a
View code at this point
Browse repository at this point
Commits on Jun 19, 2024
[3.13] gh-120437: Fix `_CHECK_STACK_SPACE` optimization problems introduced in gh-118322 (GH-120712) (#120747)
Show description for ae04b6f
Zheaoli
and
Fidget-Spinner
authored
ae04b6f
View commit details
Copy full SHA for ae04b6f
View code at this point
Browse repository at this point
Commits on Jun 1, 2024
[3.13] gh-119821: Support non-dict globals in LOAD_FROM_DICT_OR_GLOBALS (#119822) (#119889)
Show description for a055984
JelleZijlstra
authored
a055984
View commit details
Copy full SHA for a055984
View code at this point
Browse repository at this point
Commits on May 4, 2024
GH-118095: Use broader specializations of CALL in tier 1, for better tier 2 support of calls. (GH-118322)
Show description for 1ab6356
markshannon
authored
1ab6356
View commit details
Copy full SHA for 1ab6356
View code at this point
Browse repository at this point
GH-113464: Remove the extra jump via `_SIDE_EXIT` in `_EXIT_TRACE` (GH-118545)
markshannon
authored
da2cfc4
View commit details
Copy full SHA for da2cfc4
View code at this point
Browse repository at this point
Commits on May 2, 2024
GH-117442: Check eval-breaker at start (rather than end) of tier 2 loops (GH-118482)
markshannon
authored
67bba9d
View commit details
Copy full SHA for 67bba9d
View code at this point
Browse repository at this point
Commits on Apr 30, 2024
GH-118095: Add tier 2 support for YIELD_VALUE (GH-118380)
markshannon
authored
5b05d45
View commit details
Copy full SHA for 5b05d45
View code at this point
Browse repository at this point
Commits on Apr 29, 2024
GH-118095: Allow a variant of RESUME_CHECK in tier 2 (GH-118286)
markshannon
authored
ab6eda0
View commit details
Copy full SHA for ab6eda0
View code at this point
Browse repository at this point
Commits on Apr 26, 2024
GH-118095: Add dynamic exit support and FOR_ITER_GEN support to tier 2 (GH-118279)
markshannon
authored
3e06c7f
View commit details
Copy full SHA for 3e06c7f
View code at this point
Browse repository at this point
Commits on Apr 25, 2024
GH-118095: Handle `RETURN_GENERATOR` in tier 2 (GH-118180)
markshannon
authored
f180b31
View commit details
Copy full SHA for f180b31
View code at this point
Browse repository at this point
Commits on Apr 22, 2024
GH-115480: Reduce guard strength for binary ops when type of one operand is known already (GH-118050)
markshannon
authored
a6647d1
View commit details
Copy full SHA for a6647d1
View code at this point
Browse repository at this point
Commits on Apr 18, 2024
GH-115419: Tidy up tier 2 optimizer. Merge peephole pass into main pass (GH-117997)
markshannon
authored
e32f6e9
View commit details
Copy full SHA for e32f6e9
View code at this point
Browse repository at this point
Commits on Apr 3, 2024
gh-116168: Remove extra `_CHECK_STACK_SPACE` uops (#117242)
Show description for 1c43468
lazorchakp
authored
1c43468
View commit details
Copy full SHA for 1c43468
View code at this point
Browse repository at this point
Commits on Apr 2, 2024
GH-115776: Embed the values array into the object, for "normal" Python objects. (GH-116115)
markshannon
authored
c32dc47
View commit details
Copy full SHA for c32dc47
View code at this point
Browse repository at this point
Commits on Mar 26, 2024
GH-116422: Tier2 hot/cold splitting (GH-116813)
Show description for bf82f77
markshannon
authored
bf82f77
View commit details
Copy full SHA for bf82f77
View code at this point
Browse repository at this point
Commits on Mar 24, 2024
gh-117176: Fix compiler warning in Python/optimizer_bytecodes.c (GH-117199)
Eclips4
authored
eebea7e
View commit details
Copy full SHA for eebea7e
View code at this point
Browse repository at this point
Commits on Mar 21, 2024
gh-117045: Add code object to function version cache (#117028)
Show description for 570a82d
gvanrossum
authored
570a82d
View commit details
Copy full SHA for 570a82d
View code at this point
Browse repository at this point
Commits on Mar 20, 2024
GH-117066: Tier 2 optimizer: Don't throw away good traces if we can't optimize them perfectly. (GH-117067)
markshannon
authored
63289b9
View commit details
Copy full SHA for 63289b9
View code at this point
Browse repository at this point
Commits on Mar 18, 2024
Cleanup tier2 debug output (#116920)
Show description for 76d0868
gvanrossum
authored
76d0868
View commit details
Copy full SHA for 76d0868
View code at this point
Browse repository at this point
Commits on Mar 14, 2024
GH-116422: Factor out eval breaker checks at end of calls into its own micro-op. (GH-116817)
markshannon
authored
61e54bf
View commit details
Copy full SHA for 61e54bf
View code at this point
Browse repository at this point
Commits on Mar 13, 2024
gh-115419: Change default sym to not_null (GH-116562)
Fidget-Spinner
authored
617aca9
View commit details
Copy full SHA for 617aca9
View code at this point
Browse repository at this point
Commits on Mar 11, 2024
GH-116468: Use constants instead of `oparg` in stack effects when `oparg` is known to be a constant. (GH-116469)
markshannon
authored
4e5df20
View commit details
Copy full SHA for 4e5df20
View code at this point
Browse repository at this point
Commits on Mar 7, 2024
gh-116381: Remove bad specializations, add fail stats (GH-116464)
Show description for 41457c7
Fidget-Spinner
authored
41457c7
View commit details
Copy full SHA for 41457c7
View code at this point
Browse repository at this point
gh-116420: Fix unused var compilation warnings (GH-116466)
Show description for 4298d69
Fidget-Spinner
authored
4298d69
View commit details
Copy full SHA for 4298d69
View code at this point
Browse repository at this point
Commits on Mar 6, 2024
gh-116381: Specialize CONTAINS_OP (GH-116385)
Show description for 7114cf2
Fidget-Spinner
and
blurb-it[bot]
authored
7114cf2
View commit details
Copy full SHA for 7114cf2
View code at this point
Browse repository at this point
GH-113710: Tier 2 optimizer: check the function instead of checking globals. (GH-116410)
markshannon
authored
27858e2
View commit details
Copy full SHA for 27858e2
View code at this point
Browse repository at this point
GH-115687: Most comparisons create Booleans, so propagate that information (GH-116360)
Show description for 33c0aa3
markshannon
authored
33c0aa3
View commit details
Copy full SHA for 33c0aa3
View code at this point
Browse repository at this point
Commits on Mar 5, 2024
GH-115685: Split `_TO_BOOL_ALWAYS_TRUE` into micro-ops (GH-116352)
markshannon
authored
23db9c6
View commit details
Copy full SHA for 23db9c6
View code at this point
Browse repository at this point
GH-115819: Eliminate Boolean guards when value is known (GH-116355)
markshannon
authored
0c81ce1
View commit details
Copy full SHA for 0c81ce1
View code at this point
Browse repository at this point
GH-115685: Optimize `TO_BOOL` and variants based on truthiness of input. (GH-116311)
markshannon
authored
cbf3d38
View commit details
Copy full SHA for cbf3d38
View code at this point
Browse repository at this point
Commits on Mar 1, 2024
gh-115480: Type propagate _BINARY_OP_ADD_UNICODE (GH-115710)
Fidget-Spinner
authored
ff96b81
View commit details
Copy full SHA for ff96b81
View code at this point
Browse repository at this point
Commits on Feb 29, 2024
gh-115685: Type/values propagate for TO_BOOL in tier 2 (GH-115686)
Fidget-Spinner
authored
d01886c
View commit details
Copy full SHA for d01886c
View code at this point
Browse repository at this point
gh-116088: Insert bottom checks after all sym_set_...() calls (#116089)
Show description for 0656509
gvanrossum
authored
0656509
View commit details
Copy full SHA for 0656509
View code at this point
Browse repository at this point
gh-115816: Generate calls to sym_new_const() etc. without _Py_uop prefix (#116077)
Show description for 86e5e06
gvanrossum
authored
86e5e06
View commit details
Copy full SHA for 86e5e06
View code at this point
Browse repository at this point
Commits on Feb 28, 2024
gh-115859: Re-enable T2 optimizer pass by default (#116062)
Show description for 3409bc2
gvanrossum
authored
3409bc2
View commit details
Copy full SHA for 3409bc2
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.