Skip to content

Releases: prompt-toolkit/ptpython

3.0.29

22 Jul 12:44
Compare
Choose a tag to compare

Fixes:

  • Further improve performance of dictionary completions.

3.0.28

22 Jul 09:38
Compare
Choose a tag to compare

New features:

  • Custom 'exit' function to return from REPL that
    • doesn't terminate sys.stdin when exit is called (important for embed()).
    • doesn't require to be called with parentheses.

Fixes:

  • Clean up signatures on control-c.

3.0.27

27 May 20:55
Compare
Choose a tag to compare

Fixes:

  • Limit number of completions to 5k (for performance).
  • Several typing fixes.

3.0.26

06 Feb 10:57
Compare
Choose a tag to compare

Fixes:

  • Handle GeneratorExit exception when leaving the paginator.

3.0.25

14 Dec 09:35
Compare
Choose a tag to compare

Fixes:

  • Fix handling of 'config file does not exist' when embedding ptpython.

3.0.24

13 Dec 09:49
Compare
Choose a tag to compare

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 of get_event_loop().
    • Better handling of SystemExit and control-c in the async REPL.