Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-prompt_toolkit for
openSUSE:Factory checked in at 2022-10-10 18:44:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-prompt_toolkit (Old)
and /work/SRC/openSUSE:Factory/.python-prompt_toolkit.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-prompt_toolkit"
Mon Oct 10 18:44:11 2022 rev:18 rq:1008170 version:3.0.31
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-prompt_toolkit/python-prompt_toolkit.changes
2022-07-05 12:08:46.428495854 +0200
+++
/work/SRC/openSUSE:Factory/.python-prompt_toolkit.new.2275/python-prompt_toolkit.changes
2022-10-10 18:44:32.590866154 +0200
@@ -1,0 +2,10 @@
+Tue Oct 4 23:17:53 UTC 2022 - Yogalakshmi Arunachalam <[email protected]>
+
+- Update to version 3.0.31: 2022-09-02
+ New features:
+ - Pass through `name` property in `TextArea` widget to `Buffer`.
+ - Added a `enable_cpr` parameter to `Vt100_Output`, `TelnetServer` and
+ `PromptToolkitSSHServer`, to completely disable CPR support instead of
+ automatically detecting it.
+
+-------------------------------------------------------------------
Old:
----
prompt_toolkit-3.0.30.tar.gz
New:
----
prompt_toolkit-3.0.31.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-prompt_toolkit.spec ++++++
--- /var/tmp/diff_new_pack.hVuDny/_old 2022-10-10 18:44:33.150867359 +0200
+++ /var/tmp/diff_new_pack.hVuDny/_new 2022-10-10 18:44:33.158867377 +0200
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-prompt_toolkit
-Version: 3.0.30
+Version: 3.0.31
Release: 0
Summary: Library for building interactive command lines in Python
License: BSD-3-Clause
++++++ prompt_toolkit-3.0.30.tar.gz -> prompt_toolkit-3.0.31.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/prompt_toolkit-3.0.30/CHANGELOG
new/prompt_toolkit-3.0.31/CHANGELOG
--- old/prompt_toolkit-3.0.30/CHANGELOG 2022-06-27 11:41:53.000000000 +0200
+++ new/prompt_toolkit-3.0.31/CHANGELOG 2022-09-02 11:00:02.000000000 +0200
@@ -1,6 +1,16 @@
CHANGELOG
=========
+3.0.31: 2022-09-02
+------------------
+
+New features:
+- Pass through `name` property in `TextArea` widget to `Buffer`.
+- Added a `enable_cpr` parameter to `Vt100_Output`, `TelnetServer` and
+ `PromptToolkitSSHServer`, to completely disable CPR support instead of
+ automatically detecting it.
+
+
3.0.30: 2022-06-27
------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/prompt_toolkit-3.0.30/PKG-INFO
new/prompt_toolkit-3.0.31/PKG-INFO
--- old/prompt_toolkit-3.0.30/PKG-INFO 2022-06-27 11:43:06.114407800 +0200
+++ new/prompt_toolkit-3.0.31/PKG-INFO 2022-09-02 11:00:33.564112200 +0200
@@ -1,11 +1,9 @@
Metadata-Version: 2.1
Name: prompt_toolkit
-Version: 3.0.30
+Version: 3.0.31
Summary: Library for building powerful interactive command lines in Python
Home-page: https://github.com/prompt-toolkit/python-prompt-toolkit
Author: Jonathan Slenders
-License: UNKNOWN
-Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
@@ -181,5 +179,3 @@
.. |Codecov| image::
https://codecov.io/gh/prompt-toolkit/python-prompt-toolkit/branch/master/graphs/badge.svg?style=flat
:target: https://codecov.io/gh/prompt-toolkit/python-prompt-toolkit/
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/prompt_toolkit-3.0.30/PROJECTS.rst
new/prompt_toolkit-3.0.31/PROJECTS.rst
--- old/prompt_toolkit-3.0.30/PROJECTS.rst 2021-10-07 22:24:24.000000000
+0200
+++ new/prompt_toolkit-3.0.31/PROJECTS.rst 2022-09-02 10:53:41.000000000
+0200
@@ -50,6 +50,7 @@
- `pydoro <https://github.com/JaDogg/pydoro>`_: Pomodoro timer.
- `sanctuary-zero <https://github.com/t0xic0der/sanctuary-zero>`_: A secure
chatroom with zero logging and total transience.
- `Hummingbot <https://github.com/CoinAlpha/hummingbot>`_: A Cryptocurrency
Algorithimic Trading Platform
+- `git-bbb <https://github.com/MrMino/git-bbb>`_: A `git blame` browser.
Libraries:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/prompt_toolkit-3.0.30/examples/prompts/alternate.py
new/prompt_toolkit-3.0.31/examples/prompts/alternate.py
--- old/prompt_toolkit-3.0.30/examples/prompts/alternate.py 2022-06-08
00:29:12.000000000 +0200
+++ new/prompt_toolkit-3.0.31/examples/prompts/alternate.py 1970-01-01
01:00:00.000000000 +0100
@@ -1,47 +0,0 @@
-#!/usr/bin/env python
-from typing import Callable
-from prompt_toolkit import prompt
-from prompt_toolkit.key_binding import KeyBindings
-from prompt_toolkit.lexers import Lexer
-from prompt_toolkit.formatted_text.base import StyleAndTextTuples
-from prompt_toolkit.document import Document
-from prompt_toolkit.lexers import Lexer
-from prompt_toolkit.key_binding.key_processor import KeyPressEvent
-
-
-class AlternatingLexer(Lexer):
- def lex_document(self, document: Document) -> Callable[[int],
StyleAndTextTuples]:
- lines = document.lines
-
- def get_line(lineno: int) -> StyleAndTextTuples:
- "Return the tokens for the given line."
- style = "ansired" if lineno % 2 == 0 else "ansigreen"
- try:
- return [(style, lines[lineno])]
- except IndexError:
- return []
-
- return get_line
-
-
-def main() -> None:
- bindings = KeyBindings()
-
- @bindings.add("|")
- def _(event: KeyPressEvent) -> None:
- "Delimiter, inserts a newline."
- b = event.app.current_buffer
- b.insert_text("\n")
-
- print("Type something. Type '|' as a delimiter. Type alt+enter to accept")
- text = prompt(
- "Say something: ",
- key_bindings=bindings,
- lexer=AlternatingLexer(),
- multiline=True,
- )
- print("You said: %s" % text)
-
-
-if __name__ == "__main__":
- main()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/prompt_toolkit-3.0.30/src/prompt_toolkit/__init__.py
new/prompt_toolkit-3.0.31/src/prompt_toolkit/__init__.py
--- old/prompt_toolkit-3.0.30/src/prompt_toolkit/__init__.py 2022-06-27
11:41:35.000000000 +0200
+++ new/prompt_toolkit-3.0.31/src/prompt_toolkit/__init__.py 2022-09-02
11:00:02.000000000 +0200
@@ -18,7 +18,7 @@
from .shortcuts import PromptSession, print_formatted_text, prompt
# Don't forget to update in `docs/conf.py`!
-__version__ = "3.0.30"
+__version__ = "3.0.31"
# Version tuple.
VERSION = tuple(__version__.split("."))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/prompt_toolkit-3.0.30/src/prompt_toolkit/application/application.py
new/prompt_toolkit-3.0.31/src/prompt_toolkit/application/application.py
--- old/prompt_toolkit-3.0.30/src/prompt_toolkit/application/application.py
2022-06-27 11:38:58.000000000 +0200
+++ new/prompt_toolkit-3.0.31/src/prompt_toolkit/application/application.py
2022-09-02 10:53:41.000000000 +0200
@@ -15,7 +15,7 @@
set_event_loop,
sleep,
)
-from contextlib import contextmanager
+from contextlib import ExitStack, contextmanager
from subprocess import Popen
from traceback import format_tb
from typing import (
@@ -29,6 +29,7 @@
Generic,
Hashable,
Iterable,
+ Iterator,
List,
Optional,
Tuple,
@@ -670,12 +671,7 @@
# See:
https://github.com/prompt-toolkit/python-prompt-toolkit/issues/1553
handle_sigint = False
- async def _run_async() -> _AppResult:
- "Coroutine."
- loop = get_event_loop()
- f = loop.create_future()
- self.future = f # XXX: make sure to set this before calling
'_redraw'.
- self.loop = loop
+ async def _run_async(f: "asyncio.Future[_AppResult]") -> _AppResult:
self.context = contextvars.copy_context()
# Counter for cancelling 'flush' timeouts. Every time when a key is
@@ -790,70 +786,115 @@
# Store unprocessed input as typeahead for next time.
store_typeahead(self.input,
self.key_processor.empty_queue())
- return cast(_AppResult, result)
+ return result
- async def _run_async2() -> _AppResult:
+ @contextmanager
+ def get_loop() -> Iterator[AbstractEventLoop]:
+ loop = get_event_loop()
+ self.loop = loop
+
+ try:
+ yield loop
+ finally:
+ self.loop = None
+
+ @contextmanager
+ def set_is_running() -> Iterator[None]:
self._is_running = True
try:
- # Make sure to set `_invalidated` to `False` to begin with,
- # otherwise we're not going to paint anything. This can happen
if
- # this application had run before on a different event loop,
and a
- # paint was scheduled using `call_soon_threadsafe` with
- # `max_postpone_time`.
- self._invalidated = False
-
- loop = get_event_loop()
-
- if handle_sigint:
- loop.add_signal_handler(
- signal.SIGINT,
- lambda *_: loop.call_soon_threadsafe(
- self.key_processor.send_sigint
- ),
- )
-
- if set_exception_handler:
- previous_exc_handler = loop.get_exception_handler()
- loop.set_exception_handler(self._handle_exception)
-
- # Set slow_callback_duration.
- original_slow_callback_duration = loop.slow_callback_duration
- loop.slow_callback_duration = slow_callback_duration
+ yield
+ finally:
+ self._is_running = False
+ @contextmanager
+ def set_handle_sigint(loop: AbstractEventLoop) -> Iterator[None]:
+ if handle_sigint:
+ loop.add_signal_handler(
+ signal.SIGINT,
+ lambda *_: loop.call_soon_threadsafe(
+ self.key_processor.send_sigint
+ ),
+ )
try:
- with set_app(self), self._enable_breakpointhook():
- try:
- result = await _run_async()
- finally:
- # Wait for the background tasks to be done. This
needs to
- # go in the finally! If `_run_async` raises
- # `KeyboardInterrupt`, we still want to wait for
the
- # background tasks.
- await self.cancel_and_wait_for_background_tasks()
-
- # Also remove the Future again. (This brings the
- # application back to its initial state, where it
also
- # doesn't have a Future.)
- self.future = None
+ yield
+ finally:
+ loop.remove_signal_handler(signal.SIGINT)
+ else:
+ yield
- return result
+ @contextmanager
+ def set_exception_handler_ctx(loop: AbstractEventLoop) ->
Iterator[None]:
+ if set_exception_handler:
+ previous_exc_handler = loop.get_exception_handler()
+ loop.set_exception_handler(self._handle_exception)
+ try:
+ yield
finally:
- if set_exception_handler:
- loop.set_exception_handler(previous_exc_handler)
+ loop.set_exception_handler(previous_exc_handler)
+
+ else:
+ yield
- if handle_sigint:
- loop.remove_signal_handler(signal.SIGINT)
+ @contextmanager
+ def set_callback_duration(loop: AbstractEventLoop) -> Iterator[None]:
+ # Set slow_callback_duration.
+ original_slow_callback_duration = loop.slow_callback_duration
+ loop.slow_callback_duration = slow_callback_duration
+ try:
+ yield
+ finally:
+ # Reset slow_callback_duration.
+ loop.slow_callback_duration = original_slow_callback_duration
- # Reset slow_callback_duration.
- loop.slow_callback_duration =
original_slow_callback_duration
+ @contextmanager
+ def create_future(
+ loop: AbstractEventLoop,
+ ) -> "Iterator[asyncio.Future[_AppResult]]":
+ f = loop.create_future()
+ self.future = f # XXX: make sure to set this before calling
'_redraw'.
+ try:
+ yield f
finally:
- # Set the `_is_running` flag to `False`. Normally this happened
- # already in the finally block in `run_async` above, but in
- # case of exceptions, that's not always the case.
- self._is_running = False
+ # Also remove the Future again. (This brings the
+ # application back to its initial state, where it also
+ # doesn't have a Future.)
+ self.future = None
+
+ with ExitStack() as stack:
+ stack.enter_context(set_is_running())
+
+ # Make sure to set `_invalidated` to `False` to begin with,
+ # otherwise we're not going to paint anything. This can happen if
+ # this application had run before on a different event loop, and a
+ # paint was scheduled using `call_soon_threadsafe` with
+ # `max_postpone_time`.
+ self._invalidated = False
+
+ loop = stack.enter_context(get_loop())
+
+ stack.enter_context(set_handle_sigint(loop))
+ stack.enter_context(set_exception_handler_ctx(loop))
+ stack.enter_context(set_callback_duration(loop))
+ stack.enter_context(set_app(self))
+ stack.enter_context(self._enable_breakpointhook())
- return await _run_async2()
+ f = stack.enter_context(create_future(loop))
+
+ try:
+ return await _run_async(f)
+ finally:
+ # Wait for the background tasks to be done. This needs to
+ # go in the finally! If `_run_async` raises
+ # `KeyboardInterrupt`, we still want to wait for the
+ # background tasks.
+ await self.cancel_and_wait_for_background_tasks()
+
+ # The `ExitStack` above is defined in typeshed in a way that it can
+ # swallow exceptions. Without next line, mypy would think that there's
+ # a possibility we don't return here. See:
+ # https://github.com/python/mypy/issues/7726
+ assert False, "unreachable"
def run(
self,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/prompt_toolkit-3.0.30/src/prompt_toolkit/contrib/ssh/server.py
new/prompt_toolkit-3.0.31/src/prompt_toolkit/contrib/ssh/server.py
--- old/prompt_toolkit-3.0.30/src/prompt_toolkit/contrib/ssh/server.py
2022-06-07 22:59:30.000000000 +0200
+++ new/prompt_toolkit-3.0.31/src/prompt_toolkit/contrib/ssh/server.py
2022-09-02 10:53:41.000000000 +0200
@@ -18,9 +18,13 @@
class PromptToolkitSSHSession(asyncssh.SSHServerSession): # type: ignore
def __init__(
- self, interact: Callable[["PromptToolkitSSHSession"], Awaitable[None]]
+ self,
+ interact: Callable[["PromptToolkitSSHSession"], Awaitable[None]],
+ *,
+ enable_cpr: bool,
) -> None:
self.interact = interact
+ self.enable_cpr = enable_cpr
self.interact_task: Optional[asyncio.Task[None]] = None
self._chan: Optional[Any] = None
self.app_session: Optional[AppSession] = None
@@ -85,7 +89,9 @@
term = self._chan.get_terminal_type()
- self._output = Vt100_Output(self.stdout, self._get_size, term=term)
+ self._output = Vt100_Output(
+ self.stdout, self._get_size, term=term, enable_cpr=self.enable_cpr
+ )
with create_pipe_input() as self._input:
with create_app_session(input=self._input, output=self._output) as
session:
@@ -145,16 +151,25 @@
)
)
loop.run_forever()
+
+ :param enable_cpr: When `True`, the default, try to detect whether the SSH
+ client runs in a terminal that responds to "cursor position requests".
+ That way, we can properly determine how much space there is available
+ for the UI (especially for drop down menus) to render.
"""
def __init__(
- self, interact: Callable[[PromptToolkitSSHSession], Awaitable[None]]
+ self,
+ interact: Callable[[PromptToolkitSSHSession], Awaitable[None]],
+ *,
+ enable_cpr: bool = True,
) -> None:
self.interact = interact
+ self.enable_cpr = enable_cpr
def begin_auth(self, username: str) -> bool:
# No authentication.
return False
def session_requested(self) -> PromptToolkitSSHSession:
- return PromptToolkitSSHSession(self.interact)
+ return PromptToolkitSSHSession(self.interact,
enable_cpr=self.enable_cpr)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/prompt_toolkit-3.0.30/src/prompt_toolkit/contrib/telnet/server.py
new/prompt_toolkit-3.0.31/src/prompt_toolkit/contrib/telnet/server.py
--- old/prompt_toolkit-3.0.30/src/prompt_toolkit/contrib/telnet/server.py
2022-06-07 22:59:30.000000000 +0200
+++ new/prompt_toolkit-3.0.31/src/prompt_toolkit/contrib/telnet/server.py
2022-09-02 10:53:41.000000000 +0200
@@ -132,6 +132,7 @@
encoding: str,
style: Optional[BaseStyle],
vt100_input: PipeInput,
+ enable_cpr: bool = True,
) -> None:
self.conn = conn
@@ -143,7 +144,8 @@
self._closed = False
self._ready = asyncio.Event()
self.vt100_input = vt100_input
- self.vt100_output = None
+ self.enable_cpr = enable_cpr
+ self.vt100_output: Optional[Vt100_Output] = None
# Create "Output" object.
self.size = Size(rows=40, columns=79)
@@ -169,7 +171,9 @@
def ttype_received(ttype: str) -> None:
"""TelnetProtocolParser 'ttype_received' callback"""
- self.vt100_output = Vt100_Output(self.stdout, get_size, term=ttype)
+ self.vt100_output = Vt100_Output(
+ self.stdout, get_size, term=ttype, enable_cpr=enable_cpr
+ )
self._ready.set()
self.parser = TelnetProtocolParser(data_received, size_received,
ttype_received)
@@ -274,6 +278,7 @@
interact: Callable[[TelnetConnection], Awaitable[None]] =
_dummy_interact,
encoding: str = "utf-8",
style: Optional[BaseStyle] = None,
+ enable_cpr: bool = True,
) -> None:
self.host = host
@@ -281,6 +286,7 @@
self.interact = interact
self.encoding = encoding
self.style = style
+ self.enable_cpr = enable_cpr
self._application_tasks: List[asyncio.Task[None]] = []
self.connections: Set[TelnetConnection] = set()
@@ -345,6 +351,7 @@
encoding=self.encoding,
style=self.style,
vt100_input=vt100_input,
+ enable_cpr=self.enable_cpr,
)
self.connections.add(connection)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/prompt_toolkit-3.0.30/src/prompt_toolkit/cursor_shapes.py
new/prompt_toolkit-3.0.31/src/prompt_toolkit/cursor_shapes.py
--- old/prompt_toolkit-3.0.30/src/prompt_toolkit/cursor_shapes.py
2022-04-04 15:36:51.000000000 +0200
+++ new/prompt_toolkit-3.0.31/src/prompt_toolkit/cursor_shapes.py
2022-09-02 10:53:41.000000000 +0200
@@ -25,7 +25,7 @@
# prompt_toolkit itself, people had workarounds to send cursor shapes
# escapes into the terminal, by monkey patching some of prompt_toolkit's
# internals. We don't want the default prompt_toolkit implemetation to
- # interefere with that. E.g., IPython patches the `ViState.input_mode`
+ # interfere with that. E.g., IPython patches the `ViState.input_mode`
# property. See: https://github.com/ipython/ipython/pull/13501/files
_NEVER_CHANGE = "_NEVER_CHANGE"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/prompt_toolkit-3.0.30/src/prompt_toolkit/key_binding/bindings/vi.py
new/prompt_toolkit-3.0.31/src/prompt_toolkit/key_binding/bindings/vi.py
--- old/prompt_toolkit-3.0.30/src/prompt_toolkit/key_binding/bindings/vi.py
2022-04-04 15:36:51.000000000 +0200
+++ new/prompt_toolkit-3.0.31/src/prompt_toolkit/key_binding/bindings/vi.py
2022-09-02 10:53:41.000000000 +0200
@@ -1861,7 +1861,7 @@
)
def _arg(event: E) -> None:
"""
- Always handle numberics in navigation mode as arg.
+ Always handle numerics in navigation mode as arg.
"""
event.append_to_arg_count(event.data)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/prompt_toolkit-3.0.30/src/prompt_toolkit/output/vt100.py
new/prompt_toolkit-3.0.31/src/prompt_toolkit/output/vt100.py
--- old/prompt_toolkit-3.0.30/src/prompt_toolkit/output/vt100.py
2022-06-07 22:59:30.000000000 +0200
+++ new/prompt_toolkit-3.0.31/src/prompt_toolkit/output/vt100.py
2022-09-02 11:00:02.000000000 +0200
@@ -400,6 +400,13 @@
:param get_size: A callable which returns the `Size` of the output
terminal.
:param stdout: Any object with has a `write` and `flush` method + an
'encoding' property.
:param term: The terminal environment variable. (xterm, xterm-256color,
linux, ...)
+ :param enable_cpr: When `True` (the default), send "cursor position
+ request" escape sequences to the output in order to detect the cursor
+ position. That way, we can properly determine how much space there is
+ available for the UI (especially for drop down menus) to render. The
+ `Renderer` will still try to figure out whether the current terminal
+ does respond to CPR escapes. When `False`, never attempt to send CPR
+ requests.
"""
# For the error messages. Only display "Output is not a terminal" once per
@@ -413,6 +420,7 @@
term: Optional[str] = None,
default_color_depth: Optional[ColorDepth] = None,
enable_bell: bool = True,
+ enable_cpr: bool = True,
) -> None:
assert all(hasattr(stdout, a) for a in ("write", "flush"))
@@ -423,6 +431,7 @@
self._get_size = get_size
self.term = term
self.enable_bell = enable_bell
+ self.enable_cpr = enable_cpr
# Cache for escape codes.
self._escape_code_caches: Dict[ColorDepth, _EscapeCodeCache] = {
@@ -703,6 +712,9 @@
@property
def responds_to_cpr(self) -> bool:
+ if not self.enable_cpr:
+ return False
+
# When the input is a tty, we assume that CPR is supported.
# It's not when the input is piped from Pexpect.
if os.environ.get("PROMPT_TOOLKIT_NO_CPR", "") == "1":
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/prompt_toolkit-3.0.30/src/prompt_toolkit/widgets/base.py
new/prompt_toolkit-3.0.31/src/prompt_toolkit/widgets/base.py
--- old/prompt_toolkit-3.0.30/src/prompt_toolkit/widgets/base.py
2022-05-31 22:33:19.000000000 +0200
+++ new/prompt_toolkit-3.0.31/src/prompt_toolkit/widgets/base.py
2022-09-02 10:53:41.000000000 +0200
@@ -195,6 +195,7 @@
preview_search: FilterOrBool = True,
prompt: AnyFormattedText = "",
input_processors: Optional[List[Processor]] = None,
+ name: str = "",
) -> None:
if search_field is None:
@@ -226,6 +227,7 @@
auto_suggest=DynamicAutoSuggest(lambda: self.auto_suggest),
accept_handler=accept_handler,
history=history,
+ name=name,
)
self.control = BufferControl(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/prompt_toolkit-3.0.30/src/prompt_toolkit.egg-info/PKG-INFO
new/prompt_toolkit-3.0.31/src/prompt_toolkit.egg-info/PKG-INFO
--- old/prompt_toolkit-3.0.30/src/prompt_toolkit.egg-info/PKG-INFO
2022-06-27 11:43:04.000000000 +0200
+++ new/prompt_toolkit-3.0.31/src/prompt_toolkit.egg-info/PKG-INFO
2022-09-02 11:00:33.000000000 +0200
@@ -1,11 +1,9 @@
Metadata-Version: 2.1
Name: prompt-toolkit
-Version: 3.0.30
+Version: 3.0.31
Summary: Library for building powerful interactive command lines in Python
Home-page: https://github.com/prompt-toolkit/python-prompt-toolkit
Author: Jonathan Slenders
-License: UNKNOWN
-Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
@@ -181,5 +179,3 @@
.. |Codecov| image::
https://codecov.io/gh/prompt-toolkit/python-prompt-toolkit/branch/master/graphs/badge.svg?style=flat
:target: https://codecov.io/gh/prompt-toolkit/python-prompt-toolkit/
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/prompt_toolkit-3.0.30/src/prompt_toolkit.egg-info/SOURCES.txt
new/prompt_toolkit-3.0.31/src/prompt_toolkit.egg-info/SOURCES.txt
--- old/prompt_toolkit-3.0.30/src/prompt_toolkit.egg-info/SOURCES.txt
2022-06-27 11:43:05.000000000 +0200
+++ new/prompt_toolkit-3.0.31/src/prompt_toolkit.egg-info/SOURCES.txt
2022-09-02 11:00:33.000000000 +0200
@@ -67,7 +67,6 @@
examples/progress-bar/two-tasks.py
examples/progress-bar/unknown-length.py
examples/prompts/accept-default.py
-examples/prompts/alternate.py
examples/prompts/asyncio-prompt.py
examples/prompts/auto-suggestion.py
examples/prompts/autocorrection.py