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 }}
wrongnull
/
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
compile.c
on
patch-2
User selector
All users
Datepicker
All time
Commit history
Commits on Feb 20, 2023
gh-101907: Stop using `_Py_OPCODE` and `_Py_OPARG` macros (GH-101912)
Show description for a99eb5c
zooba
authored
a99eb5c
View commit details
Copy full SHA for a99eb5c
View code at this point
Browse repository at this point
Commits on Feb 16, 2023
gh-101928: fix crash in compiler on multi-line lambda in function call (#101933)
penguin-wwy
authored
df7ccf6
View commit details
Copy full SHA for df7ccf6
View code at this point
Browse repository at this point
Commits on Feb 14, 2023
gh-101799: implement PREP_RERAISE_STAR as an intrinsic function (#101800)
iritkatriel
authored
81e3aa8
View commit details
Copy full SHA for 81e3aa8
View code at this point
Browse repository at this point
Commits on Feb 13, 2023
GH-87849: Simplify stack effect of SEND and specialize it for generators and coroutines. (GH-101788)
markshannon
authored
160f2fe
View commit details
Copy full SHA for 160f2fe
View code at this point
Browse repository at this point
Commits on Feb 9, 2023
gh-98831: Use opcode metadata for stack_effect() (#101704)
Show description for 65b7b6b
gvanrossum
authored
65b7b6b
View commit details
Copy full SHA for 65b7b6b
View code at this point
Browse repository at this point
Commits on Feb 7, 2023
gh-101632: Add the new RETURN_CONST opcode (#101633)
penguin-wwy
authored
753fc8a
View commit details
Copy full SHA for 753fc8a
View code at this point
Browse repository at this point
Commits on Feb 1, 2023
gh-98831: rewrite PUSH_EXC_INFO and conditional jumps in the instruction definition DSL (#101481)
iritkatriel
authored
b91b42d
View commit details
Copy full SHA for b91b42d
View code at this point
Browse repository at this point
Commits on Jan 31, 2023
gh-99955: use SUCCESS/ERROR return values in optimizer and assembler. Use RETURN_IF_ERROR where appropriate. Fix a couple of bugs. (#101412)
iritkatriel
authored
af7b2db
View commit details
Copy full SHA for af7b2db
View code at this point
Browse repository at this point
Commits on Jan 30, 2023
gh-101400: Fix incorrect lineno in exception message on continue/break which are not in a loop (#101413)
corona10
authored
e867c1b
View commit details
Copy full SHA for e867c1b
View code at this point
Browse repository at this point
Commits on Jan 25, 2023
gh-98831: add variable stack effect support to cases generator (#101309)
iritkatriel
authored
19f90d6
View commit details
Copy full SHA for 19f90d6
View code at this point
Browse repository at this point
Commits on Jan 24, 2023
GH-100762: Don't call `gen.throw()` in `gen.close()`, unless necessary. (GH-101013)
Show description for f02fa64
markshannon
authored
f02fa64
View commit details
Copy full SHA for f02fa64
View code at this point
Browse repository at this point
Commits on Jan 20, 2023
Fix typo in comment in compile.c (#101194)
eltociear
authored
4510fbb
View commit details
Copy full SHA for 4510fbb
View code at this point
Browse repository at this point
Commits on Jan 19, 2023
gh-101169: reduce the implementation of except* by one bytecode instruction (#101170)
iritkatriel
authored
9ec9b20
View commit details
Copy full SHA for 9ec9b20
View code at this point
Browse repository at this point
Commits on Jan 16, 2023
GH-100982: Add `COMPARE_AND_BRANCH` instruction (GH-100983)
markshannon
authored
7b14c2e
View commit details
Copy full SHA for 7b14c2e
View code at this point
Browse repository at this point
Commits on Jan 11, 2023
GH-100923: Embed jump mask in `COMPARE_OP` oparg (GH-100924)
markshannon
authored
6e4e14d
View commit details
Copy full SHA for 6e4e14d
View code at this point
Browse repository at this point
Commits on Jan 7, 2023
gh-88696: clean up dead argument to compiler_make_closure (GH-100806)
carljm
authored
7116030
View commit details
Copy full SHA for 7116030
View code at this point
Browse repository at this point
Commits on Jan 6, 2023
GH-99005: More intrinsics (GH-100774)
Show description for 7806812
markshannon
authored
7806812
View commit details
Copy full SHA for 7806812
View code at this point
Browse repository at this point
Commits on Jan 5, 2023
GH-98831: Update generate_cases.py: register inst, opcode_metadata.h (#100735)
Show description for 14b7f00
gvanrossum
and
iritkatriel
authored
14b7f00
View commit details
Copy full SHA for 14b7f00
View code at this point
Browse repository at this point
GH-99005: Add `CALL_INTRINSIC_1` instruction (GH-100771)
Show description for 2818714
markshannon
authored
2818714
View commit details
Copy full SHA for 2818714
View code at this point
Browse repository at this point
Commits on Jan 4, 2023
gh-100747: some compiler macros use c instead of C to access the compiler (#100748)
iritkatriel
authored
52017db
View commit details
Copy full SHA for 52017db
View code at this point
Browse repository at this point
GH-100719: Remove the `co_nplaincellvars` field from code objects. (GH-100721)
markshannon
authored
15aecf8
View commit details
Copy full SHA for 15aecf8
View code at this point
Browse repository at this point
Commits on Dec 22, 2022
GH-99554: Trim trailing whitespace (GH-100435)
Show description for 09edde9
brandtbucher
authored
09edde9
View commit details
Copy full SHA for 09edde9
View code at this point
Browse repository at this point
GH-99554: Pack location tables more effectively (GH-99556)
brandtbucher
authored
3c033a2
View commit details
Copy full SHA for 3c033a2
View code at this point
Browse repository at this point
Commits on Dec 14, 2022
GH-100222: Redefine _Py_CODEUNIT as a union to clarify structure of code unit. (GH-100223)
markshannon
authored
6997e77
View commit details
Copy full SHA for 6997e77
View code at this point
Browse repository at this point
Commits on Dec 13, 2022
gh-99955: undef ERROR and SUCCESS before redefining (fixes sanitizer warning) (#100215)
iritkatriel
authored
985a710
View commit details
Copy full SHA for 985a710
View code at this point
Browse repository at this point
Commits on Dec 12, 2022
gh-99955: standardize return values of functions in compiler's code-gen (#100010)
iritkatriel
authored
e4ea33b
View commit details
Copy full SHA for e4ea33b
View code at this point
Browse repository at this point
Commits on Dec 2, 2022
gh-99955: standardize return values of functions in assembler and optimizer. (#99956)
iritkatriel
authored
ab02262
View commit details
Copy full SHA for ab02262
View code at this point
Browse repository at this point
Commits on Nov 30, 2022
GH-99877)
iritkatriel
authored
18a6967
View commit details
Copy full SHA for 18a6967
View code at this point
Browse repository at this point
gh-87092: move all localsplus preparation into separate function called from assembler stage (GH-99869)
iritkatriel
authored
ac12e39
View commit details
Copy full SHA for ac12e39
View code at this point
Browse repository at this point
Commits on Nov 24, 2022
gh-99708: fix bug where compiler crashes on if expression with an empty body block (GH-99732)
iritkatriel
authored
ae185fd
View commit details
Copy full SHA for ae185fd
View code at this point
Browse repository at this point
Commits on Nov 22, 2022
gh-99537: Use Py_SETREF() function in C code (#99657)
Show description for 135ec7c
vstinner
authored
135ec7c
View commit details
Copy full SHA for 135ec7c
View code at this point
Browse repository at this point
Commits on Nov 16, 2022
gh-99300: Replace Py_INCREF() with Py_NewRef() (#99530)
Show description for 8211cf5
vstinner
authored
8211cf5
View commit details
Copy full SHA for 8211cf5
View code at this point
Browse repository at this point
Commits on Nov 14, 2022
gh-87092: expose the compiler's codegen to python for unit tests (GH-99111)
iritkatriel
authored
a3ac923
View commit details
Copy full SHA for a3ac923
View code at this point
Browse repository at this point
Commits on Nov 12, 2022
gh-98762: Fix locations of match sub-patterns (GH-98775)
iritkatriel
authored
fb844e1
View commit details
Copy full SHA for fb844e1
View code at this point
Browse repository at this point
Commits on Nov 11, 2022
gh-99254: remove all unused consts from code objects (GH-99255)
iritkatriel
authored
3dd6ee2
View commit details
Copy full SHA for 3dd6ee2
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.