Skip to content

Parts of Tkinter missing (but not when running from IDLE) #49737

Closed

Description

@oc
mannequin
BPO 5487
Nosy @loewis
Files
  • snippet.py: Mario Paint Composer Assistant snippet
  • 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 2009-03-14.08:43:56.405>
    created_at = <Date 2009-03-14.05:16:23.778>
    labels = ['expert-tkinter', 'type-crash']
    title = 'Parts of Tkinter missing (but not when running from IDLE)'
    updated_at = <Date 2009-03-14.08:43:56.302>
    user = 'https://bugs.python.org/oc'

    bugs.python.org fields:

    activity = <Date 2009-03-14.08:43:56.302>
    actor = 'loewis'
    assignee = 'none'
    closed = True
    closed_date = <Date 2009-03-14.08:43:56.405>
    closer = 'loewis'
    components = ['Tkinter']
    creation = <Date 2009-03-14.05:16:23.778>
    creator = 'oc'
    dependencies = []
    files = ['13328']
    hgrepos = []
    issue_num = 5487
    keywords = []
    message_count = 2.0
    messages = ['83572', '83573']
    nosy_count = 2.0
    nosy_names = ['loewis', 'oc']
    pr_nums = []
    priority = 'normal'
    resolution = 'wont fix'
    stage = None
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue5487'
    versions = ['Python 3.0']

    Activity

    1. oc commented on Mar 14, 2009

      ocmannequin
      MannequinAuthor

      When running a script using Python 3.0.1 I get an error saying that
      tkinter.messagebox doesn't exist. However when I run the same script
      from within IDLE, it works fine.

      This has led to my thinking I'd fixed the Python 2.6/3 compatibility
      errors while testing in IDLE, but had end users say it didn't work.

    2. added
      type-crashA hard crash of the interpreter, possibly with a core dump
      on Mar 14, 2009
    3. loewis commented on Mar 14, 2009

      loewismannequin
      Mannequin

      Why do you think this is a bug? You need to import tkinter.messagebox
      explicitly for your program to be correct. That you could do without
      inside IDLE is only because IDLE had already imported that module.

      Closing as "won't fix".

    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

      topic-tkintertype-crashA hard crash of the interpreter, possibly with a core dump

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions