bpo-38669: Add check for the type of target#17034
Conversation
|
Please add the issue number in the required format so that the PR is linked to the issue. I guess this needs a NEWS entry. |
76ed816 to
382d0bc
Compare
brandtbucher
left a comment
There was a problem hiding this comment.
Thanks for the patch @elenaoat! I've got a couple of formatting suggestions, but otherwise I like what you've done here:
Also add a test.
Remove the unnecessary else too.
Also improve formatting and enrich news.
terryjreedy
left a comment
There was a problem hiding this comment.
This looks ready to commit to me.
No need to use f-string.
|
@cjw296 Given the approvals it would be helpful to have your review of this PR. Thanks. |
cjw296
left a comment
There was a problem hiding this comment.
Looks good to me! Honestly, I'd think of this as a bug and so would be happy to see it backported.
|
I'm having trouble backporting to |
|
@Mariatta - any ideas on the socket error above? |
https://bugs.python.org/issue38669