All Versions
66
Latest Version
Avg Release Cycle
46 days
Latest Release
927 days ago

Changelog History
Page 1

  • v3.0.20 Changes

    September 14, 2021

    ๐Ÿ†• New features:

    • For DictionaryCompleter: show parentheses after methods.

    ๐Ÿ›  Fixes:

    • Don't crash when trying to complete broken mappings in DictionaryCompleter.
    • Don't crash when an older version of black is installed that is not compatible.
  • v3.0.19 Changes

    July 08, 2021

    ๐Ÿ›  Fixes:

    • ๐Ÿ›  Fix handling of SystemExit (fixes "ValueError: I/O operation on closed file").
    • ๐Ÿ‘ Allow usage of await in assignment expressions or for-loops.
  • v3.0.18 Changes

    June 26, 2021

    ๐Ÿ›  Fixes:

    • Made "black" an optional dependency.
  • v3.0.17 Changes

    March 22, 2021

    ๐Ÿ›  Fixes:

    • ๐Ÿ›  Fix leaking file descriptors due to not closing the asyncio event loop after reading input in a thread.
    • ๐Ÿ›  Fix race condition during retrieval of signatures.
  • v3.0.16 Changes

    February 11, 2021

    ๐Ÿš€ (Commit 7f619e was missing in previous release.)

    ๐Ÿ›  Fixes:

    • ๐Ÿ›  Several fixes to the completion code:
      • Give dictionary completions priority over path completions.
      • Always call non-fuzzy completer after fuzzy completer to prevent that some completions were missed out if the fuzzy completer doesn't find them.
  • v3.0.15 Changes

    February 11, 2021

    ๐Ÿ†• New features:

    • When pressing control-w, only delete characters until a punctuation.

    ๐Ÿ›  Fixes:

    • ๐Ÿ›  Fix AttributeError during retrieval of signatures with type annotations.
  • v3.0.14 Changes

    February 10, 2021

    ๐Ÿ†• New features:

    • Display of signature and completion drop down together.
    • If DictionaryCompleter is enabled, also retrieve signatures when Jedi fails, using the same logic.
    • List function parameters first and private attributes at the end in the completion menu.
    • Cleanup of the completion code.

    ๐Ÿ›  Fixes:

    • ๐Ÿ– Handle exceptions raised when repr() is called.
    • ๐Ÿ›  Fix leakage of exc_info from eval to exec call.
    • Fix handling of KeyboardInterrupt in REPL during evaluation of __repr__.
    • ๐Ÿ›  Fix style for signature toolbar.
    • Hide signature when sidebar is visible.
  • v3.0.13 Changes

    January 26, 2021

    ๐Ÿ†• New features:

    • โž• Added 'print all' option to pager.
    • ๐Ÿ‘Œ Improve handling of indented code:
      • Allow multiline input to be indented as a whole (we will unindent before executing).
      • Correctly visualize tabs (instead of I, which happens when pasted in bracketed paste).

    ๐Ÿ›  Fixes:

    • ๐Ÿ›  Fix line ending bug in pager.
  • v3.0.12 Changes

    January 24, 2021

    ๐Ÿ†• New features:

    • ๐Ÿ”ฆ Expose a get_ptpython function in the global namespace, to get programmatic access to the REPL.
    • ๐Ÿ”ฆ Expose embed() at the top level of the package. Make it possible to do from ptpython import embed.

    ๐Ÿ›  Fixes:

    • Properly handle exceptions when trying to access __pt_repr__.
    • Properly handle SystemExit.
  • v3.0.11 Changes

    January 20, 2021

    ๐Ÿ†• New features:

    • โž• Add support for top-level await.
    • ๐Ÿ”จ Refactoring of event loop usage:

      • The ptpython input UI will now run in a separate thread. This makes it possible to properly embed ptpython in an asyncio application, without having to deal with nested event loops (which asyncio does not support).
      • The "eval" part doesn't anymore take place within a ptpython coroutine, so it can spawn its own loop if needed. This also fixes asyncio.run() usage in the REPL, which was broken before.
    • โž• Added syntax highlighting and autocompletion for !-style system commands.

    ๐Ÿ›  Fixes:

    • โœ‚ Remove unexpected additional line after output.
    • ๐Ÿ›  Fix system prompt. Accept !-style inputs again.
    • Don't execute PYTHONSTARTUP when -i flag was given.