* Further improve performance of dictionary completions.
* 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.
* Clean up signatures on control-c.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ptpython?expand=0&rev=32
- update to 3.0.25:
* Fix handling of 'config file does not exist' when embedding
ptpython.
* Don't show "Impossible to read config file" warnings when no
config file was passed to `run_config()`.
* 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.
OBS-URL: https://build.opensuse.org/request/show/1135315
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ptpython?expand=0&rev=11
* Fix handling of 'config file does not exist' when embedding
ptpython.
* Don't show "Impossible to read config file" warnings when no
config file was passed to `run_config()`.
* 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.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ptpython?expand=0&rev=23
- Update to version 3.0.20: 2021-09-14
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.
- Update to version 3.0.19: 2021-07-08
Fixes:
- Fix handling of `SystemExit` (fixes "ValueError: I/O operation on closed
file").
- Allow usage of `await` in assignment expressions or for-loops.
OBS-URL: https://build.opensuse.org/request/show/1008046
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ptpython?expand=0&rev=15
- version update to 3.0.1
- Fix backwards-compatibility of the `run_config` function. (used by
django-extensions).
- Fix input mode in status bar for block selection.
- Upgrade to prompt_toolkit 3.0.
- Requires at least Python 3.6.
- Uses XDG base directory specification.
- Added dictionary completer (off by default).
- Added fuzzy completion (off by default).
- Highlight keywords in completion dropdown menu.
- Enable universal wheels.
- Fixed embedding repl as asyncio coroutine.
- Fixed patching stdout in embedded repl.
- Fixed ResourceWarning in setup.py.
OBS-URL: https://build.opensuse.org/request/show/787713
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ptpython?expand=0&rev=13