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 }}
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_bytecodes.c
on
5b05d45
User selector
All users
Datepicker
All time
Commit history
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 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 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 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 7, 2024
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-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-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
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
gh-115816: Improve internal symbols API in optimizer (#116028)
Show description for e2a3e4b
gvanrossum
authored
e2a3e4b
View commit details
Copy full SHA for e2a3e4b
View code at this point
Browse repository at this point
Commits on Feb 27, 2024
GH-115816: Assorted naming and formatting changes to improve maintainability. (GH-115987)
Show description for 6ecfcfe
markshannon
authored
6ecfcfe
View commit details
Copy full SHA for 6ecfcfe
View code at this point
Browse repository at this point
GH-115816: Make tier2 optimizer symbols testable, and add a few tests. (GH-115953)
markshannon
authored
10fbcd6
View commit details
Copy full SHA for 10fbcd6
View code at this point
Browse repository at this point
Commits on Feb 26, 2024
Rename tier 2 redundancy eliminator to optimizer (#115888)
Show description for c0fdfba
gvanrossum
authored
c0fdfba
View commit details
Copy full SHA for c0fdfba
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.