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
34d33a59
Kaydet (Commit)
34d33a59
authored
Eki 19, 2013
tarafından
Benjamin Peterson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
removal u_qualname, since compiler_scope_qualname is only ever called once
üst
a8a38b8e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
compile.c
Python/compile.c
+0
-8
No files found.
Python/compile.c
Dosyayı görüntüle @
34d33a59
...
...
@@ -104,7 +104,6 @@ struct compiler_unit {
PySTEntryObject
*
u_ste
;
PyObject
*
u_name
;
PyObject
*
u_qualname
;
/* dot-separated qualified name (lazy) */
int
u_scope_type
;
/* The following fields are dicts that map objects to
...
...
@@ -507,7 +506,6 @@ compiler_unit_free(struct compiler_unit *u)
}
Py_CLEAR
(
u
->
u_ste
);
Py_CLEAR
(
u
->
u_name
);
Py_CLEAR
(
u
->
u_qualname
);
Py_CLEAR
(
u
->
u_consts
);
Py_CLEAR
(
u
->
u_names
);
Py_CLEAR
(
u
->
u_varnames
);
...
...
@@ -660,11 +658,6 @@ compiler_scope_qualname(struct compiler *c, identifier scope_name)
PyObject
*
capsule
,
*
name
,
*
seq
,
*
dot_str
,
*
locals_str
;
u
=
c
->
u
;
if
(
u
->
u_qualname
!=
NULL
)
{
Py_INCREF
(
u
->
u_qualname
);
return
u
->
u_qualname
;
}
seq
=
PyList_New
(
0
);
if
(
seq
==
NULL
)
return
NULL
;
...
...
@@ -714,7 +707,6 @@ compiler_scope_qualname(struct compiler *c, identifier scope_name)
goto
_error
;
name
=
PyUnicode_Join
(
dot_str
,
seq
);
Py_DECREF
(
seq
);
u
->
u_qualname
=
name
;
Py_XINCREF
(
name
);
return
name
;
...
...
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