Skip to content

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

@sobolevnsobolevn changed the title Fix signature of `http.client.HTTPSConnection for Python3.12Fix signature of http.client.HTTPSConnection for Python3.12Jun 30, 2023
@github-actions
Copy link
Contributor

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

@AlexWaygoodAlexWaygood merged commit 8162faa into mainJul 1, 2023
@AlexWaygoodAlexWaygood 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 freeto 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.

4 participants

@sobolevn@allisonkarlitskaya@AlexWaygood