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
c86ca26d
Kaydet (Commit)
c86ca26d
authored
Şub 15, 2015
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #23096: Pickle representation of floats with protocol 0 now is the same
for both Python and C implementations.
üst
d362c212
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
NEWS
Misc/NEWS
+3
-0
_pickle.c
Modules/_pickle.c
+1
-1
No files found.
Misc/NEWS
Dosyayı görüntüle @
c86ca26d
...
...
@@ -13,6 +13,9 @@ Core and Builtins
Library
-------
- Issue #23096: Pickle representation of floats with protocol 0 now is the same
for both Python and C implementations.
- Issue #19105: pprint now more efficiently uses free space at the right.
- Issue #14910: Add allow_abbrev parameter to argparse.ArgumentParser. Patch by
...
...
Modules/_pickle.c
Dosyayı görüntüle @
c86ca26d
...
...
@@ -1979,7 +1979,7 @@ save_float(PicklerObject *self, PyObject *obj)
if
(
_Pickler_Write
(
self
,
&
op
,
1
)
<
0
)
goto
done
;
buf
=
PyOS_double_to_string
(
x
,
'
g'
,
17
,
0
,
NULL
);
buf
=
PyOS_double_to_string
(
x
,
'
r'
,
0
,
Py_DTSF_ADD_DOT_
0
,
NULL
);
if
(
!
buf
)
{
PyErr_NoMemory
();
goto
done
;
...
...
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