Skip to content

tkinter/__init__.py raises a NameError if NoDefaultRoot() #86838

Closed

Description

@shippo16
mannequin
BPO 42672
Nosy @serhiy-storchaka, @shippo16
Superseder
  • bpo-42630: Variable.init raises obscure AttributeError
  • Files
  • default_root.diff: patch
  • 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 = None
    closed_at = <Date 2020-12-19.08:43:06.134>
    created_at = <Date 2020-12-17.21:16:50.258>
    labels = ['type-bug', 'expert-tkinter', '3.10']
    title = 'tkinter/__init__.py raises a NameError if NoDefaultRoot()'
    updated_at = <Date 2020-12-19.12:40:55.346>
    user = 'https://github.com/shippo16'

    bugs.python.org fields:

    activity = <Date 2020-12-19.12:40:55.346>
    actor = 'shippo_'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-12-19.08:43:06.134>
    closer = 'serhiy.storchaka'
    components = ['Tkinter']
    creation = <Date 2020-12-17.21:16:50.258>
    creator = 'shippo_'
    dependencies = []
    files = ['49690']
    hgrepos = []
    issue_num = 42672
    keywords = ['patch']
    message_count = 2.0
    messages = ['383365', '383377']
    nosy_count = 2.0
    nosy_names = ['serhiy.storchaka', 'shippo_']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '42630'
    type = 'behavior'
    url = 'https://bugs.python.org/issue42672'
    versions = ['Python 3.10']

    Activity

    1. added
      3.10 (EOL)
      type-bug
      on Dec 17, 2020
    2. serhiy-storchaka commented on Dec 19, 2020

      @serhiy-storchaka
      Member

      The patch is not correct. Its first part negates the correct behavior, its second part does not affect behavior at all, and all this does not have any effect on NameError.

      This issue looks like a duplication of 42630.

    3. shippo16 commented on Dec 19, 2020

      shippo16mannequin
      MannequinAuthor

      Thank you!

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

    No one assigned

      Labels

      3.10 (EOL)topic-tkintertype-bug

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions