Ptpython

Latest version: v3.0.29

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

Scan your dependencies

Page 1 of 15

3.0.29

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

Fixes:
- Further improve performance of dictionary completions.

3.0.28

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

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

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

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

3.0.26

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

Fixes:
- Handle `GeneratorExit` exception when leaving the paginator.

3.0.25

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

Fixes:
- Fix handling of 'config file does not exist' when embedding ptpython.

3.0.24

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

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.

Page 1 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.