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
Type
/
to 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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
35.1k
Star
74.2k
Code
Issues
5k+
Pull requests
2.4k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
gh-117045: Add code object to function version cache
- #117028
#117028
Merged
gvanrossum
merged 14 commits into
python:main
python/cpython:main
from
gvanrossum:func-version-cache
gvanrossum/cpython:func-version-cache
Copy head branch name to clipboard
Mar 21, 2024
Conversation
Commits
14
(14)
Checks
Files changed
Merged
gh-117045: Add code object to function version cache
#117028
gvanrossum
merged 14 commits into
python:main
python/cpython:main
from
gvanrossum:func-version-cache
gvanrossum/cpython:func-version-cache
Copy head branch name to clipboard
Commits
Commits on Mar 19, 2024
Leave func_version zero after critical mutations
Show description for 21dc79c
gvanrossum
committed
21dc79c
View commit details
Copy full SHA for 21dc79c
Browse repository at this point
Change the function version cache to contain a (func, code) pair
Show description for 51bc626
gvanrossum
committed
51bc626
View commit details
Copy full SHA for 51bc626
Browse repository at this point
Use _PyFrame_GetCode where needed; tweak a debug print
gvanrossum
committed
0d5f849
View commit details
Copy full SHA for 0d5f849
Browse repository at this point
Clarify type of f_executable
gvanrossum
committed
b998bf2
View commit details
Copy full SHA for b998bf2
Browse repository at this point
Change the operand for _PUSH_FRAME
Show description for fdbfe07
gvanrossum
committed
fdbfe07
View commit details
Copy full SHA for fdbfe07
Browse repository at this point
Rewrite explanatory comment
gvanrossum
committed
fe149b2
View commit details
Copy full SHA for fe149b2
Browse repository at this point
Add code to the trace stack in translate_bytecode_to_trace()
Show description for 0d0551e
gvanrossum
committed
0d0551e
View commit details
Copy full SHA for 0d0551e
Browse repository at this point
Set operand for _PUSH/_POP_FRAME more consistently
gvanrossum
committed
b999d3e
View commit details
Copy full SHA for b999d3e
Browse repository at this point
Remove bogus assert
gvanrossum
committed
b8141cd
View commit details
Copy full SHA for b8141cd
Browse repository at this point
Commits on Mar 20, 2024
Document and enforce invariants
gvanrossum
committed
0fd96be
View commit details
Copy full SHA for 0fd96be
Browse repository at this point
Enforce invariant differently
gvanrossum
committed
6748a56
View commit details
Copy full SHA for 6748a56
Browse repository at this point
Revert "Remove bogus assert" (it's not my job to fix this)
Show description for fac617c
gvanrossum
committed
fac617c
View commit details
Copy full SHA for fac617c
Browse repository at this point
Address code review
gvanrossum
committed
37fab3c
View commit details
Copy full SHA for 37fab3c
Browse repository at this point
Merge remote-tracking branch 'origin/main' into func-version-cache
gvanrossum
committed
f3de0ef
View commit details
Copy full SHA for f3de0ef
Browse repository at this point
You can’t perform that action at this time.