Issue35641
Created on 2019-01-02 16:43 by taleinat, last changed 2022-04-11 14:59 by admin. This issue is now closed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 11415 | merged | eamanu, 2019-01-02 19:43 | |
| PR 11420 | merged | miss-islington, 2019-01-03 07:48 | |
| PR 11479 | merged | terry.reedy, 2019-01-09 15:36 | |
| PR 11480 | merged | miss-islington, 2019-01-09 15:44 | |
| Messages (8) | |||
|---|---|---|---|
| msg332882 - (view) | Author: Tal Einat (taleinat) * ![]() |
Date: 2019-01-02 16:43 | |
IDLE usually wraps call-tips to 85 characters. However, for functions without a doc-string, this formatting is skipped. This is an issue for functions with long signatures, e.g. due to having many arguments or due to having default values with long repr-s. This appears to be caused by line 170 in Lib/idlelib/calltip.py being indented once too much. (see: https://github.com/python/cpython/blob/87e59ac11ee074b0dc1bc864c74fac0660b27f6e/Lib/idlelib/calltip.py) Thanks to Dan Snider for the original report in msg332881 on issue #35196. Example: >>> def foo(s='a'*100): pass >>> print(get_argspec(foo)) (s='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') >>> def bar(s='a'*100): """doc-string""" pass >>> print(get_argspec(bar)) (s='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaa') doc-string |
|||
| msg332885 - (view) | Author: Tal Einat (taleinat) * ![]() |
Date: 2019-01-02 17:43 | |
I'm marking this as easy. Whoever works on this should make sure to add a new test case for this bug. |
|||
| msg332886 - (view) | Author: Emmanuel Arias (eamanu) * | Date: 2019-01-02 18:03 | |
Hi Tal Einat! I would like to take this issue to be my first contribution :-) Thanks! |
|||
| msg332917 - (view) | Author: Terry J. Reedy (terry.reedy) * ![]() |
Date: 2019-01-03 07:48 | |
New changeset ab54b9a130c88f708077c2ef6c4963b632c132b3 by Terry Jan Reedy (Emmanuel Arias) in branch 'master': bpo-35641: IDLE - format calltip properly when no docstring (GH-11415) https://github.com/python/cpython/commit/ab54b9a130c88f708077c2ef6c4963b632c132b3 |
|||
| msg332925 - (view) | Author: miss-islington (miss-islington) | Date: 2019-01-03 09:44 | |
New changeset 3c83cb7eed4f0e8b9f1cbf39263a2053a2483cb0 by Miss Islington (bot) in branch '3.7': bpo-35641: IDLE - format calltip properly when no docstring (GH-11415) https://github.com/python/cpython/commit/3c83cb7eed4f0e8b9f1cbf39263a2053a2483cb0 |
|||
| msg332926 - (view) | Author: Tal Einat (taleinat) * ![]() |
Date: 2019-01-03 09:52 | |
Thanks for the report, Dan! Thanks for the fix, Emmanuel! |
|||
| msg333326 - (view) | Author: Terry J. Reedy (terry.reedy) * ![]() |
Date: 2019-01-09 15:44 | |
New changeset ee6559436797032b816dfb8c6376c9a451014962 by Terry Jan Reedy in branch 'master': bpo-35641: Move IDLE blurb to IDLE directory (#11479) https://github.com/python/cpython/commit/ee6559436797032b816dfb8c6376c9a451014962 |
|||
| msg333328 - (view) | Author: miss-islington (miss-islington) | Date: 2019-01-09 15:49 | |
New changeset 6f76ef81596bbd885957b7fea3f40024ed9d6797 by Miss Islington (bot) in branch '3.7': bpo-35641: Move IDLE blurb to IDLE directory (GH-11479) https://github.com/python/cpython/commit/6f76ef81596bbd885957b7fea3f40024ed9d6797 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:59:09 | admin | set | github: 79822 |
| 2019-01-09 19:22:17 | terry.reedy | set | pull_requests: - pull_request10994 |
| 2019-01-09 19:21:55 | terry.reedy | set | pull_requests: - pull_request10995 |
| 2019-01-09 15:49:44 | miss-islington | set | messages: + msg333328 |
| 2019-01-09 15:44:51 | miss-islington | set | pull_requests: + pull_request10995 |
| 2019-01-09 15:44:39 | miss-islington | set | pull_requests: + pull_request10994 |
| 2019-01-09 15:44:27 | miss-islington | set | pull_requests: + pull_request10993 |
| 2019-01-09 15:44:11 | terry.reedy | set | messages: + msg333326 |
| 2019-01-09 15:40:21 | terry.reedy | set | pull_requests: - pull_request10991 |
| 2019-01-09 15:40:04 | terry.reedy | set | pull_requests: - pull_request10992 |
| 2019-01-09 15:36:32 | terry.reedy | set | pull_requests: + pull_request10992 |
| 2019-01-09 15:36:21 | terry.reedy | set | pull_requests: + pull_request10991 |
| 2019-01-09 15:36:11 | terry.reedy | set | pull_requests: + pull_request10990 |
| 2019-01-03 09:52:56 | taleinat | set | status: open -> closed messages: + msg332926 keywords:
patch, patch, patch, patch, easy |
| 2019-01-03 09:51:11 | taleinat | set | pull_requests: - pull_request10830 |
| 2019-01-03 09:51:02 | taleinat | set | pull_requests: - pull_request10831 |
| 2019-01-03 09:44:49 | miss-islington | set | nosy:
+ miss-islington messages: + msg332925 |
| 2019-01-03 07:48:37 | miss-islington | set | pull_requests: + pull_request10831 |
| 2019-01-03 07:48:29 | miss-islington | set | pull_requests: + pull_request10830 |
| 2019-01-03 07:48:22 | miss-islington | set | pull_requests: + pull_request10829 |
| 2019-01-03 07:48:08 | terry.reedy | set | messages: + msg332917 |
| 2019-01-02 19:47:11 | taleinat | set | pull_requests: - pull_request10816 |
| 2019-01-02 19:47:01 | taleinat | set | pull_requests: - pull_request10815 |
| 2019-01-02 19:46:51 | taleinat | set | pull_requests: - pull_request10814 |
| 2019-01-02 19:43:33 | eamanu | set | keywords:
+ patch stage: needs patch -> patch review pull_requests: + pull_request10816 |
| 2019-01-02 19:43:25 | eamanu | set | keywords:
+ patch stage: needs patch -> needs patch pull_requests: + pull_request10815 |
| 2019-01-02 19:43:18 | eamanu | set | keywords:
+ patch stage: needs patch -> needs patch pull_requests: + pull_request10814 |
| 2019-01-02 19:43:12 | eamanu | set | keywords:
+ patch stage: needs patch -> needs patch pull_requests: + pull_request10813 |
| 2019-01-02 18:03:19 | eamanu | set | nosy:
+ eamanu messages: + msg332886 |
| 2019-01-02 17:43:28 | taleinat | set | keywords:
+ easy assignee: taleinat -> messages: + msg332885 |
| 2019-01-02 16:44:09 | taleinat | set | nosy:
+ terry.reedy versions: + Python 3.7, Python 3.8 assignee: taleinat components: + IDLE type: behavior stage: needs patch |
| 2019-01-02 16:43:39 | taleinat | create | |
