GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Incorrect documentation for the registry parameter in warnings.warn_explicit() · Issue #140241 · python/cpython

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

New issue
Copy link
New issue
Copy link
Closed
Closed
Incorrect documentation for the registry parameter in warnings.warn_explicit()#140241
Copy link
Labels
3.13only security fixesonly security fixes3.14bugs and security fixesbugs and security fixes3.15bugs and security fixesbugs and security fixesdocsDocumentation in the Doc dirDocumentation in the Doc dir

Description

@serhiy-storchaka
serhiy-storchaka
opened on Oct 17, 2025
Issue body actions

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

  • gh-140241: Fix documentation for the registry parameter of warnings.warn_explicit() #140242
  • [3.14] gh-140241: Fix documentation for the registry parameter of warnings.warn_explicit() (GH-140242) #140292
  • [3.13] gh-140241: Fix documentation for the registry parameter of warnings.warn_explicit() (GH-140242) #140293

Activity

  1. serhiy-storchaka
    added
    docsDocumentation in the Doc dirDocumentation in the Doc dir
    3.13only security fixesonly security fixes
    3.14bugs and security fixesbugs and security fixes
    3.15bugs and security fixesbugs and security fixes
    on Oct 17, 2025
  2. github-project-automation
    added this to docs issueson Oct 17, 2025
  3. github-project-automation
    moved this to Todo in docs issueson Oct 17, 2025
  4. serhiy-storchaka
    added a commit that references this issue on Oct 17, 2025

    pythongh-140241: Fix documentation for the registry parameter of warn…

    5e5771d
  5. serhiy-storchaka
    added a parent issue on Oct 17, 2025
    • Improve/fix filtering SyntaxWarnings by module #135801
  6. serhiy-storchaka
    added a commit that references this issue on Oct 18, 2025

    gh-140241: Fix documentation for the registry parameter of warnings.w…

    78e1d65
  7. miss-islington
    added 2 commits that reference this issue on Oct 18, 2025

    pythongh-140241: Fix documentation for the registry parameter of warn…

    2f350ef

    pythongh-140241: Fix documentation for the registry parameter of warn…

    1d04d87
  8. serhiy-storchaka
    closed this as completedon Oct 18, 2025
  9. serhiy-storchaka
    added 2 commits that reference this issue on Oct 18, 2025

    [3.14] gh-140241: Fix documentation for the registry parameter of war…

    c70f409

    [3.13] gh-140241: Fix documentation for the registry parameter of war…

    762fbdb
  10. StanFromIreland
    added a commit that references this issue on Dec 6, 2025

    pythongh-140241: Fix documentation for the registry parameter of warn…

    932af8d
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 fixesonly security fixes3.14bugs and security fixesbugs and security fixes3.15bugs and security fixesbugs and security fixesdocsDocumentation in the Doc dirDocumentation in the Doc dir

    Projects

    • docs issues
      Status
      Todo
      Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.