1
0
Fork 0

Merging upstream version 3.0.26.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-09 18:32:39 +01:00
parent 941b8e08c3
commit 0000189218
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
3 changed files with 9 additions and 2 deletions

View file

@ -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
------------------

View file

@ -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

View file

@ -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,