You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
IDLE: Wrong highlighting when previous line ends with backslash #140334
I found exactly where the problem is coming from (Lib/idlelib/colorizer.py@make_pat) and I have a solution that passes all tests. I am working a pull request.
changed the title [-]IDLE: Wrong highlighting when previous line ends with slash[/-][+]IDLE: Wrong highlighting when previous line ends with backslash[/+]on Oct 19, 2025
@TheLizzard Thank you for a definitely non trivial patch. Will test when I can before looking at Stan's alternative.
@StanFromIreland When I merged to patch to support t-strings, I thought about using the new tokenizer and associated PyREPL code. I made a new issue for this and changed your PR to attach it there.
Activity
TheLizzard commentedon Oct 19, 2025
I found exactly where the problem is coming from (
Lib/idlelib/colorizer.py@make_pat) and I have a solution that passes all tests. I am working a pull request.[-]IDLE: Wrong highlighting when previous line ends with slash[/-][+]IDLE: Wrong highlighting when previous line ends with backslash[/+]terryjreedy commentedon Oct 20, 2025
@TheLizzard Thank you for a definitely non trivial patch. Will test when I can before looking at Stan's alternative.
@StanFromIreland When I merged to patch to support t-strings, I thought about using the new tokenizer and associated PyREPL code. I made a new issue for this and changed your PR to attach it there.
StanFromIreland commentedon Oct 20, 2025
I think we can merge the patch first, and then look at the larger issue.