New submission from Denver Coneybeare <denver.coneybe...@gmail.com>:

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.

----------
components: IDLE
messages: 132828
nosy: denversc
priority: normal
severity: normal
status: open
title: idlelib/PyShell.py: incorrect module name reported in error message: 
Tkinter should be tkinter
versions: Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11745>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to