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 signature of http.client.HTTPSConnection for Python3.12 #10392

Merged
merged 4 commits into from
Jul 1, 2023

Conversation

sobolevn
Copy link
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 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
@github-actions
Copy link
Contributor

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

@AlexWaygood AlexWaygood merged commit 8162faa into main Jul 1, 2023
@AlexWaygood AlexWaygood deleted the py312-httpsconnection branch July 1, 2023 17:31
def __init__(
self,
host: str,
port: str | None = None,
Copy link
Contributor

Choose a reason for hiding this comment

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

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

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