bpo-19903: IDLE: Change to inspect.signature for calltips#1382
bpo-19903: IDLE: Change to inspect.signature for calltips#1382louisom wants to merge 10 commits into
Conversation
This commit change the get_argspec from using inspect.getfullargspec to inspect.signature. It will improve the tip message for use. Also, if object is not callable, now will return this message for user, not blank tips. If the methods has an invalid method signature, it will also return message to user.
|
@lulouie, thanks for your PR! By analyzing the history of the files in this pull request, we identified @terryjreedy, @kbkaiser and @serhiy-storchaka to be potential reviewers. |
Sorry, something went wrong.
|
@serhiy-storchaka @terryjreedy Also add the test for first param not |
Sorry, something went wrong.
terryjreedy
left a comment
There was a problem hiding this comment.
See msg292964 on issue for explanations and comment on what test addition is needed.
Sorry, something went wrong.
|
Replaced by #2822 with new account name. LEAVE THIS OPEN FOR NOW. Since it will not be merged, I am using it as one example of not being able to edit the code due to lack permission. |
Sorry, something went wrong.
|
Edit by others being turned off seems to be resolved for now. |
Sorry, something went wrong.
This commit change the get_argspec from using inspect.getfullargspec
to inspect.signature. It will improve the tip message for use.