We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
allowed_try_keywords
For certain imports, it would be nice to scope warning filters (e.g. in RobotLocomotion/drake#10527).
In my case, I want to do something like:
import warnings with warnings.catch_warnings(): warnings.filterwarnings( "ignore", category=ImportWarning, message="can't resolve package from __spec__") import meshcat
Without mods to 2.3.1, it throws a warning about this. If I add "with" to the allowed keywords, then it works.
Would it be possible to add this keyword?
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
For certain imports, it would be nice to scope warning filters (e.g. in RobotLocomotion/drake#10527).
In my case, I want to do something like:
Without mods to 2.3.1, it throws a warning about this. If I add "with" to the allowed keywords, then it works.
Would it be possible to add this keyword?
The text was updated successfully, but these errors were encountered: