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
712ce454
Kaydet (Commit)
712ce454
authored
Mar 17, 2006
tarafından
Neal Norwitz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
_Py_QnewFlag and INPLACE_DIVIDE are not necessary any longer
üst
bd2835c6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
21 deletions
+0
-21
pydebug.h
Include/pydebug.h
+0
-4
ceval.c
Python/ceval.c
+0
-13
pythonrun.c
Python/pythonrun.c
+0
-4
No files found.
Include/pydebug.h
Dosyayı görüntüle @
712ce454
...
@@ -16,10 +16,6 @@ PyAPI_DATA(int) Py_TabcheckFlag;
...
@@ -16,10 +16,6 @@ PyAPI_DATA(int) Py_TabcheckFlag;
PyAPI_DATA
(
int
)
Py_UnicodeFlag
;
PyAPI_DATA
(
int
)
Py_UnicodeFlag
;
PyAPI_DATA
(
int
)
Py_IgnoreEnvironmentFlag
;
PyAPI_DATA
(
int
)
Py_IgnoreEnvironmentFlag
;
PyAPI_DATA
(
int
)
Py_DivisionWarningFlag
;
PyAPI_DATA
(
int
)
Py_DivisionWarningFlag
;
/* _XXX Py_QnewFlag should go away in 3.0. It's true iff -Qnew is passed,
on the command line, and is used in 2.2 by ceval.c to make all "/" divisions
true divisions (which they will be in 3.0). */
PyAPI_DATA
(
int
)
_Py_QnewFlag
;
/* this is a wrapper around getenv() that pays attention to
/* this is a wrapper around getenv() that pays attention to
Py_IgnoreEnvironmentFlag. It should be used for getting variables like
Py_IgnoreEnvironmentFlag. It should be used for getting variables like
...
...
Python/ceval.c
Dosyayı görüntüle @
712ce454
...
@@ -1262,19 +1262,6 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throw)
...
@@ -1262,19 +1262,6 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throw)
if
(
x
!=
NULL
)
continue
;
if
(
x
!=
NULL
)
continue
;
break
;
break
;
case
INPLACE_DIVIDE
:
if
(
!
_Py_QnewFlag
)
{
w
=
POP
();
v
=
TOP
();
x
=
PyNumber_InPlaceDivide
(
v
,
w
);
Py_DECREF
(
v
);
Py_DECREF
(
w
);
SET_TOP
(
x
);
if
(
x
!=
NULL
)
continue
;
break
;
}
/* -Qnew is in effect: fall through to
INPLACE_TRUE_DIVIDE */
case
INPLACE_TRUE_DIVIDE
:
case
INPLACE_TRUE_DIVIDE
:
w
=
POP
();
w
=
POP
();
v
=
TOP
();
v
=
TOP
();
...
...
Python/pythonrun.c
Dosyayı görüntüle @
712ce454
...
@@ -71,10 +71,6 @@ int Py_UseClassExceptionsFlag = 1; /* Needed by bltinmodule.c: deprecated */
...
@@ -71,10 +71,6 @@ int Py_UseClassExceptionsFlag = 1; /* Needed by bltinmodule.c: deprecated */
int
Py_FrozenFlag
;
/* Needed by getpath.c */
int
Py_FrozenFlag
;
/* Needed by getpath.c */
int
Py_UnicodeFlag
=
0
;
/* Needed by compile.c */
int
Py_UnicodeFlag
=
0
;
/* Needed by compile.c */
int
Py_IgnoreEnvironmentFlag
;
/* e.g. PYTHONPATH, PYTHONHOME */
int
Py_IgnoreEnvironmentFlag
;
/* e.g. PYTHONPATH, PYTHONHOME */
/* _XXX Py_QnewFlag should go away in 2.3. It's true iff -Qnew is passed,
on the command line, and is used in 2.2 by ceval.c to make all "/" divisions
true divisions (which they will be in 2.3). */
int
_Py_QnewFlag
=
0
;
/* Reference to 'warnings' module, to avoid importing it
/* Reference to 'warnings' module, to avoid importing it
on the fly when the import lock may be held. See 683658/771097
on the fly when the import lock may be held. See 683658/771097
...
...
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