[ Web Proxy ]
URL:
Viewing:
https://github-redirect.dependabot.com/python/cpython/blob/main/Include/opcode_ids.h
[Back]
[Original]
cpython/Include/opcode_ids.h at main python/cpython GitHub
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
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 }}
python
cpython
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
2.5k
(2.5k)
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
cpython
/
Include
/
opcode_ids.h
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
263 lines (259 loc) 12.5 KB
main
Breadcrumbs
cpython
/
Include
/
opcode_ids.h
Copy path
Top
File metadata and controls
Code
Blame
263 lines (259 loc) 12.5 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
// This file is generated by Tools/cases_generator/opcode_id_generator.py
// from:
// Python/bytecodes.c
// Do not edit!
#ifndef
Py_OPCODE_IDS_H
#define
Py_OPCODE_IDS_H
#ifdef
__cplusplus
extern
"C"
{
#endif
/* Instruction opcodes for compiled code */
#define
CACHE
0
#define
BINARY_SLICE
1
#define
BUILD_TEMPLATE
2
#define
BINARY_OP_INPLACE_ADD_UNICODE
3
#define
CALL_FUNCTION_EX
4
#define
CHECK_EG_MATCH
5
#define
CHECK_EXC_MATCH
6
#define
CLEANUP_THROW
7
#define
DELETE_SUBSCR
8
#define
END_FOR
9
#define
END_SEND
10
#define
EXIT_INIT_CHECK
11
#define
FORMAT_SIMPLE
12
#define
FORMAT_WITH_SPEC
13
#define
GET_AITER
14
#define
GET_ANEXT
15
#define
GET_LEN
16
#define
RESERVED
17
#define
INTERPRETER_EXIT
18
#define
LOAD_BUILD_CLASS
19
#define
LOAD_LOCALS
20
#define
MAKE_FUNCTION
21
#define
MATCH_KEYS
22
#define
MATCH_MAPPING
23
#define
MATCH_SEQUENCE
24
#define
NOP
25
#define
NOT_TAKEN
26
#define
POP_EXCEPT
27
#define
POP_ITER
28
#define
POP_TOP
29
#define
PUSH_EXC_INFO
30
#define
PUSH_NULL
31
#define
RETURN_GENERATOR
32
#define
RETURN_VALUE
33
#define
SETUP_ANNOTATIONS
34
#define
STORE_SLICE
35
#define
STORE_SUBSCR
36
#define
TO_BOOL
37
#define
UNARY_INVERT
38
#define
UNARY_NEGATIVE
39
#define
UNARY_NOT
40
#define
WITH_EXCEPT_START
41
#define
BINARY_OP
42
#define
BUILD_INTERPOLATION
43
#define
BUILD_LIST
44
#define
BUILD_MAP
45
#define
BUILD_SET
46
#define
BUILD_SLICE
47
#define
BUILD_STRING
48
#define
BUILD_TUPLE
49
#define
CALL
50
#define
CALL_INTRINSIC_1
51
#define
CALL_INTRINSIC_2
52
#define
CALL_KW
53
#define
COMPARE_OP
54
#define
CONTAINS_OP
55
#define
CONVERT_VALUE
56
#define
COPY
57
#define
COPY_FREE_VARS
58
#define
DELETE_DEREF
59
#define
DELETE_FAST
60
#define
DICT_MERGE
61
#define
DICT_UPDATE
62
#define
END_ASYNC_FOR
63
#define
EXTENDED_ARG
64
#define
FOR_ITER
65
#define
GET_AWAITABLE
66
#define
GET_ITER
67
#define
IMPORT_FROM
68
#define
IMPORT_NAME
69
#define
IS_OP
70
#define
JUMP_BACKWARD
71
#define
JUMP_BACKWARD_NO_INTERRUPT
72
#define
JUMP_FORWARD
73
#define
LIST_APPEND
74
#define
LIST_EXTEND
75
#define
LOAD_ATTR
76
#define
LOAD_COMMON_CONSTANT
77
#define
LOAD_CONST
78
#define
LOAD_DEREF
79
#define
LOAD_FAST
80
#define
LOAD_FAST_AND_CLEAR
81
#define
LOAD_FAST_BORROW
82
#define
LOAD_FAST_BORROW_LOAD_FAST_BORROW
83
#define
LOAD_FAST_CHECK
84
#define
LOAD_FAST_LOAD_FAST
85
#define
LOAD_FROM_DICT_OR_DEREF
86
#define
LOAD_FROM_DICT_OR_GLOBALS
87
#define
LOAD_GLOBAL
88
#define
LOAD_NAME
89
#define
LOAD_SMALL_INT
90
#define
LOAD_SPECIAL
91
#define
LOAD_SUPER_ATTR
92
#define
MAKE_CELL
93
#define
MAP_ADD
94
#define
MATCH_CLASS
95
#define
POP_JUMP_IF_FALSE
96
#define
POP_JUMP_IF_NONE
97
#define
POP_JUMP_IF_NOT_NONE
98
#define
POP_JUMP_IF_TRUE
99
#define
RAISE_VARARGS
100
#define
RERAISE
101
#define
SEND
102
#define
SET_ADD
103
#define
SET_FUNCTION_ATTRIBUTE
104
#define
SET_UPDATE
105
#define
STORE_ATTR
106
#define
STORE_DEREF
107
#define
STORE_FAST
108
#define
STORE_FAST_LOAD_FAST
109
#define
STORE_FAST_STORE_FAST
110
#define
STORE_GLOBAL
111
#define
STORE_NAME
112
#define
SWAP
113
#define
UNPACK_EX
114
#define
UNPACK_SEQUENCE
115
#define
YIELD_VALUE
116
#define
RESUME
128
#define
BINARY_OP_ADD_FLOAT
129
#define
BINARY_OP_ADD_INT
130
#define
BINARY_OP_ADD_UNICODE
131
#define
BINARY_OP_EXTEND
132
#define
BINARY_OP_MULTIPLY_FLOAT
133
#define
BINARY_OP_MULTIPLY_INT
134
#define
BINARY_OP_SUBSCR_DICT
135
#define
BINARY_OP_SUBSCR_GETITEM
136
#define
BINARY_OP_SUBSCR_LIST_INT
137
#define
BINARY_OP_SUBSCR_LIST_SLICE
138
#define
BINARY_OP_SUBSCR_STR_INT
139
#define
BINARY_OP_SUBSCR_TUPLE_INT
140
#define
BINARY_OP_SUBSCR_USTR_INT
141
#define
BINARY_OP_SUBTRACT_FLOAT
142
#define
BINARY_OP_SUBTRACT_INT
143
#define
CALL_ALLOC_AND_ENTER_INIT
144
#define
CALL_BOUND_METHOD_EXACT_ARGS
145
#define
CALL_BOUND_METHOD_GENERAL
146
#define
CALL_BUILTIN_CLASS
147
#define
CALL_BUILTIN_FAST
148
#define
CALL_BUILTIN_FAST_WITH_KEYWORDS
149
#define
CALL_BUILTIN_O
150
#define
CALL_EX_NON_PY_GENERAL
151
#define
CALL_EX_PY
152
#define
CALL_ISINSTANCE
153
#define
CALL_KW_BOUND_METHOD
154
#define
CALL_KW_NON_PY
155
#define
CALL_KW_PY
156
#define
CALL_LEN
157
#define
CALL_LIST_APPEND
158
#define
CALL_METHOD_DESCRIPTOR_FAST
159
#define
CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS
160
#define
CALL_METHOD_DESCRIPTOR_NOARGS
161
#define
CALL_METHOD_DESCRIPTOR_O
162
#define
CALL_NON_PY_GENERAL
163
#define
CALL_PY_EXACT_ARGS
164
#define
CALL_PY_GENERAL
165
#define
CALL_STR_1
166
#define
CALL_TUPLE_1
167
#define
CALL_TYPE_1
168
#define
COMPARE_OP_FLOAT
169
#define
COMPARE_OP_INT
170
#define
COMPARE_OP_STR
171
#define
CONTAINS_OP_DICT
172
#define
CONTAINS_OP_SET
173
#define
FOR_ITER_GEN
174
#define
FOR_ITER_LIST
175
#define
FOR_ITER_RANGE
176
#define
FOR_ITER_TUPLE
177
#define
FOR_ITER_VIRTUAL
178
#define
GET_ITER_SELF
179
#define
GET_ITER_VIRTUAL
180
#define
JUMP_BACKWARD_JIT
181
#define
JUMP_BACKWARD_NO_JIT
182
#define
LOAD_ATTR_CLASS
183
#define
LOAD_ATTR_CLASS_WITH_METACLASS_CHECK
184
#define
LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN
185
#define
LOAD_ATTR_INSTANCE_VALUE
186
#define
LOAD_ATTR_METHOD_LAZY_DICT
187
#define
LOAD_ATTR_METHOD_NO_DICT
188
#define
LOAD_ATTR_METHOD_WITH_VALUES
189
#define
LOAD_ATTR_MODULE
190
#define
LOAD_ATTR_NONDESCRIPTOR_NO_DICT
191
#define
LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES
192
#define
LOAD_ATTR_PROPERTY
193
#define
LOAD_ATTR_SLOT
194
#define
LOAD_ATTR_WITH_HINT
195
#define
LOAD_GLOBAL_BUILTIN
196
#define
LOAD_GLOBAL_MODULE
197
#define
LOAD_SUPER_ATTR_ATTR
198
#define
LOAD_SUPER_ATTR_METHOD
199
#define
RESUME_CHECK
200
#define
RESUME_CHECK_JIT
201
#define
SEND_ASYNC_GEN
202
#define
SEND_GEN
203
#define
SEND_VIRTUAL
204
#define
STORE_ATTR_INSTANCE_VALUE
205
#define
STORE_ATTR_SLOT
206
#define
STORE_ATTR_WITH_HINT
207
#define
STORE_SUBSCR_DICT
208
#define
STORE_SUBSCR_LIST_INT
209
#define
TO_BOOL_ALWAYS_TRUE
210
#define
TO_BOOL_BOOL
211
#define
TO_BOOL_INT
212
#define
TO_BOOL_LIST
213
#define
TO_BOOL_NONE
214
#define
TO_BOOL_STR
215
#define
UNPACK_SEQUENCE_LIST
216
#define
UNPACK_SEQUENCE_TUPLE
217
#define
UNPACK_SEQUENCE_TWO_TUPLE
218
#define
INSTRUMENTED_END_FOR
233
#define
INSTRUMENTED_POP_ITER
234
#define
INSTRUMENTED_END_SEND
235
#define
INSTRUMENTED_FOR_ITER
236
#define
INSTRUMENTED_INSTRUCTION
237
#define
INSTRUMENTED_JUMP_FORWARD
238
#define
INSTRUMENTED_NOT_TAKEN
239
#define
INSTRUMENTED_POP_JUMP_IF_TRUE
240
#define
INSTRUMENTED_POP_JUMP_IF_FALSE
241
#define
INSTRUMENTED_POP_JUMP_IF_NONE
242
#define
INSTRUMENTED_POP_JUMP_IF_NOT_NONE
243
#define
INSTRUMENTED_RESUME
244
#define
INSTRUMENTED_RETURN_VALUE
245
#define
INSTRUMENTED_YIELD_VALUE
246
#define
INSTRUMENTED_END_ASYNC_FOR
247
#define
INSTRUMENTED_LOAD_SUPER_ATTR
248
#define
INSTRUMENTED_CALL
249
#define
INSTRUMENTED_CALL_KW
250
#define
INSTRUMENTED_CALL_FUNCTION_EX
251
#define
INSTRUMENTED_JUMP_BACKWARD
252
#define
INSTRUMENTED_LINE
253
#define
ENTER_EXECUTOR
254
#define
TRACE_RECORD
255
#define
ANNOTATIONS_PLACEHOLDER
256
#define
JUMP
257
#define
JUMP_IF_FALSE
258
#define
JUMP_IF_TRUE
259
#define
JUMP_NO_INTERRUPT
260
#define
LOAD_CLOSURE
261
#define
POP_BLOCK
262
#define
SETUP_CLEANUP
263
#define
SETUP_FINALLY
264
#define
SETUP_WITH
265
#define
STORE_FAST_MAYBE_NULL
266
#define
HAVE_ARGUMENT
41
#define
MIN_SPECIALIZED_OPCODE
129
#define
MIN_INSTRUMENTED_OPCODE
233
#ifdef
__cplusplus
}
#endif
#endif
/* !Py_OPCODE_IDS_H */
Footer
© 2026 GitHub, Inc.
Footer navigation
Terms
Privacy
Security
Status
Community
Docs
Contact
Manage cookies
Do not share my personal information
You cant perform that action at this time.
Web Proxy Viewer |
New URL
|
Original Page