Issue 20427: inspect.Signature should ensure that non-default params don't follow default ones (original ) (raw ) Issue20427
Created on 2014-01-28 23:01 by yselivanov , last changed 2022-04-11 14:57 by admin . This issue is now closed .
Messages (3)
msg209598 - (view)
Author: Yury Selivanov (yselivanov) *
Date: 2014-01-28 23:01
Right now it's possible to manually create signatures like "(a=1, b)". Patch is attached.
msg209616 - (view)
Author: Yury Selivanov (yselivanov) *
Date: 2014-01-29 05:39
New patch version: sig_validation_02.patch This one is a bit more correct--it uses Parameter's private '_partial_kwarg' to correctly validate partial signatures.
msg209654 - (view)
Author: Roundup Robot (python-dev)
Date: 2014-01-29 15:58
New changeset ca974997280d by Yury Selivanov in branch 'default': inspect.Signature: ensure that non-default params don't follow default ones #20427 http://hg.python.org/cpython/rev/ca974997280d
History
Date
User
Action
Args
2022-04-11 14:57:57
admin
set
github: 64626
2014-01-29 15:59:02
yselivanov
set
status: open -> closedresolution: fixed
2014-01-29 15:58:49
python-dev
set
nosy: + python-dev messages: +
2014-01-29 05:39:13
yselivanov
set
files: + sig_validation_02.patch messages: +
2014-01-28 23:01:06
yselivanov
create