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

python3.13 -m asyncio immediately fails with TypeError #121790

Closed
zvyn opened this issue Jul 15, 2024 · 1 comment
Closed

python3.13 -m asyncio immediately fails with TypeError #121790

zvyn opened this issue Jul 15, 2024 · 1 comment
Labels
topic-repl Related to the interactive shell type-bug An unexpected behavior, bug, or error

Comments

@zvyn
Copy link
Contributor

zvyn commented Jul 15, 2024

Bug report

Bug description:

python -m asyncio

fails with:

asyncio REPL 3.14.0a0 experimental free-threading build (heads/main:4b9e10d0ea3, Jul 13 2024, 14:18:40) [GCC 11.4.0] on linux
Use "await" directly instead of "asyncio.run()".
Type "help", "copyright", "credits" or "license" for more information.
>>> import asyncio
TypeError: run_multiline_interactive_console() missing 1 required positional argument: 'namespace'
Internal error, exiting asyncio REPL...

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

@zvyn zvyn added the type-bug An unexpected behavior, bug, or error label Jul 15, 2024
@ambv ambv changed the title python -m asyncio immidiatly fails with TypeError python3.13 -m asyncio immediately fails with TypeError Jul 15, 2024
@ambv ambv added the topic-repl Related to the interactive shell label Jul 15, 2024
ambv added a commit that referenced this issue Jul 15, 2024
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Jul 15, 2024
)

(cherry picked from commit e5c7216)

Co-authored-by: Milan Oberkirch <[email protected]>
Co-authored-by: Łukasz Langa <[email protected]>
ambv added a commit that referenced this issue Jul 15, 2024
…H-121822)

(cherry picked from commit e5c7216)

Co-authored-by: Milan Oberkirch <[email protected]>
Co-authored-by: Łukasz Langa <[email protected]>
@ambv
Copy link
Contributor

ambv commented Jul 15, 2024

Thanks, Milan! ✨ 🍰 ✨

@ambv ambv closed this as completed Jul 15, 2024
estyxx pushed a commit to estyxx/cpython that referenced this issue Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic-repl Related to the interactive shell type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants