FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix signature of `http.client.HTTPSConnection` for Python3.12 by sobolevn · Pull Request #10392 · python/typeshed · GitHub

Fix signature of http.client.HTTPSConnection for Python3.12 - #10392

Merged
AlexWaygood merged 4 commits into
mainfrom
py312-httpsconnection
Jul 1, 2023
Merged

Fix signature of http.client.HTTPSConnection for Python3.12#10392
AlexWaygood merged 4 commits into
mainfrom
py312-httpsconnection

Conversation

Copy link
Copy Markdown
Member

Source: https://github.com/python/cpython/blob/3.12/Lib/http/client.py#L1441-L1443

I will change http.client.HTTPConnection.get_proxy_response_headers after we will decide on python/cpython#105628

sobolevn changed the title Fix signature of `http.client.HTTPSConnection for Python3.12 Fix signature of http.client.HTTPSConnection for Python3.12 Jun 30, 2023

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

AlexWaygood merged commit 8162faa into main Jul 1, 2023
AlexWaygood deleted the py312-httpsconnection branch July 1, 2023 17:31
Comment thread stdlib/http/client.pyi
def __init__(
self,
host: str,
port: str | None = None,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Was it intentional to change this to str? I'm fairly sure this is incorrect...

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL