summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/__main__.py
Commit message (Collapse)AuthorAgeFilesLines
* gh-127949: deprecate `asyncio.set_event_loop` (#128218)Kumar Aditya2024-12-241-1/+1
| | | Deprecate `asyncio.set_event_loop` to be removed in Python 3.16.
* gh-124594: Create and reuse the same context for the entire asyncio REPL ↵Bartosz Sławecki2024-10-011-2/+4
| | | | | session (#124595) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
* gh-120221: Support KeyboardInterrupt in asyncio REPL (#123795)Łukasz Langa2024-09-061-0/+10
| | | | | | | | | 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.
* gh-121957: Emit audit events for `python -i` and `python -m asyncio` (GH-121958)Łukasz Langa2024-07-221-0/+5
| | | | Relatedly, emit the `cpython.run_startup` event from the Python version of `PYTHONSTARTUP` handling.
* gh-121790: Fix interactive console initialization (#121793)Milan Oberkirch2024-07-151-18/+9
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* gh-121711: Set `-m asyncio` return_code to 1 for ENOTTY (#121714)Milan Oberkirch2024-07-131-1/+2
| | | Set return_code to 1 for ENOTTY
* gh-119909: Fix ``NameError`` in ``asyncio`` REPL (#121341)Kirill Podoprigora2024-07-061-1/+1
|
* gh-118894: Make asyncio REPL use pyrepl (GH-119433)Łukasz Langa2024-05-311-18/+71
|
* gh-118817: Fix `asyncio REPL` on Windows (#118819)Kirill Podoprigora2024-05-091-3/+4
|
* gh-84995: Run sys.__interactivehook__() on asyncio REPL startup (#20517)Rémi Lapeyre2024-03-011-0/+16
| | | | | | | | | | 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>
* bpo-37028: asyncio REPL; activated via 'python -m asyncio'. (GH-13472)Yury Selivanov2019-05-271-0/+125
This makes it easy to play with asyncio APIs with simply using async/await in the REPL.