[issue40181] IDLE: remove positional-only note from calltips
Terry J. Reedy
report at bugs.python.org
Sat Apr 4 16:28:14 EDT 2020
New submission from Terry J. Reedy <tjreedy at udel.edu>:
IDLE calltips currently contain " # '/' marks preceding args as positional-only." when the signature contains '/' because, before 3.8, '/' was only used by argument clinic and only displayed by inspect.signature. Now that '/' is a regular part of Python, the special note is not needed for the 3.8+ versions of IDLE.
The get_argspec docstring also needs updating, and I think the body has some redundant code. The main test change needed is to remove the '/' note from expected returns. I may first isolate any affected tests to minimize the difference between 3.7 and 3.8-9 code, so as to minimize the possibility of merge conflicts in backports.
----------
messages: 365777
nosy: terry.reedy
priority: normal
severity: normal
stage: test needed
status: open
title: IDLE: remove positional-only note from calltips
type: enhancement
versions: Python 3.7, Python 3.8, Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40181>
_______________________________________
More information about the Python-bugs-list
mailing list