diff options
author | Rémi Lapeyre <remi.lapeyre@lenstra.fr> | 2024-03-01 20:39:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-01 11:39:16 -0800 |
commit | b5949eac6220ee8002971b5e7026432ac7990c74 (patch) | |
tree | 31ce0e7194306baa3afdfba3b3fcc2584aeb7aef /Python/optimizer_bytecodes.c | |
parent | e6e35327d87e5456ba2178915e4f523a42051d4b (diff) | |
download | cpython-b5949eac6220ee8002971b5e7026432ac7990c74.tar.gz cpython-b5949eac6220ee8002971b5e7026432ac7990c74.zip |
gh-84995: Run sys.__interactivehook__() on asyncio REPL startup (#20517)
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>
Diffstat (limited to 'Python/optimizer_bytecodes.c')
0 files changed, 0 insertions, 0 deletions