-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
bpo-36396: Remove fgBg param of idlelib.config.GetHighlight() #12491
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This param was only used once and changed the return type.
'once' to 'twice'
Cheryl, what you you think of changing 'd' to 'hi', etc in the configdialog tests? I only changed the one test I edited. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really like this change. Some small things in other comments. I probably would have used f-strings instead of concatenation, but that's just a personal preference. :-)
So, |
Thanks for the fixes. While editing, I felt that 'd' was a nuisance because I kept mentally translating it each time I read it. I thought of 'high', 'page' or 'hp' instead of 'd'. 'hi' instead of 'high' was an experiment. For the 5 test classes, 'font', 'dent', 'high', 'keys', and 'gen' could work, but don't feel completely right, especially the adjectives. I think 'page' is what I was mentally substituting for 'd'. Given your comment, I would go with that and improve some of the test names to be more page specific. For example, change 'test_builtin_name' to 'test_builtin_theme' and 'test_builtin_keys' for the respective pages. For now, I changed 'hi' to 'page' and intend to leave that for the merge. |
I did not see the f-string comment until now. They would be fine and for anything other than |
Thanks @terryjreedy for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7. |
GH-12501 is a backport of this pull request to the 3.7 branch. |
…GH-12491) This param was only used once and changed the return type. (cherry picked from commit c141957) Co-authored-by: Terry Jan Reedy <[email protected]>
This param was only used once and changed the return type. (cherry picked from commit c141957) Co-authored-by: Terry Jan Reedy <[email protected]>
This param was only used twice and changed the return type.
https://bugs.python.org/issue36396