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
52794db8
Kaydet (Commit)
52794db8
authored
Eyl 08, 2016
tarafından
Brett Cannon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #27911: Remove some unnecessary error checks in import.c.
Thanks to Xiang Zhang for the patch.
üst
46f97b85
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
NEWS
Misc/NEWS
+3
-0
import.c
Python/import.c
+2
-6
No files found.
Misc/NEWS
Dosyayı görüntüle @
52794db8
...
...
@@ -10,6 +10,9 @@ What's New in Python 3.6.0 beta 1
Core and Builtins
-----------------
- Issue #27911: Remove unnecessary error checks in
import.c:exec_builtin_or_dynamic().
- Issue #27983: Cause lack of llvm-profdata tool when using clang as
required for PGO linking to be a configure time error rather than
make time when --with-optimizations is enabled. Also improve our
...
...
Python/import.c
Dosyayı görüntüle @
52794db8
...
...
@@ -1942,19 +1942,15 @@ exec_builtin_or_dynamic(PyObject *mod) {
def
=
PyModule_GetDef
(
mod
);
if
(
def
==
NULL
)
{
if
(
PyErr_Occurred
())
{
return
-
1
;
}
return
0
;
}
state
=
PyModule_GetState
(
mod
);
if
(
PyErr_Occurred
())
{
return
-
1
;
}
if
(
state
)
{
/* Already initialized; skip reload */
return
0
;
}
return
PyModule_ExecDef
(
mod
,
def
);
}
...
...
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