Skip to content
Myr

removed deprecated while 1:

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Riyad Parvez · committed by Riyad Parvez · parent 4656c9b · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:requests/models.py+1 added-1 removed
573 unmodified lines
574 except IncompleteRead as e:575 raise ChunkedEncodingError(e)576 except AttributeError:577 # Standard file-like object.578 while 1:578 while True:579 chunk = self.raw.read(chunk_size)580 if not chunk:581 break582 yield chunk
148 unmodified lines