-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #349 from goodboy/prompt_on_ctrlc
Re-draw `pdbpp` prompt on `SIGINT`
- Loading branch information
Showing
6 changed files
with
120 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Always redraw the `pdbpp` prompt on `SIGINT` during REPL use. | ||
|
||
There was recent changes todo with Python 3.10 that required us to pin | ||
to a specific commit in `pdbpp` which have recently been fixed minus | ||
this last issue with `SIGINT` shielding: not clobbering or not | ||
showing the `(Pdb++)` prompt on ctlr-c by the user. This repairs all | ||
that by firstly removing the standard KBI intercepting of the std lib's | ||
`pdb.Pdb._cmdloop()` as well as ensuring that only the actor with REPL | ||
control ever reports `SIGINT` handler log msgs and prompt redraws. With | ||
this we move back to using pypi `pdbpp` release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters