Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
gh-125843: indicate which C function caused acurses.error
#125844
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes from1 commit
Commits
Show all changes
27 commits Select commitHold shift + click to select a range
03fc9c5
improve `curses.error` object
picnixz3436f9b
update error messages
picnixz73ce26c
cosmetic changes!
picnixzcfe5468
blurb
picnixza8845ee
update docs
picnixz1b1230d
Merge remote-tracking branch 'upstream/main' into x-stale/feat/curses…
picnixz55a491a
reduce diff
picnixz758dfe5
reduce diff even futher
picnixz3a3964b
simplify logic
picnixz92e62cf
simplify logic x2
picnixz4d8f47f
reduce diff again!
picnixz5b8ff99
simplify logic x3
picnixz43d2e99
lint
picnixz12f0b30
reduce diff x4
picnixzeaaad71
reduce diff x5
picnixzb96b542
simplify even more!
picnixz39f102f
nits(cosmetics)
picnixz6bc9c3e
update messages
picnixz5addb78
remove un-necessary prototypes and rearrange code
picnixz34583e0
address review
picnixz236bea5
update error messages in `_curses_panel`
picnixz8188179
raise `curses.error` in `is_linetouched` instead of TypeError
picnixz9e6c83e
Revert "update error messages in `_curses_panel`"
picnixz3989ddd
fix typo
picnixzbf54774
correctly check `mouseinterval` return value
picnixz34a1c31
Merge remote-tracking branch 'upstream/main' into feat/curses/error-t…
picnixz6be3a15
reduce overall diff
picnixzFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
blurb
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commitcfe5468b205a9fb9b5f9054aae3c503cadc751a6
There are no files selected for viewing
3 changes: 3 additions & 0 deletionsMisc/NEWS.d/next/Library/2024-10-22-16-21-55.gh-issue-125843.2ttzYo.rst
This file contains hidden or 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,3 @@ | ||
Add :attr:`~curses.error.funcname` to :exc:`curses.error` objects to indicate | ||
which :mod:`curses` C function or macro was responsible for the exception. | ||
Patch by Bénédikt Tran. |
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.