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
compile.c
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Oct 13, 2026
gh-129724: Intern string constants in the compiler, not per code object (GH-159193)
Show description for 627eabf
gpshead
authored
627eabf
View commit details
Copy full SHA for 627eabf
View code at this point
Browse repository at this point
Commits on Sep 23, 2026
gh-124697: Represent inlined comprehensions as subscopes in the symbol table (#156819)
iritkatriel
authored
a9d42dc
View commit details
Copy full SHA for a9d42dc
View code at this point
Browse repository at this point
Commits on Aug 29, 2026
gh-156459: Fix cleanup on error in compiler_set_qualname (#156462)
iritkatriel
authored
8b082aa
View commit details
Copy full SHA for 8b082aa
View code at this point
Browse repository at this point
gh-156466: Fix additional compiler scope cleanup errors (#156547)
JelleZijlstra
authored
f4874f3
View commit details
Copy full SHA for f4874f3
View code at this point
Browse repository at this point
Commits on Jul 7, 2026
gh-153252: Fix error handling in `_PyCompile_CodeGen` (#153253)
sobolevn
authored
a74280e
View commit details
Copy full SHA for a74280e
View code at this point
Browse repository at this point
Commits on Jul 2, 2026
gh-151763: Fix OOM-0013 crash when the parser or compiler fails to allocate (#151968)
tonghuaroot
authored
669299b
View commit details
Copy full SHA for 669299b
View code at this point
Browse repository at this point
Commits on Jun 11, 2026
gh-151112: Fix crash in `compiler_mod()` when entering the current compilation unit fails (#151234)
StanFromIreland
authored
937d89c
View commit details
Copy full SHA for 937d89c
View code at this point
Browse repository at this point
Commits on Apr 25, 2026
gh-148973: fix segfault on mismatch between consts size and oparg in compiler (#148974)
iritkatriel
authored
c650b51
View commit details
Copy full SHA for c650b51
View code at this point
Browse repository at this point
Commits on Apr 16, 2026
gh-137814: Fix `__qualname__` of `__annotate__` (#137842)
JelleZijlstra
authored
5b8cd31
View commit details
Copy full SHA for 5b8cd31
View code at this point
Browse repository at this point
Commits on Mar 30, 2026
gh-146442: Fix various bugs in compiler pipeline (#146443)
Show description for ca95e97
A0su
authored
ca95e97
View commit details
Copy full SHA for ca95e97
View code at this point
Browse repository at this point
Commits on Mar 11, 2026
GH-145247: Use _PyTuple_FromPair in Parser and Python (#145842)
Show description for d19de37
sergey-miryanov
authored
d19de37
View commit details
Copy full SHA for d19de37
View code at this point
Browse repository at this point
Commits on Feb 12, 2026
gh-142349: Implement PEP 810 - Explicit lazy imports (#142351)
Show description for 46d5106
4 people
authored
46d5106
View commit details
Copy full SHA for 46d5106
View code at this point
Browse repository at this point
Commits on Jan 16, 2026
GH-143493: Conform to spec for generator expressions while supporting virtual iterators (GH-143569)
Show description for ae53da5
markshannon
authored
ae53da5
View commit details
Copy full SHA for ae53da5
View code at this point
Browse repository at this point
Commits on Jan 3, 2026
Fix dunder name typo in compiler code comment (#143374)
johnslavik
authored
6d05e55
View commit details
Copy full SHA for 6d05e55
View code at this point
Browse repository at this point
Commits on Nov 13, 2025
gh-135801: Add the module parameter to compile() etc (GH-139652)
Show description for d8e6bdc
serhiy-storchaka
authored
d8e6bdc
View commit details
Copy full SHA for d8e6bdc
View code at this point
Browse repository at this point
Commits on Oct 30, 2025
gh-131927: Do not emit PEP 765 warnings in ast.parse() (GH-139642)
Show description for ad0a3f7
serhiy-storchaka
authored
ad0a3f7
View commit details
Copy full SHA for ad0a3f7
View code at this point
Browse repository at this point
Commits on Oct 14, 2025
gh-139640: Fix swallowing syntax warnings in different modules (GH-139755)
Show description for 279db6b
serhiy-storchaka
authored
279db6b
View commit details
Copy full SHA for 279db6b
View code at this point
Browse repository at this point
Commits on May 4, 2025
gh-126835: Rename `ast_opt.c` to `ast_preprocess.c` and related stuff after moving const folding to the peephole optimizier (#131830)
WolframAlph
authored
0a1fedb
View commit details
Copy full SHA for 0a1fedb
View code at this point
Browse repository at this point
Commits on Apr 28, 2025
gh-130907: Treat all module-level annotations as conditional (#131550)
JelleZijlstra
authored
922049b
View commit details
Copy full SHA for 922049b
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 17, 2025
gh-130080: implement PEP 765 (#130087)
iritkatriel
authored
ffc2f1d
View commit details
Copy full SHA for ffc2f1d
View code at this point
Browse repository at this point
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
gh-131238: Add explicit includes to pycore headers (#131257)
vstinner
authored
978e37b
View commit details
Copy full SHA for 978e37b
View code at this point
Browse repository at this point
Commits on Feb 28, 2025
Postpone <stdbool.h> inclusion after Python.h (#130641)
Show description for 830f04b
chouquette
authored
830f04b
View commit details
Copy full SHA for 830f04b
View code at this point
Browse repository at this point
Commits on Jan 31, 2025
gh-129354: Fix grammar in PyErr_FormatUnraisable() (#129475)
Show description for 95504f4
vstinner
authored
95504f4
View commit details
Copy full SHA for 95504f4
View code at this point
Browse repository at this point
Commits on Dec 19, 2024
gh-127274: Defer nested methods (#128012)
Show description for 255762c
mpage
authored
255762c
View commit details
Copy full SHA for 255762c
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 5, 2024
gh-126238: Fix possible null pointer dereference of freevars in _PyCompile_LookupArg (#126239)
Show description for 8525c93
3 people
authored
8525c93
View commit details
Copy full SHA for 8525c93
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 8, 2024
gh-121404: typo fix in compile.c: MATADATA -> METADATA (#125101)
efimov-mikhail
authored
9a35d05
View commit details
Copy full SHA for 9a35d05
View code at this point
Browse repository at this point
Commits on Sep 28, 2024
gh-124442: make `__static_attributes__` deterministic by sorting (#124492)
Show description for 04c837d
3 people
authored
04c837d
View commit details
Copy full SHA for 04c837d
View code at this point
Browse repository at this point
Commits on Sep 16, 2024
gh-123969: refactor _PyErr_RaiseSyntaxError and _PyErr_EmitSyntaxWarning out of compiler (#123972)
iritkatriel
authored
aba42c0
View commit details
Copy full SHA for aba42c0
View code at this point
Browse repository at this point
gh-124058: remove _PyCompile_IsNestedScope, roll it into _PyCompile_IsInteractive (#124061)
iritkatriel
authored
9aa1f60
View commit details
Copy full SHA for 9aa1f60
View code at this point
Browse repository at this point
Commits on Sep 13, 2024
gh-124022: Fix bug where class docstring is removed in interactive mode (#124023)
Show description for a9594a3
iritkatriel
and
JelleZijlstra
authored
a9594a3
View commit details
Copy full SHA for a9594a3
View code at this point
Browse repository at this point
Commits on Sep 12, 2024
gh-124013: remove _PyCompile_IsTopLevelAwait (#124014)
iritkatriel
authored
8145ebe
View commit details
Copy full SHA for 8145ebe
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.