Releases: prompt-toolkit/ptpython
Releases Β· prompt-toolkit/ptpython
3.0.29
3.0.28
New features:
- Custom 'exit' function to return from REPL that
- doesn't terminate
sys.stdin
whenexit
is called (important forembed()
). - doesn't require to be called with parentheses.
- doesn't terminate
Fixes:
- Clean up signatures on control-c.
3.0.27
Fixes:
- Limit number of completions to 5k (for performance).
- Several typing fixes.
3.0.26
Fixes:
- Handle
GeneratorExit
exception when leaving the paginator.
3.0.25
Fixes:
- Fix handling of 'config file does not exist' when embedding ptpython.
3.0.24
Fixes:
- Don't show "Impossible to read config file" warnings when no config file was passed to
run_config()
. - IPython integration fixes:
- Fix top-level await in IPython.
- Fix IPython
DeprecationWarning
.
- Output printing fixes:
- Paginate exceptions if pagination is enabled.
- Handle big outputs without running out of memory.
- Asyncio REPL improvements:
- From now on, passing
--asyncio
is required to activate the asyncio-REPL. This will ensure that an event loop is created at the start in which we can run top-level await statements. - Use
get_running_loop()
instead ofget_event_loop()
. - Better handling of
SystemExit
and control-c in the async REPL.
- From now on, passing