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

swig: Python setters work even for non-existing attributes #2115

Open
jan-kolarik opened this issue Mar 7, 2025 · 0 comments
Open

swig: Python setters work even for non-existing attributes #2115

jan-kolarik opened this issue Mar 7, 2025 · 0 comments

Comments

@jan-kolarik
Copy link
Member

jan-kolarik commented Mar 7, 2025

Python clients might be using methods that get deprecated and removed over time, like:

conf.gpgcheck = True

Even if the gpgcheck attribute is no longer available on the object, Python allows dynamically creating it, so the statement executes without errors - but it doesn’t actually do what's expected.

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

No branches or pull requests

1 participant