Skip to content
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

SSLContext might create infinite recursions in some use-cases #121330

Closed
cmin764 opened this issue Jul 3, 2024 · 1 comment
Closed

SSLContext might create infinite recursions in some use-cases #121330

cmin764 opened this issue Jul 3, 2024 · 1 comment
Labels
type-bug An unexpected behavior, bug, or error

Comments

@cmin764
Copy link

cmin764 commented Jul 3, 2024

Bug report

Bug description:

Saw here this method:

    @verify_mode.setter
    def verify_mode(self, value):
        super(SSLContext, SSLContext).verify_mode.__set__(self, value)

Isn't this risking infinite recursions when the search starts from the very same class?

Related to Issue

CPython versions tested on:

3.10

Operating systems tested on:

macOS

@cmin764 cmin764 added the type-bug An unexpected behavior, bug, or error label Jul 3, 2024
@cmin764
Copy link
Author

cmin764 commented Jul 4, 2024

My bad, wasn't sure how super works in this case.

@cmin764 cmin764 closed this as completed Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant