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 doko
Recipients doko
Date 2010-07-08.14:40:12
SpamBayes Score 2.1286878e-05
Marked as misclassified No
Message-id <1278600015.52.0.587656960584.issue9201@psf.upfronthosting.co.za>
In-reply-to
Content
[forwarded from https://launchpad.net/bugs/597763]

seen with all version, built with Tcl8.5

To reproduce the bug, use the following class:

class x(object):
 TEST = "hello"
 THE_MAXIMUM = 55

 def __init__(self, a, b):
  self.a = 3
  self.b = "test"

and set the cursor behind "test". After that use SHIFT + UP (so from 3 to incl. "test" will be marked) and after that use SHIFT + POS1, which will produce this exception:

>>> Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 1413, in __call__
    return self.func(*args)
  File "/usr/lib/python2.6/idlelib/MultiCall.py", line 151, in handler
    r = l[i](event)
  File "/usr/lib/python2.6/idlelib/EditorWindow.py", line 335, in home_callback
    if self.text.compare(first,">",last):
  File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 2863, in compare
    self._w, 'compare', index1, op, index2))
TclError: expected boolean value but got ""
History
Date User Action Args
2010-07-08 14:40:15dokosetrecipients: + doko
2010-07-08 14:40:15dokosetmessageid: <1278600015.52.0.587656960584.issue9201@psf.upfronthosting.co.za>
2010-07-08 14:40:13dokolinkissue9201 messages
2010-07-08 14:40:12dokocreate