Skip to content

Commit 458aca9

Browse files
gh-131798: fold super method lookups in JIT (#148231)
1 parent ee52327 commit 458aca9

File tree

14 files changed

+1752
-1268
lines changed

14 files changed

+1752
-1268
lines changed

Include/internal/pycore_opcode_metadata.h

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Include/internal/pycore_typeobject.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@ extern PyTypeObject _PyBufferWrapper_Type;
126126
PyAPI_FUNC(PyObject*) _PySuper_Lookup(PyTypeObject *su_type, PyObject *su_obj,
127127
PyObject *name, int *meth_found);
128128

129+
extern PyObject *_PySuper_LookupDescr(PyTypeObject *su_type,
130+
PyTypeObject *su_obj_type,
131+
PyObject *name);
132+
129133
extern PyObject* _PyType_GetFullyQualifiedName(PyTypeObject *type, char sep);
130134

131135
// Perform the following operation, in a thread-safe way when required by the

0 commit comments

Comments
 (0)