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
cdf578eb
Kaydet (Commit)
cdf578eb
authored
Ock 20, 1997
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
New lay-out of frame object, for fewer mallocs.
See frameobject.c checkin message.
üst
7eb883a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
frameobject.h
Include/frameobject.h
+8
-9
No files found.
Include/frameobject.h
Dosyayı görüntüle @
cdf578eb
...
...
@@ -50,18 +50,17 @@ typedef struct _frame {
PyObject
*
f_builtins
;
/* builtin symbol table (PyDictObject) */
PyObject
*
f_globals
;
/* global symbol table (PyDictObject) */
PyObject
*
f_locals
;
/* local symbol table (PyDictObject) */
PyObject
*
f_owner
;
/* owner (e.g. class or module) or NULL */
PyObject
*
f_fastlocals
;
/* fast local variables (PyListObject) */
PyObject
**
f_valuestack
;
/* malloc'ed array */
PyTryBlock
*
f_blockstack
;
/* malloc'ed array */
int
f_nvalues
;
/* size of f_valuestack */
int
f_nblocks
;
/* size of f_blockstack */
int
f_iblock
;
/* index in f_blockstack */
PyObject
**
f_valuestack
;
/* points after the last local */
PyObject
*
f_trace
;
/* Trace function */
int
f_lasti
;
/* Last instruction if called */
int
f_lineno
;
/* Current line number */
int
f_restricted
;
/* Flag set if restricted operations
in this scope */
PyObject
*
f_trace
;
/* Trace function */
int
f_iblock
;
/* index in f_blockstack */
PyTryBlock
f_blockstack
[
CO_MAXBLOCKS
];
/* for try and loop blocks */
int
f_nlocals
;
/* number of locals */
int
f_stacksize
;
/* size of value stack */
PyObject
*
f_localsplus
[
1
];
/* locals+stack, dynamically sized */
}
PyFrameObject
;
...
...
@@ -73,7 +72,7 @@ extern DL_IMPORT(PyTypeObject) PyFrame_Type;
PyFrameObject
*
PyFrame_New
Py_PROTO
((
PyFrameObject
*
,
PyCodeObject
*
,
PyObject
*
,
PyObject
*
,
PyObject
*
,
int
,
int
));
PyObject
*
,
PyObject
*
));
/* The rest of the interface is specific for frame objects */
...
...
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