[issue16629] IDLE: Calltips test fails due to int docstring change

Serhiy Storchaka report at bugs.python.org
Fri Dec 7 19:00:09 CET 2012


Serhiy Storchaka added the comment:

> The number of lines in the return value of get_argspec should be limited, otherwise the calltip window can become too large.

Calltip limited by first empty line. But I agree, some reasonable hard limit (say 10 lines) should be.

> I would separate the issue of fixing the test (behavior) from adding support for multi-line tool tips (enhancement).

Then calltip will be wrong. `int` can accept two arguments, not only one. Alternative consistent solution is to revert all changes which were convert oneline signatures to multiline (I think you won't like this ;) ).

> Unless the policy for IDLE is different, it seems the latter should be limited to 3.4.

The policy for IDLE is different.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16629>
_______________________________________


More information about the Python-bugs-list mailing list