| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
Deprecate `asyncio.set_event_loop` to be removed in Python 3.16.
|
|
|
|
|
| |
session (#124595)
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
|
|
|
|
|
|
|
|
|
| |
This switches the main pyrepl event loop to always be non-blocking so that it
can listen to incoming interruptions from other threads.
This also resolves invalid display of exceptions from other threads
(gh-123178).
This also fixes freezes with pasting and an active input hook.
|
|
|
|
| |
Relatedly, emit the `cpython.run_startup` event from the Python version of
`PYTHONSTARTUP` handling.
|
|
|
| |
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
|
|
|
| |
Set return_code to 1 for ENOTTY
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This makes the asyncio REPL (`python -m asyncio`) more usable
and similar to the regular REPL.
This exposes register_readline() as a top-level function in site.py,
but it's intentionally undocumented.
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
Co-authored-by: Itamar Oren <itamarost@gmail.com>
|
|
This makes it easy to play with asyncio APIs with simply
using async/await in the REPL.
|