Merging upstream version 3.0.26.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
941b8e08c3
commit
0000189218
3 changed files with 9 additions and 2 deletions
|
@ -1,6 +1,13 @@
|
|||
CHANGELOG
|
||||
=========
|
||||
|
||||
3.0.26: 2024-02-06
|
||||
------------------
|
||||
|
||||
Fixes:
|
||||
- Handle `GeneratorExit` exception when leaving the paginator.
|
||||
|
||||
|
||||
3.0.25: 2023-12-14
|
||||
------------------
|
||||
|
||||
|
|
|
@ -155,7 +155,7 @@ class OutputPrinter:
|
|||
)
|
||||
yield from formatted_result_repr
|
||||
return
|
||||
except KeyboardInterrupt:
|
||||
except (GeneratorExit, KeyboardInterrupt):
|
||||
raise # Don't catch here.
|
||||
except:
|
||||
# For bad code, `__getattr__` can raise something that's not an
|
||||
|
|
2
setup.py
2
setup.py
|
@ -11,7 +11,7 @@ with open(os.path.join(os.path.dirname(__file__), "README.rst")) as f:
|
|||
setup(
|
||||
name="ptpython",
|
||||
author="Jonathan Slenders",
|
||||
version="3.0.25",
|
||||
version="3.0.26",
|
||||
url="https://github.com/prompt-toolkit/ptpython",
|
||||
description="Python REPL build on top of prompt_toolkit",
|
||||
long_description=long_description,
|
||||
|
|
Loading…
Add table
Reference in a new issue