Skip to content

IDLE: Create new tab for editor options in configdialog #77232

Closed

Description

@csabella
BPO 33051
Nosy @terryjreedy, @roseman, @csabella, @E-Paine
PRs
  • bpo-33051: IDLE: Separate editor options from the general tab in config #6082
  • Superseder
  • bpo-40468: IDLE: configdialog tab rearrange
  • 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 = <Date 2021-06-10.05:41:08.059>
    created_at = <Date 2018-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 = <Date 2021-06-10.05:41:08.058>
    user = 'https://github.com/csabella'

    bugs.python.org fields:

    activity = <Date 2021-06-10.05:41:08.058>
    actor = 'terry.reedy'
    assignee = 'terry.reedy'
    closed = True
    closed_date = <Date 2021-06-10.05:41:08.059>
    closer = 'terry.reedy'
    components = ['IDLE']
    creation = <Date 2018-03-11.19:26:19.895>
    creator = 'cheryl.sabella'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 33051
    keywords = ['patch']
    message_count = 6.0
    messages = ['313618', '316882', '316942', '316947', '375508', '375613']
    nosy_count = 4.0
    nosy_names = ['terry.reedy', 'markroseman', 'cheryl.sabella', 'epaine']
    pr_nums = ['6082']
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '40468'
    type = 'enhancement'
    url = 'https://bugs.python.org/issue33051'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

    Activity

    1. csabella commented on Mar 11, 2018

      @csabella
      ContributorAuthor

      Split out editor options from general tab in Config Dialog.

    2. terryjreedy commented on May 17, 2018

      @terryjreedy
      Member

      I expected that this would be needed eventually. Any particular reason why now?

    3. csabella commented on May 17, 2018

      @csabella
      ContributorAuthor

      Yes, I thought it would be good to have this before bpo-33046.

    4. terryjreedy commented on May 17, 2018

      @terryjreedy
      Member

      A new option would (maybe) apply to saving the shell also. (Something to discuss there.)

    5. E-Paine commented on Aug 16, 2020

      E-Painemannequin
      Mannequin

      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:

      1. We could enforce a more standard naming of page methods (create_page_* would become create_page and be called by the parent, for example)
      2. 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)
      3. 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.

    6. csabella commented on Aug 18, 2020

      @csabella
      ContributorAuthor

      @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.

    7. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions