Issue 20356: fix formatting of positional-only parameters in inspect.Signature (original) (raw)

Issue20356

Created on 2014-01-22 22:52 by yselivanov, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
pos_only_format_01.patch yselivanov,2014-01-22 22:52 review
pos_only_format_02.patch yselivanov,2014-01-23 02:42 review
Messages (4)
msg208860 - (view) Author: Yury Selivanov (yselivanov) * (Python committer) Date: 2014-01-22 22:52
Fix formatting of positional-only parameters to use '/' as a separator for them from other kinds. This patch also makes 'Parameter.name' required, as well as being a valid identifier (as per discussion with Larry, Nick and Brett).
msg208875 - (view) Author: Yury Selivanov (yselivanov) * (Python committer) Date: 2014-01-23 02:42
One more patch revision: added versionchanged directive for the inspect.Parameter class docs.
msg208968 - (view) Author: Yury Selivanov (yselivanov) * (Python committer) Date: 2014-01-23 16:45
I'd like to commit this one later today, so please take a look at the patch.
msg209470 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014-01-27 20:08
New changeset ffe1d684b41e by Yury Selivanov in branch 'default': inspect.signature: Use '/' to separate positional-only parameters from http://hg.python.org/cpython/rev/ffe1d684b41e
History
Date User Action Args
2022-04-11 14:57:57 admin set github: 64555
2014-01-27 22:30:09 yselivanov set resolution: fixed
2014-01-27 20:11:23 yselivanov set status: open -> closed
2014-01-27 20:08:56 python-dev set nosy: + python-devmessages: +
2014-01-23 16:45:32 yselivanov set messages: +
2014-01-23 02:42:56 yselivanov set files: + pos_only_format_02.patchmessages: +
2014-01-22 22:52:06 yselivanov create