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
0d765e38
Kaydet (Commit)
0d765e38
authored
Mar 19, 2019
tarafından
Stéphane Wirtel
Kaydeden (comit)
Miss Islington (bot)
Mar 19, 2019
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-36362: Avoid unused variables when HAVE_DYNAMIC_LOADING is not defined (GH-12430)
https://bugs.python.org/issue36362
üst
c70ab02d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
import.c
Python/import.c
+3
-2
No files found.
Python/import.c
Dosyayı görüntüle @
0d765e38
...
@@ -1983,13 +1983,14 @@ _imp_extension_suffixes_impl(PyObject *module)
...
@@ -1983,13 +1983,14 @@ _imp_extension_suffixes_impl(PyObject *module)
/*[clinic end generated code: output=0bf346e25a8f0cd3 input=ecdeeecfcb6f839e]*/
/*[clinic end generated code: output=0bf346e25a8f0cd3 input=ecdeeecfcb6f839e]*/
{
{
PyObject
*
list
;
PyObject
*
list
;
const
char
*
suffix
;
unsigned
int
index
=
0
;
list
=
PyList_New
(
0
);
list
=
PyList_New
(
0
);
if
(
list
==
NULL
)
if
(
list
==
NULL
)
return
NULL
;
return
NULL
;
#ifdef HAVE_DYNAMIC_LOADING
#ifdef HAVE_DYNAMIC_LOADING
const
char
*
suffix
;
unsigned
int
index
=
0
;
while
((
suffix
=
_PyImport_DynLoadFiletab
[
index
]))
{
while
((
suffix
=
_PyImport_DynLoadFiletab
[
index
]))
{
PyObject
*
item
=
PyUnicode_FromString
(
suffix
);
PyObject
*
item
=
PyUnicode_FromString
(
suffix
);
if
(
item
==
NULL
)
{
if
(
item
==
NULL
)
{
...
...
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