Skip to content

ssl: add VerifyFlags flags and VerifyMode enum - #3302

Merged
srittau merged 1 commit into
python:masterfrom
jlaine:ssl-enums
Oct 4, 2019
Merged

srittau merged 1 commit into
python:masterfrom
jlaine:ssl-enums

Conversation

@jlaine

@jlaine jlaine commented Oct 4, 2019

Copy link
Copy Markdown
Contributor

No description provided.

@srittau srittau left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks! Two things:

  • Just use one blank line, otherwise flake8 complains and the build fails.
  • For the enum values itself use VERIFY_DEFAULT: int as annotation. The stubs don't care about the actual values, but the type is not automatically inferred from the enum type.

@srittau
srittau merged commit 41d23a6 into python:master Oct 4, 2019
@jlaine
jlaine deleted the ssl-enums branch October 4, 2019 14:30
@jlaine

jlaine commented Oct 4, 2019

Copy link
Copy Markdown
Contributor Author

Thank you Sebastian!

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