[issue33839] IDLE tooltips.py: refactor and add docstrings and tests

Terry J. Reedy report at bugs.python.org
Wed Jun 20 03:07:22 EDT 2018


Terry J. Reedy <tjreedy at udel.edu> added the comment:

> if: versus try: The latter is faster if try: succeeds. On the other hand, we could make the if: fail by mocking it.  Since there is no except: or else: code to test, it hardly seems worth it.  A low priority item.

Generalizing 'show calltip': Great idea, as in "Why didn't I think of that!".  Works if cursor on same line as squeeze box.  Either same delay or calculate from hover delay.  If we have different popup contents, I think 1 at a time would be fine.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33839>
_______________________________________


More information about the Python-bugs-list mailing list