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
bd6ec4d7
Unverified
Kaydet (Commit)
bd6ec4d7
authored
Ara 18, 2017
tarafından
Serhiy Storchaka
Kaydeden (comit)
GitHub
Ara 18, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-32365: Fix a reference leak when compile __debug__. (#4916)
It was introduced in bpo-27169.
üst
b2a6083e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
compile.c
Python/compile.c
+4
-4
No files found.
Python/compile.c
Dosyayı görüntüle @
bd6ec4d7
...
...
@@ -3094,10 +3094,6 @@ compiler_nameop(struct compiler *c, identifier name, expr_context_ty ctx)
PyObject
*
mangled
;
/* XXX AugStore isn't used anywhere! */
mangled
=
_Py_Mangle
(
c
->
u
->
u_private
,
name
);
if
(
!
mangled
)
return
0
;
assert
(
!
_PyUnicode_EqualToASCIIString
(
name
,
"None"
)
&&
!
_PyUnicode_EqualToASCIIString
(
name
,
"True"
)
&&
!
_PyUnicode_EqualToASCIIString
(
name
,
"False"
));
...
...
@@ -3107,6 +3103,10 @@ compiler_nameop(struct compiler *c, identifier name, expr_context_ty ctx)
return
1
;
}
mangled
=
_Py_Mangle
(
c
->
u
->
u_private
,
name
);
if
(
!
mangled
)
return
0
;
op
=
0
;
optype
=
OP_NAME
;
scope
=
PyST_GetScope
(
c
->
u
->
u_ste
,
mangled
);
...
...
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