Skip to content

Update for loop to infinity in http_client.py#80

Merged
john-g-g merged 1 commit intosteemit:masterfrom
E-D-A:E-D-A-patch-1
Nov 20, 2017
Merged

Update for loop to infinity in http_client.py#80
john-g-g merged 1 commit intosteemit:masterfrom
E-D-A:E-D-A-patch-1

Conversation

@E-D-A
Copy link
Contributor

@E-D-A E-D-A commented Oct 13, 2017

The elif-statement in its original form would never be executed, so the exception would never be raised. This could potentially lead to an infinite loop.

The elif-statement in its original form would never be executed, so the exception would never be raised. This could potentially lead to an infinite loop.
Copy link
Contributor

@aditya-ramabadran aditya-ramabadran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right, in the previous state, the elif statement wouldn't be executed ever. This means the e would never be raised. It looks like your changes work.

Copy link
Contributor

@john-g-g john-g-g left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank your for your contribution!

@john-g-g john-g-g merged commit 2eaed3d into steemit:master Nov 20, 2017
Dont-Copy-That-Floppy pushed a commit to Dont-Copy-That-Floppy/steem-python that referenced this pull request Feb 23, 2025
Update for loop to infinity in http_client.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants