Skip to content

gh-114905: Remove redundant assignment in ssl._create_unverified_context(). - #103625

Merged
serhiy-storchaka merged 2 commits into
python:mainfrom
felixxm:remove-redundant
Aug 10, 2026
Merged

gh-114905: Remove redundant assignment in ssl._create_unverified_context().#103625
serhiy-storchaka merged 2 commits into
python:mainfrom
felixxm:remove-redundant

Conversation

@felixxm

@felixxm felixxm commented Apr 19, 2023

Copy link
Copy Markdown
Contributor

context.check_hostname is already set in:

context.check_hostname = check_hostname

@arhadthedev arhadthedev added skip issue skip news topic-SSL stdlib Standard Library Python modules in the Lib/ directory labels Apr 19, 2023
Comment thread Lib/ssl.py
@serhiy-storchaka serhiy-storchaka changed the title Remove redundant assignment in ssl._create_unverified_context(). gh-114905: Remove redundant assignment in ssl._create_unverified_context(). Feb 2, 2024
@adamchainz

Copy link
Copy Markdown
Contributor

Simple cleanup.

@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Apr 12, 2026
@felixxm

felixxm commented Apr 12, 2026

Copy link
Copy Markdown
Contributor Author

This is not stale.

@felixxm

felixxm commented Apr 16, 2026

Copy link
Copy Markdown
Contributor Author

Rebased.

@github-actions github-actions Bot removed the stale Stale PR or inactive for long period of time. label May 12, 2026

@serhiy-storchaka serhiy-storchaka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. 👍

@serhiy-storchaka
serhiy-storchaka enabled auto-merge (squash) August 10, 2026 18:41
@serhiy-storchaka
serhiy-storchaka merged commit 7571c41 into python:main Aug 10, 2026
70 of 72 checks passed
@felixxm

felixxm commented Aug 10, 2026

Copy link
Copy Markdown
Contributor Author

@serhiy-storchaka Thanks 👍

@felixxm
felixxm deleted the remove-redundant branch August 10, 2026 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip issue skip news stdlib Standard Library Python modules in the Lib/ directory topic-SSL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants