bpo-35598: IDLE: Update config_key.py with PEP8 names#11330
bpo-35598: IDLE: Update config_key.py with PEP8 names#11330terryjreedy merged 5 commits intopython:masterfrom
Conversation
|
I found at least one missing '.', so I will be pushing at least that fix. |
|
This module makes and immediately places each widgets instead of making a batch and then placing them, as with config dialog. While immediately packing or gridding each widget makes it easy to see that each is places, it makes it harder to compare the options for similar widgets and seeing the geometry structure of the whole frame. So for a non-trivial frame, I think I prefer the other style. I don't think it worthwhile to change it now, but if we were to redo the frame, it might be. |
|
Thanks @csabella for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7. |
|
GH-11336 is a backport of this pull request to the 3.7 branch. |
A few other changes make the code easier to follow. (cherry picked from commit 55698cc) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
|
For this first round of modernizing config_key, I tried to limit the changes to converting the existing names to PEP8 names, but there may be a few other changes included to help with following the source.
https://bugs.python.org/issue35598