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
6da3ed63
Kaydet (Commit)
6da3ed63
authored
Eki 31, 2012
tarafından
Benjamin Peterson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
initialize more global type objects (closes #16369)
üst
1625d887
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
0 deletions
+21
-0
symtablemodule.c
Modules/symtablemodule.c
+3
-0
object.c
Objects/object.c
+12
-0
unicodeobject.c
Objects/unicodeobject.c
+6
-0
No files found.
Modules/symtablemodule.c
Dosyayı görüntüle @
6da3ed63
...
@@ -52,6 +52,9 @@ init_symtable(void)
...
@@ -52,6 +52,9 @@ init_symtable(void)
{
{
PyObject
*
m
;
PyObject
*
m
;
if
(
PyType_Ready
(
&
PySTEntry_Type
)
<
0
)
return
;
m
=
Py_InitModule
(
"_symtable"
,
symtable_methods
);
m
=
Py_InitModule
(
"_symtable"
,
symtable_methods
);
if
(
m
==
NULL
)
if
(
m
==
NULL
)
return
;
return
;
...
...
Objects/object.c
Dosyayı görüntüle @
6da3ed63
...
@@ -2198,6 +2198,18 @@ _Py_ReadyTypes(void)
...
@@ -2198,6 +2198,18 @@ _Py_ReadyTypes(void)
if
(
PyType_Ready
(
&
PyFile_Type
)
<
0
)
if
(
PyType_Ready
(
&
PyFile_Type
)
<
0
)
Py_FatalError
(
"Can't initialize file type"
);
Py_FatalError
(
"Can't initialize file type"
);
if
(
PyType_Ready
(
&
PyCapsule_Type
)
<
0
)
Py_FatalError
(
"Can't initialize capsule type"
);
if
(
PyType_Ready
(
&
PyCell_Type
)
<
0
)
Py_FatalError
(
"Can't initialize cell type"
);
if
(
PyType_Ready
(
&
PyCallIter_Type
)
<
0
)
Py_FatalError
(
"Can't initialize call iter type"
);
if
(
PyType_Ready
(
&
PySeqIter_Type
)
<
0
)
Py_FatalError
(
"Can't initialize sequence iterator type"
);
}
}
...
...
Objects/unicodeobject.c
Dosyayı görüntüle @
6da3ed63
...
@@ -8847,6 +8847,12 @@ void _PyUnicode_Init(void)
...
@@ -8847,6 +8847,12 @@ void _PyUnicode_Init(void)
);
);
PyType_Ready
(
&
EncodingMapType
);
PyType_Ready
(
&
EncodingMapType
);
if
(
PyType_Ready
(
&
PyFieldNameIter_Type
)
<
0
)
Py_FatalError
(
"Can't initialize field name iterator type"
);
if
(
PyType_Ready
(
&
PyFormatterIter_Type
)
<
0
)
Py_FatalError
(
"Can't initialize formatter iter type"
);
}
}
/* Finalize the Unicode implementation */
/* Finalize the Unicode implementation */
...
...
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