Skip to content

gh-132987: Support __index__() in the ssl.SSLContext.options setter#133098

Merged
serhiy-storchaka merged 2 commits into
python:mainfrom
serhiy-storchaka:ssl-unsigned-int-index
Apr 29, 2025
Merged

gh-132987: Support __index__() in the ssl.SSLContext.options setter#133098
serhiy-storchaka merged 2 commits into
python:mainfrom
serhiy-storchaka:ssl-unsigned-int-index

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Apr 28, 2025

Copy link
Copy Markdown
Member

@serhiy-storchaka

Copy link
Copy Markdown
Member Author

As a side effect, ValueError is now raised instead of OverflowError for negative values. See also #74020.

@vstinner vstinner 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 merged commit 0fb4c38 into python:main Apr 29, 2025
@serhiy-storchaka
serhiy-storchaka deleted the ssl-unsigned-int-index branch July 1, 2026 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants