We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5fdebe commit a8d85e2Copy full SHA for a8d85e2
uasyncio/uasyncio/__init__.py
@@ -79,8 +79,8 @@ def __init__(self, s):
79
self.s = s
80
81
def read(self, n=-1):
82
- yield IORead(self.s)
83
while True:
+ yield IORead(self.s)
84
res = self.s.read(n)
85
if res is not None:
86
break
@@ -92,10 +92,10 @@ def read(self, n=-1):
92
def readline(self):
93
if __debug__:
94
log.debug("StreamReader.readline()")
95
96
# if DEBUG and __debug__:
97
# log.debug("StreamReader.readline(): after IORead: %s", s)
98
99
res = self.s.readline()
100
101
0 commit comments