-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
gh-121163: Add support for all
as an valid alias for always
in warnings.simplefilter
and warnings.filterswarnings
#121164
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. It makes sense to support -Wall
which is commonly used in GCC/clang. And making it as alias to "always" makes sense to "all" means showing "all" warnings. "default" or "once" would not fit -Wall.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Merged, thanks. |
This was introduced in python#121164 and appears to be causing test failures on main
This was introduced in #121164 and appears to be causing test failures on main
….simplefilter() (python#121164) Add support for ``all`` as an valid alias for ``always`` in ``warnings.simplefilter()`` and ``warnings.filterswarnings()``.
This was introduced in python#121164 and appears to be causing test failures on main
….simplefilter() (python#121164) Add support for ``all`` as an valid alias for ``always`` in ``warnings.simplefilter()`` and ``warnings.filterswarnings()``.
This was introduced in python#121164 and appears to be causing test failures on main
warnings.filterswarnings/simplefilter
. #121163