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: Create new tab for editor options in configdialog #77232
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:
assignee='https://github.com/terryjreedy'closed_at=<Date2021-06-10.05:41:08.059>created_at=<Date2018-03-11.19:26:19.895>labels= ['expert-IDLE', 'type-feature', '3.8', '3.9', '3.10']
title='IDLE: Create new tab for editor options in configdialog'updated_at=<Date2021-06-10.05:41:08.058>user='https://github.com/csabella'
A new option would (maybe) apply to saving the shell also. (Something to discuss there.)
E-Paine commented on Aug 16, 2020
E-Painemannequin
Mannequin
More actions
Thank you Cheryl for linking this issue on bpo-40468 (I didn't find this when researching for existing issues). I have briefly tested the PR and it seems perfect, though seeing init_validators made me think we should possibly have an ABC for the tab pages. This would be a separate issue, but I think there would be three main advantages:
We could enforce a more standard naming of page methods (create_page_* would become create_page and be called by the parent, for example)
We could share methods like init_validators (which would preferably be part of the class but I appreciate the need to move it in this PR)
We can also potentially remove the example TabPage as the ABC would serve as its own example
Back to this issue, I didn't scrutinise it but the PR looks good and the "result" (user-facing) is exactly as I would propose based on bpo-40468.
@epaine, thank you for taking a look at that PR and for your feedback. I agree with you that the changes can still be taken further than we've already done. init_validators was added after the initial refactoring and I'm not sure if we've gone back to it to really use it or any other input validators. There's another bug issue (bpo-31306) that addresses the validation on configdialog, so maybe your ideas can be incorporated with that issue.
Activity
csabella commentedon Mar 11, 2018
Split out editor options from general tab in Config Dialog.
terryjreedy commentedon May 17, 2018
I expected that this would be needed eventually. Any particular reason why now?
csabella commentedon May 17, 2018
Yes, I thought it would be good to have this before bpo-33046.
terryjreedy commentedon May 17, 2018
A new option would (maybe) apply to saving the shell also. (Something to discuss there.)
E-Paine commentedon Aug 16, 2020
Thank you Cheryl for linking this issue on bpo-40468 (I didn't find this when researching for existing issues). I have briefly tested the PR and it seems perfect, though seeing
init_validatorsmade me think we should possibly have an ABC for the tab pages. This would be a separate issue, but I think there would be three main advantages:create_page_*would becomecreate_pageand be called by the parent, for example)init_validators(which would preferably be part of the class but I appreciate the need to move it in this PR)TabPageas the ABC would serve as its own exampleBack to this issue, I didn't scrutinise it but the PR looks good and the "result" (user-facing) is exactly as I would propose based on bpo-40468.
csabella commentedon Aug 18, 2020
@epaine, thank you for taking a look at that PR and for your feedback. I agree with you that the changes can still be taken further than we've already done.
init_validatorswas added after the initial refactoring and I'm not sure if we've gone back to it to really use it or any other input validators. There's another bug issue (bpo-31306) that addresses the validation on configdialog, so maybe your ideas can be incorporated with that issue.