Skip to content

bpo-35649: update http client example#11441

Merged
JulienPalard merged 1 commit into
python:masterfrom
epicfaace:bpo35649
Sep 11, 2019
Merged

bpo-35649: update http client example#11441
JulienPalard merged 1 commit into
python:masterfrom
epicfaace:bpo35649

Conversation

@epicfaace
Copy link
Copy Markdown
Contributor

@epicfaace epicfaace commented Jan 6, 2019

@the-knights-who-say-ni
Copy link
Copy Markdown

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA).

Unfortunately we couldn't find an account corresponding to your GitHub username on bugs.python.org (b.p.o) to verify you have signed the CLA (this might be simply due to a missing "GitHub Name" entry in your b.p.o account settings). This is necessary for legal reasons before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

You can check yourself to see if the CLA has been received.

Thanks again for your contribution, we look forward to reviewing it!

Copy link
Copy Markdown
Contributor

@BoboTiG BoboTiG left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution @epicfaace :)

Changes LGTM, I think it is not needed to add the NEWs entry (a core dev will correct me if wrong).

@epicfaace
Copy link
Copy Markdown
Contributor Author

@vadmium any updates?

Copy link
Copy Markdown
Member

@JulienPalard JulienPalard left a comment

Choose a reason for hiding this comment

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

I think this is a good place to demo the walrus operator, what about:

while chunk := r1.read(200):
    print(chunk)

Or we could apply your version to 3.7 and the walrus using one on 3.8?

@bedevere-bot
Copy link
Copy Markdown

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@miss-islington
Copy link
Copy Markdown
Contributor

Thanks @epicfaace for the PR, and @JulienPalard for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8.
🐍🍒⛏🤖

@bedevere-bot
Copy link
Copy Markdown

GH-15930 is a backport of this pull request to the 3.8 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 11, 2019
(cherry picked from commit 62cf698)

Co-authored-by: Ashwin Ramaswami <aramaswamis@gmail.com>
@bedevere-bot
Copy link
Copy Markdown

GH-15931 is a backport of this pull request to the 3.7 branch.

JulienPalard pushed a commit that referenced this pull request Sep 11, 2019
(cherry picked from commit 62cf698)

Co-authored-by: Ashwin Ramaswami <aramaswamis@gmail.com>
JulienPalard pushed a commit that referenced this pull request Sep 11, 2019
(cherry picked from commit 62cf698)

Co-authored-by: Ashwin Ramaswami <aramaswamis@gmail.com>
DinoV pushed a commit to DinoV/cpython that referenced this pull request Sep 12, 2019
@epicfaace epicfaace deleted the bpo35649 branch March 16, 2020 18:43
websurfer5 pushed a commit to websurfer5/cpython that referenced this pull request Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants