Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix host datatype in addr of socket.create_server example. #17706

Merged
merged 1 commit into from Jan 11, 2020

Conversation

@tirkarthi
Copy link
Member

tirkarthi commented Dec 26, 2019

The example raises a TypeError that host part of addr should be str, bytes or bytearray expected.

@tirkarthi

This comment has been minimized.

Copy link
Member Author

tirkarthi commented Jan 8, 2020

@asvetlov It will be helpful to have your review of this doc change. Thanks.

Copy link
Contributor

asvetlov left a comment

LGTM!

@tirkarthi tirkarthi merged commit 43682f1 into python:master Jan 11, 2020
8 checks passed
8 checks passed
Windows (x86)
Details
Windows (x64)
Details
macOS
Details
Ubuntu
Details
Azure Pipelines PR #20191226.2 succeeded
Details
bedevere/issue-number Issue report skipped
bedevere/news "skip news" label found
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@tirkarthi tirkarthi deleted the tirkarthi:fix-socket-example-addr branch Jan 11, 2020
@miss-islington

This comment has been minimized.

Copy link

miss-islington commented Jan 11, 2020

Thanks @tirkarthi for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒🤖

@bedevere-bot

This comment has been minimized.

Copy link

bedevere-bot commented Jan 11, 2020

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

miss-islington added a commit to miss-islington/cpython that referenced this pull request Jan 11, 2020
Host as None in address raises TypeError since it should be string, bytes or bytearray.
(cherry picked from commit 43682f1)

Co-authored-by: Karthikeyan Singaravelan <tir.karthi@gmail.com>
miss-islington added a commit that referenced this pull request Jan 11, 2020
Host as None in address raises TypeError since it should be string, bytes or bytearray.
(cherry picked from commit 43682f1)

Co-authored-by: Karthikeyan Singaravelan <tir.karthi@gmail.com>
petdance added a commit to petdance/cpython that referenced this pull request Jan 17, 2020
Host as None in address raises TypeError since it should be string, bytes or bytearray.
petdance added a commit to petdance/cpython that referenced this pull request Jan 17, 2020
Host as None in address raises TypeError since it should be string, bytes or bytearray.
petdance added a commit to petdance/cpython that referenced this pull request Jan 17, 2020
Host as None in address raises TypeError since it should be string, bytes or bytearray.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.