Issue 1486: Idle tab command completion (original) (raw)

Running idle from a terminal window in desktop.

Python 2.5.1 (r251:54863, Nov 22 2007, 13:55:16) [GCC 4.1.2] on linux2 Type "copyright", "credits" or "license()" for more information.

****************************************************************
Personal firewall software may warn about the connection IDLE
makes to its subprocess using this computer's internal loopback
interface.  This connection is not visible on any external
interface and no data is sent to or received from the Internet.
****************************************************************

IDLE 1.2.1

import sys test = sys. <--- pressing tab should give you the available options for that module/library.

The error in the console is as follows:

Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 1403, in call return self.func(*args) File "/usr/lib/python2.5/idlelib/AutoCompleteWindow.py", line 217, in winconfig_event x, y, cx, cy = self.widget.bbox(self.startindex) File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 2833, in bbox self.tk.call((self._w, 'bbox') + args)) or None File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 1030, in _getints return tuple(map(getint, self.tk.splitlist(string))) ValueError: invalid literal for int() with base 10: '(128,' Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 1403, in call return self.func(*args) File "/usr/lib/python2.5/idlelib/AutoCompleteWindow.py", line 217, in winconfig_event x, y, cx, cy = self.widget.bbox(self.startindex) File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 2833, in bbox self.tk.call((self._w, 'bbox') + args)) or None File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 1030, in _getints return tuple(map(getint, self.tk.splitlist(string))) ValueError: invalid literal for int() with base 10: '(128,' Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 1403, in call return self.func(*args) File "/usr/lib/python2.5/idlelib/AutoCompleteWindow.py", line 217, in winconfig_event x, y, cx, cy = self.widget.bbox(self.startindex) File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 2833, in bbox self.tk.call((self._w, 'bbox') + args)) or None File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 1030, in _getints return tuple(map(getint, self.tk.splitlist(string))) ValueError: invalid literal for int() with base 10: '(128,'