[New-bugs-announce] [issue33839] IDLE tooltips.py: refactor and add docstrings and tests

Terry J. Reedy report at bugs.python.org
Mon Jun 11 16:09:40 EDT 2018


New submission from Terry J. Reedy <tjreedy at udel.edu>:

calltip_w.py code is partly based on tooltip.py.  The latter is currently unused.  But it is needed, with changes, for squeezer (#1529353).  So I would like to see if we can make an improved Tooltip class that can be used or subclassed by both.

The current subclasses should be deleted unless actually used.  Docstrings should be added to what remains.  Then test_tooltip, with 100% coverage, should be added.  If needed, code can be changed to make testing easier.

----------
assignee: terry.reedy
components: IDLE
messages: 319337
nosy: taleinat, terry.reedy
priority: normal
severity: normal
stage: test needed
status: open
title: IDLE tooltips.py: refactor and add docstrings and tests
type: behavior
versions: Python 3.6, Python 3.7, Python 3.8

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


More information about the New-bugs-announce mailing list