All Versions
66
Latest Version
Avg Release Cycle
46 days
Latest Release
44 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.