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

asyncio.Task.print_stack doesn't use sys.stderr by default #97725

Closed
megabug opened this issue Oct 2, 2022 · 1 comment
Closed

asyncio.Task.print_stack doesn't use sys.stderr by default #97725

megabug opened this issue Oct 2, 2022 · 1 comment
Labels
topic-asyncio type-bug An unexpected behavior, bug, or error

Comments

@megabug
Copy link

megabug commented Oct 2, 2022

asyncio.Task.print_stack is described by documentation as having a default output file of sys.stderr. However, the default None is passed all the way to print statements, leading to an actual default of sys.stdout.

Linked PRs

@megabug megabug added the type-bug An unexpected behavior, bug, or error label Oct 2, 2022
arhadthedev added a commit to arhadthedev/cpython that referenced this issue Feb 7, 2023
arhadthedev added a commit to arhadthedev/cpython that referenced this issue Feb 7, 2023
ambv pushed a commit that referenced this issue Feb 8, 2023
ambv pushed a commit that referenced this issue Feb 8, 2023
@arhadthedev
Copy link
Member

Fixed by gh-101652.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic-asyncio type-bug An unexpected behavior, bug, or error
Projects
Status: Done
Development

No branches or pull requests

3 participants