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 terry.reedy
Recipients rhettinger, taleinat, terry.reedy
Date 2021-05-18.02:33:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1621305192.23.0.619559123133.issue44163@roundup.psfhosted.org>
In-reply-to
Content
Thank you for the report.  Which 3.9.?  hyperparser has not changed in a year, but some of the calltip logic has.

This occurred when you typed a '(' and IDLE tried to open a calltip but failed, and you did not notice its absence.  Easy when not looking for it to help complete the call, especially when others are around.  Do you have any idea if more likely to have been in editor or shell, or did you use a mix of both?

The preceding lines are

        indexinrawtext = (len(self.rawtext) -
                          len(self.text.get(index, self.stopatindex)))
        if indexinrawtext < 0:

The resolution of this issue might be augment the error message to print the window type, the index as line.col as well as 'insert', the two lengths, and at least part of the text.

We should perhaps look at other callback error messages that IDLE raises.
History
Date User Action Args
2021-05-18 02:33:12terry.reedysetrecipients: + terry.reedy, rhettinger, taleinat
2021-05-18 02:33:12terry.reedysetmessageid: <1621305192.23.0.619559123133.issue44163@roundup.psfhosted.org>
2021-05-18 02:33:12terry.reedylinkissue44163 messages
2021-05-18 02:33:11terry.reedycreate