[New-bugs-announce] [issue11745] idlelib/PyShell.py: incorrect module name reported in error message: Tkinter should be tkinter
Denver Coneybeare
report at bugs.python.org
Sun Apr 3 04:52:36 CEST 2011
New submission from Denver Coneybeare <denver.coneybeare at 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 <report at bugs.python.org>
<http://bugs.python.org/issue11745>
_______________________________________
More information about the New-bugs-announce
mailing list