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
70c60449
Kaydet (Commit)
70c60449
authored
Eyl 23, 2010
tarafından
Antoine Pitrou
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #9928: Properly initialize the types exported by the bz2 module.
üst
ab58b5f9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
NEWS
Misc/NEWS
+2
-0
bz2module.c
Modules/bz2module.c
+6
-3
No files found.
Misc/NEWS
Dosyayı görüntüle @
70c60449
...
...
@@ -62,6 +62,8 @@ Core and Builtins
Library
-------
- Issue #9928: Properly initialize the types exported by the bz2 module.
- Issue #1675951: Allow GzipFile to work with unseekable file objects.
Patch by Florian Festi.
...
...
Modules/bz2module.c
Dosyayı görüntüle @
70c60449
...
...
@@ -2155,9 +2155,12 @@ PyInit_bz2(void)
{
PyObject
*
m
;
Py_TYPE
(
&
BZ2File_Type
)
=
&
PyType_Type
;
Py_TYPE
(
&
BZ2Comp_Type
)
=
&
PyType_Type
;
Py_TYPE
(
&
BZ2Decomp_Type
)
=
&
PyType_Type
;
if
(
PyType_Ready
(
&
BZ2File_Type
)
<
0
)
return
NULL
;
if
(
PyType_Ready
(
&
BZ2Comp_Type
)
<
0
)
return
NULL
;
if
(
PyType_Ready
(
&
BZ2Decomp_Type
)
<
0
)
return
NULL
;
m
=
PyModule_Create
(
&
bz2module
);
if
(
m
==
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