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
e7086d40
Kaydet (Commit)
e7086d40
authored
Mar 17, 2006
tarafından
Neal Norwitz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
INPLACE_DIVIDE is no longer necessary (INPLACE_TRUE_DIVIDE is used).
üst
712ce454
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3 additions
and
9 deletions
+3
-9
libdis.tex
Doc/lib/libdis.tex
+0
-5
opcode.h
Include/opcode.h
+1
-1
pycodegen.py
Lib/compiler/pycodegen.py
+1
-1
opcode.py
Lib/opcode.py
+1
-1
compile.c
Python/compile.c
+0
-1
No files found.
Doc/lib/libdis.tex
Dosyayı görüntüle @
e7086d40
...
...
@@ -247,11 +247,6 @@ Implements in-place \code{TOS = TOS1 ** TOS}.
Implements in-place
\code
{
TOS = TOS1 * TOS
}
.
\end{opcodedesc}
\begin{opcodedesc}
{
INPLACE
_
DIVIDE
}{}
Implements in-place
\code
{
TOS = TOS1 / TOS
}
when
\code
{
from
__
future
__
import division
}
is not in effect.
\end{opcodedesc}
\begin{opcodedesc}
{
INPLACE
_
FLOOR
_
DIVIDE
}{}
Implements in-place
\code
{
TOS = TOS1 // TOS
}
.
\end{opcodedesc}
...
...
Include/opcode.h
Dosyayı görüntüle @
e7086d40
...
...
@@ -48,7 +48,7 @@ extern "C" {
#define INPLACE_ADD 55
#define INPLACE_SUBTRACT 56
#define INPLACE_MULTIPLY 57
#define INPLACE_DIVIDE 58
#define INPLACE_MODULO 59
#define STORE_SUBSCR 60
#define DELETE_SUBSCR 61
...
...
Lib/compiler/pycodegen.py
Dosyayı görüntüle @
e7086d40
...
...
@@ -999,7 +999,7 @@ class CodeGenerator:
'+='
:
'INPLACE_ADD'
,
'-='
:
'INPLACE_SUBTRACT'
,
'*='
:
'INPLACE_MULTIPLY'
,
'/='
:
'INPLACE_DIVIDE'
,
'/='
:
'INPLACE_
TRUE_
DIVIDE'
,
'//='
:
'INPLACE_FLOOR_DIVIDE'
,
'
%
='
:
'INPLACE_MODULO'
,
'**='
:
'INPLACE_POWER'
,
...
...
Lib/opcode.py
Dosyayı görüntüle @
e7086d40
...
...
@@ -88,7 +88,7 @@ def_op('DELETE_SLICE+3', 53)
def_op
(
'INPLACE_ADD'
,
55
)
def_op
(
'INPLACE_SUBTRACT'
,
56
)
def_op
(
'INPLACE_MULTIPLY'
,
57
)
def_op
(
'INPLACE_DIVIDE'
,
58
)
def_op
(
'INPLACE_MODULO'
,
59
)
def_op
(
'STORE_SUBSCR'
,
60
)
def_op
(
'DELETE_SUBSCR'
,
61
)
...
...
Python/compile.c
Dosyayı görüntüle @
e7086d40
...
...
@@ -1338,7 +1338,6 @@ opcode_stack_effect(int opcode, int oparg)
case
INPLACE_ADD
:
case
INPLACE_SUBTRACT
:
case
INPLACE_MULTIPLY
:
case
INPLACE_DIVIDE
:
case
INPLACE_MODULO
:
return
-
1
;
case
STORE_SUBSCR
:
...
...
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