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 }}
eendebakpt
/
cpython
Public
forked from
python/cpython
Notifications
You must be signed in to change notification settings
Fork
1
Star
2
Code
Pull requests
6
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cpython
Lib
opcode.py
on
json_encoder_python
User selector
All users
All time
Commit history
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 16, 2025
gh-131306: Remove unused code related to `BINARY_SUBSCR` (#131307)
tomasr8
authored
d07e9eb
View commit details
Copy full SHA for d07e9eb
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 16, 2025
gh-100239: specialize long tail of binary operations (#128722)
iritkatriel
authored
3893a92
View commit details
Copy full SHA for 3893a92
View code at this point
Browse repository at this point
Commits on Jan 15, 2025
gh-128891: add specialized opcodes to opcode.opname (#128892)
iritkatriel
authored
5eee2fe
View commit details
Copy full SHA for 5eee2fe
View code at this point
Browse repository at this point
Commits on Aug 16, 2024
GH-118093: Specialize `CALL_KW` (GH-123006)
markshannon
authored
c13e7d9
View commit details
Copy full SHA for c13e7d9
View code at this point
Browse repository at this point
Commits on Jun 20, 2024
gh-120780: Show attribute name for LOAD_SPECIAL in dis output (#120781)
JelleZijlstra
authored
e8e151d
View commit details
Copy full SHA for e8e151d
View code at this point
Browse repository at this point
Commits on Jun 13, 2024
gh-120417: Add #noqa to used imports in the stdlib (#120421)
Show description for 6ae254a
vstinner
authored
6ae254a
View commit details
Copy full SHA for 6ae254a
View code at this point
Browse repository at this point
Commits on May 22, 2024
gh-119180: Add LOAD_COMMON_CONSTANT opcode (#119321)
Show description for 98e855f
JelleZijlstra
and
iritkatriel
authored
98e855f
View commit details
Copy full SHA for 98e855f
View code at this point
Browse repository at this point
Commits on Mar 6, 2024
gh-116381: Specialize CONTAINS_OP (GH-116385)
Show description for 7114cf2
Fidget-Spinner
and
blurb-it[bot]
authored
7114cf2
View commit details
Copy full SHA for 7114cf2
View code at this point
Browse repository at this point
Commits on Sep 11, 2023
gh-109039: Branch prediction for Tier 2 interpreter (#109038)
Show description for bcce5e2
gvanrossum
authored
bcce5e2
View commit details
Copy full SHA for bcce5e2
View code at this point
Browse repository at this point
Commits on Aug 23, 2023
gh-105481: remove regen-opcode. Generated _PyOpcode_Caches in regen-cases. (#108367)
iritkatriel
authored
72119d1
View commit details
Copy full SHA for 72119d1
View code at this point
Browse repository at this point
Commits on Aug 17, 2023
gh-105481: opcode.h is no longer generated during the build (#108080)
iritkatriel
authored
0b243c2
View commit details
Copy full SHA for 0b243c2
View code at this point
Browse repository at this point
Commits on Aug 16, 2023
gh-105481: generate op IDs from bytecode.c instead of hard coding them in opcode.py (#107971)
iritkatriel
authored
665a439
View commit details
Copy full SHA for 665a439
View code at this point
Browse repository at this point
Commits on Aug 2, 2023
gh-105481: simplify definition of pseudo ops in Lib/opcode.py (#107561)
iritkatriel
authored
dd693d6
View commit details
Copy full SHA for dd693d6
View code at this point
Browse repository at this point
Commits on Aug 1, 2023
gh-105481: the ENABLE_SPECIALIZATION flag does not need to be generated by the build script, or exposed in opcode.py (#107534)
iritkatriel
authored
6ef8f8c
View commit details
Copy full SHA for 6ef8f8c
View code at this point
Browse repository at this point
Commits on Jul 27, 2023
gh-105481: remove dependency of _inline_cache_entries on opname (#107339)
iritkatriel
authored
d77d973
View commit details
Copy full SHA for d77d973
View code at this point
Browse repository at this point
Commits on Jul 20, 2023
gh-105481: do not auto-generate pycore_intrinsics.h (#106913)
iritkatriel
authored
9c81fc2
View commit details
Copy full SHA for 9c81fc2
View code at this point
Browse repository at this point
Commits on Jul 18, 2023
gh-105481: Generate the opcode lists in dis from data extracted from bytecodes.c (#106758)
iritkatriel
authored
40f3f11
View commit details
Copy full SHA for 40f3f11
View code at this point
Browse repository at this point
Commits on Jul 17, 2023
gh-106789: avoid importing pprint from sysconfig (#106790)
iritkatriel
authored
5ecedbd
View commit details
Copy full SHA for 5ecedbd
View code at this point
Browse repository at this point
Commits on Jun 29, 2023
GH-106008: Make implicit boolean conversions explicit (GH-106003)
brandtbucher
authored
7b2d94d
View commit details
Copy full SHA for 7b2d94d
View code at this point
Browse repository at this point
gh-105775: Convert LOAD_CLOSURE to a pseudo-op (#106059)
Show description for 8bff940
polynomialherder
authored
8bff940
View commit details
Copy full SHA for 8bff940
View code at this point
Browse repository at this point
Commits on Jun 22, 2023
GH-91095: Specialize calls to normal Python classes. (GH-99331)
markshannon
authored
04492cb
View commit details
Copy full SHA for 04492cb
View code at this point
Browse repository at this point
Commits on Jun 19, 2023
gh-105481: generate _specializations and _specialized_instructions from bytecodes.c (#105913)
iritkatriel
authored
33f0a85
View commit details
Copy full SHA for 33f0a85
View code at this point
Browse repository at this point
Commits on Jun 14, 2023
GH-77273: Better bytecodes for f-strings (GH-6132)
markshannon
authored
1d857da
View commit details
Copy full SHA for 1d857da
View code at this point
Browse repository at this point
Commits on Jun 13, 2023
GH-105678: Split MAKE_FUNCTION into MAKE_FUNCTION and SET_FUNCTION_ATTRIBUTE (GH-105680)
markshannon
authored
09ffa69
View commit details
Copy full SHA for 09ffa69
View code at this point
Browse repository at this point
Commits on Jun 8, 2023
GH-105229: Remove remaining two-codeunit superinstructions (GH-105326)
Show description for e830289
markshannon
authored
e830289
View commit details
Copy full SHA for e830289
View code at this point
Browse repository at this point
Commits on Jun 5, 2023
GH-105229: Replace some superinstructions with single instruction equivalent. (GH-105230)
markshannon
authored
0689340
View commit details
Copy full SHA for 0689340
View code at this point
Browse repository at this point
Commits on Jun 2, 2023
GH-104584: Plugin optimizer API (GH-105100)
markshannon
authored
4bfa01b
View commit details
Copy full SHA for 4bfa01b
View code at this point
Browse repository at this point
Commits on May 16, 2023
gh-103865: add monitoring support to LOAD_SUPER_ATTR (#103866)
carljm
authored
f40890b
View commit details
Copy full SHA for f40890b
View code at this point
Browse repository at this point
gh-103763: Implement PEP 695 (#103764)
Show description for 24d8b88
5 people
authored
24d8b88
View commit details
Copy full SHA for 24d8b88
View code at this point
Browse repository at this point
Commits on May 11, 2023
gh-87729: improve hit rate of LOAD_SUPER_ATTR specialization (#104270)
carljm
authored
7726245
View commit details
Copy full SHA for 7726245
View code at this point
Browse repository at this point
Commits on May 9, 2023
gh-97933: (PEP 709) inline list/dict/set comprehensions (#101441)
Show description for c3b595e
3 people
authored
c3b595e
View commit details
Copy full SHA for c3b595e
View code at this point
Browse repository at this point
Commits on May 3, 2023
GH-103963: Make dis display names of args for intrinsics opcodes (#104029)
jkchandalia
authored
872cbc6
View commit details
Copy full SHA for 872cbc6
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.