Prompt-toolkit

Latest version: v3.0.48

Safety actively analyzes 681775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 22

3.0.48

------------------

Fixes:
- Typing improvements:
* Add `overload` to `contrib.regular_languages.compiler.Variables.get`.
* Use `Sequence` instead of `list` for `words` argument in completers.
- Improve `ModalCursorShapeConfig`:
* Display an "underscore" cursor in Vi's "replace single" mode, like
"replace" mode.
* Display an "beam" cursor in Emacs (insert) mode.

3.0.47

------------------

New features:
- Allow passing exception classes for `KeyboardInterrupt` and `EOFError` in
`PromptSession`.

Fixes:
- Compute padding parameters for `Box` widget lazily.

3.0.46

------------------

Fixes:
- Fix pytest capsys fixture compatibility.

3.0.45

------------------

Fixes:
- Improve performance of `GrammarCompleter` (faster deduplication of completions).

3.0.44

------------------

New features:
- Accept `os.PathLike` in `FileHistory` (typing fix).

Fixes:
- Fix memory leak in filters.
- Improve performance of progress bar formatters.
- Fix compatibility when a SIGINT handler is installed by non-Python (Rust, C).
- Limit number of completions in buffer to 10k by default (for performance).

3.0.43

------------------

Fixes:
- Fix regression on Pypy: Don't use `ctypes.pythonapi` to restore SIGINT if not
available.

Page 1 of 22

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.