IDLE: raises Exception TclError in a special case
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python |
Confirmed
|
Unknown
|
|||
python3.1 (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
Binary package hint: python3.1
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/
return self.func(*args)
File "/usr/lib/
r = l[i](event)
File "/usr/lib/
if self.text.
File "/usr/lib/
self._w, 'compare', index1, op, index2))
TclError: expected boolean value but got ""
This will appear in all latest Python IDLEs (2.6.4, 3.1.1+). In my opinion this bug will not only appear in this case but rather in different ones. I attached a screenshot.
Changed in python3.1 (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in python: | |
status: | Unknown → New |
Changed in python: | |
status: | New → Confirmed |