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

Consider support "all" as an valid action for warnings.filterswarnings/simplefilter. #121163

Closed
Eclips4 opened this issue Jun 29, 2024 · 1 comment
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@Eclips4
Copy link
Member

Eclips4 commented Jun 29, 2024

Feature or enhancement

Proposal:

During reviewing the #121102, I found out that all is actually supported somewhere, but this support is not complete. Since users of Python are using it, I think that deprecating this behaviour would be incorrect. The best thing we can do here is to extend the support.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

@Eclips4 Eclips4 added type-feature A feature request or enhancement stdlib Python modules in the Lib dir labels Jun 29, 2024
vstinner pushed a commit that referenced this issue Jun 30, 2024
…efilter() (#121164)

Add support for ``all`` as an valid alias for ``always`` in ``warnings.simplefilter()``
and ``warnings.filterswarnings()``.
@vstinner
Copy link
Member

Fixed by 1a84bdc.

noahbkim pushed a commit to hudson-trading/cpython that referenced this issue Jul 11, 2024
….simplefilter() (python#121164)

Add support for ``all`` as an valid alias for ``always`` in ``warnings.simplefilter()``
and ``warnings.filterswarnings()``.
estyxx pushed a commit to estyxx/cpython that referenced this issue Jul 17, 2024
….simplefilter() (python#121164)

Add support for ``all`` as an valid alias for ``always`` in ``warnings.simplefilter()``
and ``warnings.filterswarnings()``.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement
2 participants