Repository navigation
IDLE: search regex errors should be in/attached to search dialog #69365
Description
Activity
Follow-on to bpo-25173, any regex errors are displayed by SearchEngine but they should be shown by the dialog where the user is typing the error. Either as a modal tkMessageBox attached to the dialog, or as an inline error in the dialog itself.
- addedtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
on Sep 19, 2015 I like the way that Open Module puts error messages in red under the entry box and allows users to correct without first clicking a modal message away. I would like to do the same here.
#157598 shows the error in red below the entry, as the Open Module dialog does, and moves the cursor to the offending character. It also fixes the "Whole word" option with a regular expression:
a|bwas anchored only on the outer sides, and a pattern ending with a backslash matched\binstead of being an error.Looks like this introduced a refleak: https://buildbot.python.org/#/builders/2263/builds/275
For 3.15, refleak fix merged into the original on-hold backport.
Reacted by Petr Viktorin- added a commit that references this issue
on Oct 9, 2026
Metadata
Metadata
Assignees
Labels
Projects
- StatusShow more project fieldsDone
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
Linked PRs