summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.39.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-prompt-toolkit: upgrade 3.0.36 -> 3.0.39Wang Mingyu2023-10-301-0/+25
Changelog: =========== Fixes: - Fix 'RuntimeError' when '__breakpointhook__' is called from another thread. - Fix memory leak in filters usage. - Ensure that key bindings are handled in the right context (when using contextvars). - Fix regression in filters. (Use of 'WeakValueDictionary' caused filters to not be cached). - Fix 'currentThread()' deprecation warning. - Fix memory leak in filters. - Make VERSION tuple numeric. New features: - Accept 'in_thread' keyword in 'prompt_toolkit.shortcuts.prompt()'. - Support the 'NO_COLOR' environment variable. - Use 24-bit true color now by default on Windows 10/11. - Add '.run()' method in 'TelnetServer'. (To be used instead of '.start()/.stop()'. Breaking changes: - Subclasses of 'Filter' have to call 'super()' in their '__init__'. - Drop support for Python 3.6: * This includes code cleanup for Python 3.6 compatibility. * Use 'get_running_loop()' instead of 'get_event_loop()'. * Use 'asyncio.run()' instead of 'asyncio.run_until_complete()'. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 8ca1ea73cf6c51fa7db2aa6ecb0b6004338a797e) Signed-off-by: Armin Kuster <akuster808@gmail.com>