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
51f4616f
Kaydet (Commit)
51f4616f
authored
Ock 23, 2013
tarafından
Benjamin Peterson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
revert #16672 for incorrect semantics
üst
42d8773d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
NEWS
Misc/NEWS
+0
-2
ceval.c
Python/ceval.c
+3
-4
No files found.
Misc/NEWS
Dosyayı görüntüle @
51f4616f
...
@@ -50,8 +50,6 @@ Core and Builtins
...
@@ -50,8 +50,6 @@ Core and Builtins
- Issue #15422: Get rid of PyCFunction_New macro. Use PyCFunction_NewEx
- Issue #15422: Get rid of PyCFunction_New macro. Use PyCFunction_NewEx
function (PyCFunction_New func is still present for backward compatibility).
function (PyCFunction_New func is still present for backward compatibility).
- Issue #16672: Improve performance tracing performance
- Issue #14470: Remove w9xpopen support per PEP 11.
- Issue #14470: Remove w9xpopen support per PEP 11.
- Issue #9856: Replace deprecation warning with raising TypeError
- Issue #9856: Replace deprecation warning with raising TypeError
...
...
Python/ceval.c
Dosyayı görüntüle @
51f4616f
...
@@ -1277,8 +1277,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
...
@@ -1277,8 +1277,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
/* line-by-line tracing support */
/* line-by-line tracing support */
if
(
_Py_TracingPossible
&&
if
(
_Py_TracingPossible
&&
tstate
->
c_tracefunc
!=
NULL
&&
!
tstate
->
tracing
&&
tstate
->
c_tracefunc
!=
NULL
&&
!
tstate
->
tracing
)
{
f
->
f_trace
!=
NULL
)
{
int
err
;
int
err
;
/* see maybe_call_line_trace
/* see maybe_call_line_trace
for expository comments */
for expository comments */
...
@@ -3009,7 +3008,7 @@ error:
...
@@ -3009,7 +3008,7 @@ error:
/* Log traceback info. */
/* Log traceback info. */
PyTraceBack_Here
(
f
);
PyTraceBack_Here
(
f
);
if
(
tstate
->
c_tracefunc
!=
NULL
&&
f
->
f_trace
!=
NULL
)
if
(
tstate
->
c_tracefunc
!=
NULL
)
call_exc_trace
(
tstate
->
c_tracefunc
,
tstate
->
c_traceobj
,
f
);
call_exc_trace
(
tstate
->
c_tracefunc
,
tstate
->
c_traceobj
,
f
);
fast_block_end:
fast_block_end:
...
@@ -3128,7 +3127,7 @@ fast_yield:
...
@@ -3128,7 +3127,7 @@ fast_yield:
}
}
if
(
tstate
->
use_tracing
)
{
if
(
tstate
->
use_tracing
)
{
if
(
tstate
->
c_tracefunc
&&
f
->
f_trace
!=
NULL
)
{
if
(
tstate
->
c_tracefunc
)
{
if
(
why
==
WHY_RETURN
||
why
==
WHY_YIELD
)
{
if
(
why
==
WHY_RETURN
||
why
==
WHY_YIELD
)
{
if
(
call_trace
(
tstate
->
c_tracefunc
,
if
(
call_trace
(
tstate
->
c_tracefunc
,
tstate
->
c_traceobj
,
f
,
tstate
->
c_traceobj
,
f
,
...
...
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