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
54686e3c
Kaydet (Commit)
54686e3c
authored
Ara 24, 2008
tarafından
Benjamin Peterson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#4736 BufferRWPair.closed shouldn't try to call another property as a function
üst
e098c4ab
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
io.py
Lib/io.py
+1
-1
test_io.py
Lib/test/test_io.py
+2
-1
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/io.py
Dosyayı görüntüle @
54686e3c
...
...
@@ -1167,7 +1167,7 @@ class BufferedRWPair(BufferedIOBase):
@property
def
closed
(
self
):
return
self
.
writer
.
closed
()
return
self
.
writer
.
closed
class
BufferedRandom
(
BufferedWriter
,
BufferedReader
):
...
...
Lib/test/test_io.py
Dosyayı görüntüle @
54686e3c
...
...
@@ -554,8 +554,9 @@ class BufferedRWPairTest(unittest.TestCase):
r
=
MockRawIO
(())
w
=
MockRawIO
()
pair
=
io
.
BufferedRWPair
(
r
,
w
)
self
.
assertFalse
(
pair
.
closed
)
# XXX
need implementation
# XXX
More Tests
class
BufferedRandomTest
(
unittest
.
TestCase
):
...
...
Misc/NEWS
Dosyayı görüntüle @
54686e3c
...
...
@@ -86,6 +86,8 @@ Core and Builtins
Library
-------
- Issue #4736: io.BufferedRWPair's closed property now functions properly.
- Issue #3954: Fix a potential SystemError in _hotshot.logreader error
handling.
...
...
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