Skip to content

Incorrect documentation for the registry parameter in warnings.warn_explicit() #140241

Description

@serhiy-storchaka

The current documentation "if no registry is passed, the warning is never suppressed" is misleading. The warning still can be suppressed if the filter action "ignore" is used. But actions "default", "module" and "once" all work as "always".

Linked PRs

Activity

  1. added
    docsDocumentation in the Doc dir
    3.13only security fixes
    3.14bugs and security fixes
    3.15bugs and security fixes
    on Oct 17, 2025
  2. added a commit that references this issue on Oct 17, 2025
  3. added a commit that references this issue on Oct 18, 2025
  4. added 2 commits that reference this issue on Oct 18, 2025
  5. added 2 commits that reference this issue on Oct 18, 2025
  6. added a commit that references this issue on Dec 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13only security fixes3.14bugs and security fixes3.15bugs and security fixesdocsDocumentation in the Doc dir

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions