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
Accelerator
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 }}
mdboom
/
cpython
Public
forked from
python/cpython
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cpython
Python
codegen.c
on
python-startup-time
User selector
All users
Datepicker
All time
Commit history
Commits on Apr 11, 2025
GH-127682: Only call `__iter__` once in generator expressions. (GH-132351)
markshannon
authored
d87e7f3
View commit details
Copy full SHA for d87e7f3
View code at this point
Browse repository at this point
gh-132261: Store annotations at hidden internal keys in the class dict (#132345)
JelleZijlstra
authored
07b8d31
View commit details
Copy full SHA for 07b8d31
View code at this point
Browse repository at this point
Commits on Mar 28, 2025
gh-131738: optimize builtin any/all/tuple calls with a generator expression arg (#131737)
iritkatriel
authored
2c8f329
View commit details
Copy full SHA for 2c8f329
View code at this point
Browse repository at this point
Commits on Mar 26, 2025
gh-130881: Handle conditionally defined annotations (#130935)
JelleZijlstra
authored
898e6b3
View commit details
Copy full SHA for 898e6b3
View code at this point
Browse repository at this point
Commits on Mar 19, 2025
gh-126835: Move constant tuple folding from ast_opt to CFG (#130769)
WolframAlph
authored
75103d9
View commit details
Copy full SHA for 75103d9
View code at this point
Browse repository at this point
Commits on Mar 17, 2025
GH-131238: More refactoring of core header files (GH-131351)
Show description for a45f253
markshannon
authored
a45f253
View commit details
Copy full SHA for a45f253
View code at this point
Browse repository at this point
Commits on Mar 14, 2025
gh-130480: Move duplicate `LOAD_SMALL_INT` optimization from codegen to CFG (#130481)
WolframAlph
authored
55815a6
View commit details
Copy full SHA for 55815a6
View code at this point
Browse repository at this point
Commits on Mar 13, 2025
gh-130080: move _Py_EnsureArrayLargeEnough to a separate header so it can be used outside of the compiler (#130930)
iritkatriel
authored
4242c2b
View commit details
Copy full SHA for 4242c2b
View code at this point
Browse repository at this point
Commits on Mar 12, 2025
gh-126835: Avoid creating unnecessary tuple when looking for constant sequence during constant folding (#131054)
WolframAlph
authored
3618240
View commit details
Copy full SHA for 3618240
View code at this point
Browse repository at this point
Commits on Mar 10, 2025
GH-123044: Give the `POP_TOP` after a case test a location in the body, not the pattern. (GH-130627)
markshannon
authored
be046ee
View commit details
Copy full SHA for be046ee
View code at this point
Browse repository at this point
Commits on Mar 7, 2025
GH-128534: Fix behavior of branch monitoring for `async for` (GH-130847)
Show description for 89df62c
markshannon
authored
89df62c
View commit details
Copy full SHA for 89df62c
View code at this point
Browse repository at this point
Commits on Mar 2, 2025
gh-130740: Move some `stdbool.h` includes after `Python.h` (#130738)
Show description for 214562e
chouquette
authored
214562e
View commit details
Copy full SHA for 214562e
View code at this point
Browse repository at this point
Commits on Feb 27, 2025
GH-128534: Instrument branches for `async for` loops. (GH-130569)
markshannon
authored
2a18e80
View commit details
Copy full SHA for 2a18e80
View code at this point
Browse repository at this point
Commits on Feb 25, 2025
GH-130396: Use computed stack limits on linux (GH-130398)
Show description for 0142236
markshannon
authored
0142236
View commit details
Copy full SHA for 0142236
View code at this point
Browse repository at this point
Commits on Feb 7, 2025
gh-100239: replace BINARY_SUBSCR & family by BINARY_OP with oparg NB_SUBSCR (#129700)
iritkatriel
authored
a1417b2
View commit details
Copy full SHA for a1417b2
View code at this point
Browse repository at this point
Commits on Feb 4, 2025
gh-126835: Move constant subscript folding to CFG (#129568)
Show description for 0664c1a
WolframAlph
and
iritkatriel
authored
0664c1a
View commit details
Copy full SHA for 0664c1a
View code at this point
Browse repository at this point
Commits on Feb 1, 2025
gh-126835: Move optimization of constant sequence creation from codegen to CFG (#129426)
Show description for 7d0521d
3 people
authored
7d0521d
View commit details
Copy full SHA for 7d0521d
View code at this point
Browse repository at this point
Commits on Jan 27, 2025
GH-128914: Remove all but one conditional stack effects (GH-129226)
Show description for 75b4962
markshannon
authored
75b4962
View commit details
Copy full SHA for 75b4962
View code at this point
Browse repository at this point
Commits on Jan 23, 2025
Revert "GH-128914: Remove conditional stack effects from `bytecodes.c` and the code generators (GH-128918)" (GH-129202)
Show description for a10f993
colesbury
authored
a10f993
View commit details
Copy full SHA for a10f993
View code at this point
Browse repository at this point
Commits on Jan 20, 2025
GH-128914: Remove conditional stack effects from `bytecodes.c` and the code generators (GH-128918)
markshannon
authored
ab61d3f
View commit details
Copy full SHA for ab61d3f
View code at this point
Browse repository at this point
Commits on Jan 6, 2025
GH-128533: Add `NOT_TAKEN` instruction after bytecode optimization. (GH-128554)
markshannon
authored
2434fd2
View commit details
Copy full SHA for 2434fd2
View code at this point
Browse repository at this point
GH-128375: Better instrument for `FOR_ITER` (GH-128445)
markshannon
authored
f826bec
View commit details
Copy full SHA for f826bec
View code at this point
Browse repository at this point
Commits on Dec 30, 2024
gh-119180: Set the name of the param to __annotate__ to "format" (#124730)
JelleZijlstra
authored
3480124
View commit details
Copy full SHA for 3480124
View code at this point
Browse repository at this point
Commits on Dec 19, 2024
GH-122548: Implement branch taken and not taken events for sys.monitoring (GH-122564)
markshannon
authored
d2f1d91
View commit details
Copy full SHA for d2f1d91
View code at this point
Browse repository at this point
Commits on Nov 26, 2024
gh-119180: Add VALUE_WITH_FAKE_GLOBALS format to annotationlib (#124415)
JelleZijlstra
authored
dcf6292
View commit details
Copy full SHA for dcf6292
View code at this point
Browse repository at this point
Fix typo: Use AsyncFor element access in codegen (#127278)
Show description for 4fd9eb2
cdce8p
authored
4fd9eb2
View commit details
Copy full SHA for 4fd9eb2
View code at this point
Browse repository at this point
Commits on Nov 8, 2024
gh-126072: Set docstring attribute for module and class (#126231)
xuantengh
authored
6ec8865
View commit details
Copy full SHA for 6ec8865
View code at this point
Browse repository at this point
Commits on Nov 7, 2024
gh-120017: use 'do-while(0)' in some `{codegen,compile}.c` multi-line macros (#120018)
picnixz
authored
c222441
View commit details
Copy full SHA for c222441
View code at this point
Browse repository at this point
Commits on Nov 3, 2024
gh-125832: Reformat comments for inlined comprehensions (gh-126346)
corona10
authored
8161afe
View commit details
Copy full SHA for 8161afe
View code at this point
Browse repository at this point
Commits on Nov 2, 2024
gh-125832: Clarify comment for inlined comprehensions as per PEP-709 (#126322)
Show description for 868bfcc
3 people
authored
868bfcc
View commit details
Copy full SHA for 868bfcc
View code at this point
Browse repository at this point
Commits on Oct 30, 2024
gh-126072: do not add `None` to `co_consts` if there is no docstring (GH-126101)
xuantengh
authored
35df4eb
View commit details
Copy full SHA for 35df4eb
View code at this point
Browse repository at this point
Commits on Oct 29, 2024
GH-125837: Split `LOAD_CONST` into three. (GH-125972)
Show description for faa3272
markshannon
authored
faa3272
View commit details
Copy full SHA for faa3272
View code at this point
Browse repository at this point
Commits on Oct 22, 2024
gh-125038: Fix crash after genexpr.gi_frame.f_locals manipulations (#125178)
efimov-mikhail
authored
079875e
View commit details
Copy full SHA for 079875e
View code at this point
Browse repository at this point
Commits on Oct 8, 2024
gh-125063: Emit slices as constants in the bytecode compiler (#125064)
Show description for c6127af
3 people
authored
c6127af
View commit details
Copy full SHA for c6127af
View code at this point
Browse repository at this point
Commits on Sep 25, 2024
gh-124285: Fix bug where bool() is called multiple times for the same part of a boolean expression (#124394)
iritkatriel
authored
78aeb38
View commit details
Copy full SHA for 78aeb38
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.