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

add option to disable warning #68

Closed
wants to merge 1 commit into from

Conversation

koubaa
Copy link
Contributor

@koubaa koubaa commented May 14, 2024

In an environment where mono is fixed to an older version, I use pythonnet and test the system to make sure it is stable. In that environment, the version warning is distracting for users. So I propose to add a runtime option to skip displaying the warning.

@koubaa koubaa force-pushed the disable-warning-option branch from cb2f10e to 98e8938 Compare May 14, 2024 19:49
@koubaa koubaa force-pushed the disable-warning-option branch from 98e8938 to a279362 Compare May 14, 2024 19:52
@filmor
Copy link
Member

filmor commented May 14, 2024

You can control warnings with Python's builtin functions: https://docs.python.org/3/library/warnings.html#warning-filter

@koubaa koubaa closed this May 15, 2024
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