New submission from Raymond Hettinger <raymond.hettin...@gmail.com>:

Here's a new error that I hadn't seen before.  I occurred at some point during 
a full day training session, so am not sure what triggered the failure:

Exception in Tkinter callback
Traceback (most recent call last):
  File 
"/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/tkinter/__init__.py",
 line 1892, in __call__
    return self.func(*args)
  File 
"/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/idlelib/multicall.py",
 line 176, in handler
    r = l[i](event)
  File 
"/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/idlelib/calltip.py",
 line 51, in try_open_calltip_event
    self.open_calltip(False)
  File 
"/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/idlelib/calltip.py",
 line 62, in open_calltip
    hp = HyperParser(self.editwin, "insert")
  File 
"/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/idlelib/hyperparser.py",
 line 79, in __init__
    self.set_index(index)
  File 
"/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/idlelib/hyperparser.py",
 line 89, in set_index
    raise ValueError("Index %s precedes the analyzed statement"
ValueError: Index insert precedes the analyzed statement

----------
assignee: terry.reedy
components: IDLE
messages: 393845
nosy: rhettinger, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE ValueError in HyperParser
type: behavior
versions: Python 3.9

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

Reply via email to