Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
7e1a9aac
Kaydet (Commit)
7e1a9aac
authored
Haz 20, 2019
tarafından
Jeroen Demeyer
Kaydeden (comit)
Inada Naoki
Haz 20, 2019
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-37151: remove _PyCFunction_FastCallDict (GH-14269)
üst
8713aa6d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
29 deletions
+5
-29
methodobject.h
Include/methodobject.h
+0
-5
call.c
Objects/call.c
+0
-18
ceval.c
Python/ceval.c
+4
-4
libpython.py
Tools/gdb/libpython.py
+1
-2
No files found.
Include/methodobject.h
Dosyayı görüntüle @
7e1a9aac
...
@@ -42,11 +42,6 @@ PyAPI_FUNC(int) PyCFunction_GetFlags(PyObject *);
...
@@ -42,11 +42,6 @@ PyAPI_FUNC(int) PyCFunction_GetFlags(PyObject *);
PyAPI_FUNC
(
PyObject
*
)
PyCFunction_Call
(
PyObject
*
,
PyObject
*
,
PyObject
*
);
PyAPI_FUNC
(
PyObject
*
)
PyCFunction_Call
(
PyObject
*
,
PyObject
*
,
PyObject
*
);
#ifndef Py_LIMITED_API
#ifndef Py_LIMITED_API
PyAPI_FUNC
(
PyObject
*
)
_PyCFunction_FastCallDict
(
PyObject
*
func
,
PyObject
*
const
*
args
,
Py_ssize_t
nargs
,
PyObject
*
kwargs
);
PyAPI_FUNC
(
PyObject
*
)
_PyCFunction_Vectorcall
(
PyObject
*
func
,
PyAPI_FUNC
(
PyObject
*
)
_PyCFunction_Vectorcall
(
PyObject
*
func
,
PyObject
*
const
*
stack
,
PyObject
*
const
*
stack
,
size_t
nargsf
,
size_t
nargsf
,
...
...
Objects/call.c
Dosyayı görüntüle @
7e1a9aac
...
@@ -495,24 +495,6 @@ exit:
...
@@ -495,24 +495,6 @@ exit:
}
}
PyObject
*
_PyCFunction_FastCallDict
(
PyObject
*
func
,
PyObject
*
const
*
args
,
Py_ssize_t
nargs
,
PyObject
*
kwargs
)
{
PyObject
*
result
;
assert
(
func
!=
NULL
);
assert
(
PyCFunction_Check
(
func
));
result
=
_PyMethodDef_RawFastCallDict
(((
PyCFunctionObject
*
)
func
)
->
m_ml
,
PyCFunction_GET_SELF
(
func
),
args
,
nargs
,
kwargs
);
result
=
_Py_CheckFunctionResult
(
func
,
result
,
NULL
);
return
result
;
}
PyObject
*
PyObject
*
_PyMethodDef_RawFastCallKeywords
(
PyMethodDef
*
method
,
PyObject
*
self
,
_PyMethodDef_RawFastCallKeywords
(
PyMethodDef
*
method
,
PyObject
*
self
,
PyObject
*
const
*
args
,
Py_ssize_t
nargs
,
PyObject
*
const
*
args
,
Py_ssize_t
nargs
,
...
...
Python/ceval.c
Dosyayı görüntüle @
7e1a9aac
...
@@ -5018,10 +5018,10 @@ do_call_core(PyThreadState *tstate, PyObject *func, PyObject *callargs, PyObject
...
@@ -5018,10 +5018,10 @@ do_call_core(PyThreadState *tstate, PyObject *func, PyObject *callargs, PyObject
return
NULL
;
return
NULL
;
}
}
C_TRACE
(
result
,
_Py
CFunction
_FastCallDict
(
func
,
C_TRACE
(
result
,
_Py
Object
_FastCallDict
(
func
,
&
_PyTuple_ITEMS
(
callargs
)[
1
],
&
_PyTuple_ITEMS
(
callargs
)[
1
],
nargs
-
1
,
nargs
-
1
,
kwdict
));
kwdict
));
Py_DECREF
(
func
);
Py_DECREF
(
func
);
return
result
;
return
result
;
}
}
...
...
Tools/gdb/libpython.py
Dosyayı görüntüle @
7e1a9aac
...
@@ -1563,8 +1563,7 @@ class Frame(object):
...
@@ -1563,8 +1563,7 @@ class Frame(object):
if
not
caller
:
if
not
caller
:
return
False
return
False
if
caller
in
(
'_PyCFunction_FastCallDict'
,
if
caller
in
(
'_PyCFunction_Vectorcall'
,
'_PyCFunction_Vectorcall'
,
'cfunction_call_varargs'
):
'cfunction_call_varargs'
):
arg_name
=
'func'
arg_name
=
'func'
# Within that frame:
# Within that frame:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment