Skip to content

[ssl] Set values to constants #14544

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

Merged
merged 2 commits into from
Aug 8, 2025
Merged

Conversation

donBarbos
Copy link
Contributor

This comment has been minimized.

Copy link
Contributor

github-actions bot commented Aug 8, 2025

Diff from mypy_primer, showing the effect of this PR on open source code:

urllib3 (https://github.com/urllib3/urllib3)
+ src/urllib3/util/ssl_.py:139: error: Cannot assign to final name "OP_NO_COMPRESSION"  [misc]
+ src/urllib3/util/ssl_.py:139: note: Error code "misc" not covered by "type: ignore" comment
+ src/urllib3/util/ssl_.py:140: error: Cannot assign to final name "OP_NO_TICKET"  [misc]
+ src/urllib3/util/ssl_.py:140: note: Error code "misc" not covered by "type: ignore" comment
+ src/urllib3/util/ssl_.py:141: error: Cannot assign to final name "OP_NO_SSLv2"  [misc]
+ src/urllib3/util/ssl_.py:141: note: Error code "misc" not covered by "type: ignore" comment
+ src/urllib3/util/ssl_.py:142: error: Cannot assign to final name "OP_NO_SSLv3"  [misc]
+ src/urllib3/util/ssl_.py:142: note: Error code "misc" not covered by "type: ignore" comment
+ src/urllib3/util/ssl_.py:143: error: Cannot assign to final name "PROTOCOL_TLS"  [misc]
+ src/urllib3/util/ssl_.py:143: note: Error code "misc" not covered by "type: ignore" comment
+ src/urllib3/util/ssl_.py:144: error: Cannot assign to final name "PROTOCOL_TLS_CLIENT"  [misc]
+ src/urllib3/util/ssl_.py:144: note: Error code "misc" not covered by "type: ignore" comment
+ src/urllib3/util/ssl_.py:146: error: Cannot assign to final name "VERIFY_X509_STRICT"  [misc]
+ src/urllib3/util/ssl_.py:146: note: Error code "misc" not covered by "type: ignore" comment

@srittau srittau merged commit 56264ac into python:main Aug 8, 2025
63 checks passed
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.

2 participants