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

2019-09-11 Thread Julien Palard
Julien Palard added the comment: New changeset 0fd8c0560b2099d2c976b17cf01cb596badc1ec6 by Julien Palard (Miss Islington (bot)) in branch '3.7': bpo-35649: update http client example (GH-11441) (GH-15931) https://github.com/python/cpython/commit/0fd8c0560b2099d2c976b17cf01cb596badc1ec6

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

2019-09-11 Thread Julien Palard
Change by Julien Palard : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

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

2019-09-11 Thread Julien Palard
Julien Palard added the comment: New changeset 43fb3bb223338511a7aee9b55d75af4a415134dc by Julien Palard (Miss Islington (bot)) in branch '3.8': bpo-35649: update http client example (GH-11441) (GH-15930) https://github.com/python/cpython/commit/43fb3bb223338511a7aee9b55d75af4a415134dc

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

2019-09-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +15570 pull_request: https://github.com/python/cpython/pull/15931 ___ Python tracker ___

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

2019-09-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +15569 pull_request: https://github.com/python/cpython/pull/15930 ___ Python tracker ___

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

2019-09-11 Thread Julien Palard
Julien Palard added the comment: New changeset 62cf6981425c6a6b136c5e2abef853364f535e9d by Julien Palard (Ashwin Ramaswami) in branch 'master': bpo-35649: update http client example (GH-11441) https://github.com/python/cpython/commit/62cf6981425c6a6b136c5e2abef853364f535e9d --

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

2019-01-05 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch, patch, patch, patch pull_requests: +10884, 10885, 10886, 10887 stage: -> patch review ___ Python tracker ___

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

2019-01-05 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +10884 stage: -> patch review ___ Python tracker ___ ___

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

2019-01-05 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch, patch, patch pull_requests: +10884, 10885, 10887 stage: -> patch review ___ Python tracker ___

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

2019-01-05 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch, patch pull_requests: +10884, 10885 stage: -> patch review ___ Python tracker ___

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

2019-01-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.8 -Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing

[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: > > Martin

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

2019-01-03 Thread Martin Panter
Martin Panter added the comment: This was changed in Python 3.2+ in Issue 16723. The response object no longer sets the “closed” attribute when it runs out of data; it is only set when the “close” method is called. Perhaps the example should be amended so that it checks if “read” returned an

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

2019-01-03 Thread skorpeo
Change by skorpeo : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[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().