[issue16638] support multi-line docstring signatures in IDLE calltips

2019-01-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: The standard calltip box is two lines: signature and docstring header. In most cases, such as int, iter, and min, the effect of this patch is to get both lines of a docstring signature, so the result is not abnormally big. And I agree with Serhiy that gett

[issue16638] support multi-line docstring signatures in IDLE calltips

2019-01-17 Thread Cheryl Sabella
Cheryl Sabella added the comment: Since many of the criteria mentioned in msg219204 are now implemented or out of date, should this issue now be re-closed? -- nosy: +cheryl.sabella ___ Python tracker __

[issue16638] support multi-line docstring signatures in IDLE calltips

2014-05-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: As I said previously, the only reason for the change was get all the docstring signature lines for builtins, after they were changed from 1 to many. I was not thrilled with having to do this. However, I felt that just presenting the arbitrary first of many lin

[issue16638] support multi-line docstring signatures in IDLE calltips

2014-05-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: Using Python 2.7.7 is a classroom setting revealed that this change is sometimes helpful and sometimes problematic. The big tip windows are VERY distracting during live coding demos and learners are reporting that it breaks their concentration. On the othe

[issue16638] support multi-line docstring signatures in IDLE calltips

2014-01-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Main change is using a custom function (2.7) or bytes instead of int for test and using maxsplit parameter to not needlessly split a 100-line docstring into 100 pieces. -- resolution: -> fixed stage: patch review -> committed/rejected status: open ->

[issue16638] support multi-line docstring signatures in IDLE calltips

2014-01-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6b62c923c0ef by Terry Jan Reedy in branch '2.7': Issue #16638: Include up to 5 docstring header lines (before first blank) in http://hg.python.org/cpython/rev/6b62c923c0ef New changeset 5b6c3760714e by Terry Jan Reedy in branch '3.3': Issue #16638:

[issue16638] support multi-line docstring signatures in IDLE calltips

2014-01-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: See #20338 for why I think 70 (or even 79, the limit in CallTipWindow) is too low a limit. The purpose of grabbing multiple lines is to get the signature lines of builtins. I believe the max number of lines needed is 5, for bytes. however, identifying likely

[issue16638] support multi-line docstring signatures in IDLE calltips

2014-01-04 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- dependencies: +Move CallTips tests to idle_tests ___ Python tracker ___ ___ Python-bugs-list mailing

[issue16638] support multi-line docstring signatures in IDLE calltips

2013-12-09 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file28249/idle_calltips_multiline_3.patch ___ Python tracker ___ ___ Python

[issue16638] support multi-line docstring signatures in IDLE calltips

2013-12-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The patch is synchronized with tip. -- versions: -Python 3.2 Added file: http://bugs.python.org/file33059/idle_calltips_multiline_4.patch ___ Python tracker

[issue16638] support multi-line docstring signatures in IDLE calltips

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16638] support multi-line docstring signatures in IDLE calltips

2012-12-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think we should add empty lines after signatures in all docstrings where it needed (i.e. for super()). Here is a command which shows calltips for all builtins: ./python -c "from idlelib.CallTips import get_argspec, get_entity; import builtins for name in

[issue16638] support multi-line docstring signatures in IDLE calltips

2012-12-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch moved from issue16629. I think this is a bugfix, because current behavior is wrong. Many functions (i.e. int, str, list, dict) have multiline signatures and IDLE shows only first line in a tip. I.e. "int(x=0) -> integer" showed for int(), but

[issue16638] support multi-line docstring signatures in IDLE calltips

2012-12-07 Thread Chris Jerdonek
Chris Jerdonek added the comment: [Continuing a discussion/question from the issue 16629 comments] > > For example, why not be smarter about detecting the end of the signature > > (e.g. first line not having "->")? > The objection is that there are such signatures: > foo(a, b, c,

[issue16638] support multi-line docstring signatures in IDLE calltips

2012-12-07 Thread Chris Jerdonek
New submission from Chris Jerdonek: This issue is to add support for rendering multi-line docstring signatures in IDLE calltips (e.g. iter(), min(), int(), etc). This was suggested by Serhiy in the comments to issue 16629. -- components: IDLE messages: 177118 nosy: chris.jerdonek, ser