All Versions
66
Latest Version
Avg Release Cycle
46 days
Latest Release
927 days ago
Changelog History
Page 1
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.
- For
-
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.
- ๐ Fix handling of
-
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.
- ๐ Several fixes to the completion code:
-
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 dofrom ptpython import embed
.
๐ Fixes:
- Properly handle exceptions when trying to access
__pt_repr__
. - Properly handle
SystemExit
.
- ๐ฆ Expose a
-
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.