Skip to content
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

IDLE, configdialog: Factor out KeysPage class from ConfigDialog #75388

Closed
terryjreedy opened this issue Aug 15, 2017 · 12 comments
Closed

IDLE, configdialog: Factor out KeysPage class from ConfigDialog #75388

terryjreedy opened this issue Aug 15, 2017 · 12 comments
Assignees
Labels
3.7 (EOL) end of life topic-IDLE type-feature A feature request or enhancement

Comments

@terryjreedy
Copy link
Member

BPO 31205
Nosy @terryjreedy, @ambv, @csabella
PRs
  • bpo-31205: IDLE: Factor KeysPage class from ConfigDialog #3096
  • [3.6] bpo-31205: IDLE: Factor KeysPage class from ConfigDialog (GH-3096) #3097
  • [3.6] bpo-31206: IDLE: Factor HighPage class from ConfigDialog (GH-3141) #3154
  • 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 2017-08-15.23:14:03.299>
    created_at = <Date 2017-08-15.01:13:03.385>
    labels = ['expert-IDLE', 'type-feature', '3.7']
    title = 'IDLE, configdialog: Factor out KeysPage class from ConfigDialog'
    updated_at = <Date 2017-08-25.16:31:42.367>
    user = 'https://github.com/terryjreedy'

    bugs.python.org fields:

    activity = <Date 2017-08-25.16:31:42.367>
    actor = 'lukasz.langa'
    assignee = 'terry.reedy'
    closed = True
    closed_date = <Date 2017-08-15.23:14:03.299>
    closer = 'terry.reedy'
    components = ['IDLE']
    creation = <Date 2017-08-15.01:13:03.385>
    creator = 'terry.reedy'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 31205
    keywords = []
    message_count = 12.0
    messages = ['300273', '300275', '300292', '300301', '300312', '300315', '300316', '300544', '300583', '300722', '300734', '300845']
    nosy_count = 3.0
    nosy_names = ['terry.reedy', 'lukasz.langa', 'cheryl.sabella']
    pr_nums = ['3096', '3097', '3154']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue31205'
    versions = ['Python 3.6', 'Python 3.7']

    @terryjreedy
    Copy link
    Member Author

    Do as did with bpo-31050 and GenPage class. This should be done *before* bpo-31001, highlights test.

    @terryjreedy terryjreedy added the 3.7 (EOL) end of life label Aug 15, 2017
    @terryjreedy terryjreedy self-assigned this Aug 15, 2017
    @terryjreedy terryjreedy added topic-IDLE type-feature A feature request or enhancement labels Aug 15, 2017
    @terryjreedy
    Copy link
    Member Author

    Let me know if you start on this.

    @csabella
    Copy link
    Contributor

    I'll work on this today.

    @csabella
    Copy link
    Contributor

    I ran into an issue with the three calls to functions in ConfigDialog (deactivate_current_config, activate_config_changes, and save_all_changed_extensions) from within the KeysPage class. I tried to minimize the changes by just creating self.cd for the ConfigDialog instance. Besides that, the changes were the same as the FontPage and GenPage.

    @terryjreedy
    Copy link
    Member Author

    New changeset e36d9f5 by Terry Jan Reedy (Cheryl Sabella) in branch 'master':
    bpo-31205: IDLE: Factor KeysPage class from ConfigDialog (bpo-3096)
    e36d9f5

    @terryjreedy
    Copy link
    Member Author

    The change to configdialog is basically a block move with a few edits. The resulting diff is so complicated that git could not apply it cleanly to the identical code in 3.6. We should do multiple PRs for the highlight group.

    @terryjreedy
    Copy link
    Member Author

    New changeset ff4b222 by Terry Jan Reedy in branch '3.6':
    [3.6] bpo-31205: IDLE: Factor KeysPage class from ConfigDialog (GH-3096) (bpo-3097)
    ff4b222

    @terryjreedy
    Copy link
    Member Author

    New changeset a32e405 by Terry Jan Reedy (Cheryl Sabella) in branch 'master':
    bpo-31206: IDLE: Factor HighPage class from ConfigDialog (bpo-3141)
    a32e405

    @terryjreedy
    Copy link
    Member Author

    New changeset 764e282 by Terry Jan Reedy (Cheryl Sabella) in branch '3.6':
    [3.6] bpo-31206: IDLE: Factor HighPage class from ConfigDialog (GH-3141) (bpo-3154)
    764e282

    @ambv
    Copy link
    Contributor

    ambv commented Aug 22, 2017

    I don't understand why #47347 was introduced to 3.6.2. This doesn't look like a bugfix?

    @terryjreedy
    Copy link
    Member Author

    Reading PEP-434, special rules for IDLE, should mostly answer your question.

    @ambv
    Copy link
    Contributor

    ambv commented Aug 25, 2017

    Oh, forgot about this exception, sorry! Thanks for the clarification.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.7 (EOL) end of life topic-IDLE type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants