This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author denversc
Recipients denversc
Date 2011-04-03.02:52:34
SpamBayes Score 7.8682424e-05
Marked as misclassified No
Message-id <1301799156.61.0.675938234599.issue11745@psf.upfronthosting.co.za>
In-reply-to
Content
Just a very minor bug.  The error message in idlelib/PyShell.py that is printed when importing tkinter fails says that it failed to import "Tkinter", but the actual module name is "tkinter" (with a lowercase t).  

try:
    from tkinter import *
except ImportError:
    print("** IDLE can't import Tkinter.  " \
          "Your Python may not be configured for Tk. **", file=sys.__stderr__)

A patch is attached.
History
Date User Action Args
2011-04-03 02:52:36denverscsetrecipients: + denversc
2011-04-03 02:52:36denverscsetmessageid: <1301799156.61.0.675938234599.issue11745@psf.upfronthosting.co.za>
2011-04-03 02:52:34denversclinkissue11745 messages
2011-04-03 02:52:34denversccreate