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
edd0de58
Kaydet (Commit)
edd0de58
authored
Agu 20, 2013
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Issue #13461: Fix a crash in the TextIOWrapper.tell method on 64-bit platforms.
Patch by Yogesh Chaudhari.
üst
bb2c45e7
ec67d187
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
NEWS
Misc/NEWS
+3
-0
textio.c
Modules/_io/textio.c
+1
-1
No files found.
Misc/NEWS
Dosyayı görüntüle @
edd0de58
...
...
@@ -284,6 +284,9 @@ Core and Builtins
Library
-------
- Issue #13461: Fix a crash in the TextIOWrapper.tell method on 64-bit
platforms. Patch by Yogesh Chaudhari.
- Issue #18681: Fix a NameError in importlib.reload() (noticed by Weizhao Li).
- Issue #14323: Expanded the number of digits in the coefficients for the
...
...
Modules/_io/textio.c
Dosyayı görüntüle @
edd0de58
...
...
@@ -2368,7 +2368,7 @@ textiowrapper_tell(textio *self, PyObject *args)
while
(
input
<
input_end
)
{
Py_ssize_t
n
;
DECODER_DECODE
(
input
,
1
,
n
);
DECODER_DECODE
(
input
,
(
Py_ssize_t
)
1
,
n
);
/* We got n chars for 1 byte */
chars_decoded
+=
n
;
cookie
.
bytes_to_feed
+=
1
;
...
...
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