Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

warnings.catch_warnings docs: dubious mention of sys.stdout #129846

Open
Labels
docsDocumentation in the Doc dir
@jwilk

Description

@jwilk

https://docs.python.org/3/library/warnings.html#warnings.catch_warnings reads:

Ifrecord isTrue, a list is returned that is progressively populated with objects as seen by a customshowwarning() function (which also suppresses output tosys.stdout).

Was it meant to saysys.stderr instead?
Otherwise, I don't understand why it mentionsstdout specifically. I don't see anything aboutstdout elsewhere in the module docs or in the implementation.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp