[issue41104] IMAPlib debug errors

2020-06-24 Thread skorpeo
New submission from skorpeo : This line in imaplib.py inside _dump_ur function: l = map(lambda x:'%s: "%s"' % (x[0], x[1][0] and '" "'.join(x[1]) or ''), l) fails because the untagged responses are bytestrings and it expects regular strin

[issue35649] http.client doesn't close. Infinite loop

2019-01-03 Thread skorpeo
skorpeo added the comment: Ha, ok that would explain it. Yes, I think it would indeed be helpful to update the example, but then again I guess leaving it as is may be a good way to find out if people are reading the docs. On Thu, Jan 3, 2019 at 10:21 PM Martin Panter wrote: > >

[issue35649] http.client doesn't close. Infinite loop

2019-01-03 Thread skorpeo
Change by skorpeo : -- type: -> behavior ___ Python tracker <https://bugs.python.org/issue35649> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue35649] http.client doesn't close. Infinite loop

2019-01-03 Thread skorpeo
New submission from skorpeo : when testing example from https://docs.python.org/3/library/http.client.html. Specifically the chunked example, i.e. while not r1.closed. Results in infinite loop. I believe this is because line 398 function def _close_conn(self), should call self.close

[issue33662] asyncio Stream Reader Blocks on read when data fetched is less than limit

2018-05-27 Thread skorpeo
skorpeo added the comment: yes, in this case they were meant to stay open to write and read multiple messages. I was hoping to read data when it is available, the other work around was to specify n, but that also blocked once there was no more data to be fetchedEither way I will stick to

[issue33662] asyncio Stream Reader Blocks on read when data fetched is less than limit

2018-05-27 Thread skorpeo
skorpeo added the comment: Yes makes sense, it could be another bug with TTY or just my error and I did preface that I am submitting this humbly. You are also correct that there is no clean up for closing the pipes. On Mon, May 28, 2018 at 1:45 AM, Yury Selivanov wrote: > > Yury Sel

[issue33662] asyncio Stream Reader Blocks on read when data fetched is less than limit

2018-05-27 Thread skorpeo
New submission from skorpeo : I humbly submit what I think may be a bug in the asyncio.StreamReader.read() function. When n=-1 is supplied and the data is less than self._limit the read function creates a future and never wakes it up. I believe the culprit is https://github.com/python