[issue20427] inspect.Signature should ensure that non-default params don't follow default ones

Yury Selivanov report at bugs.python.org
Wed Jan 29 00:01:06 CET 2014


New submission from Yury Selivanov:

Right now it's possible to manually create signatures like "(a=1, b)". Patch is attached.

----------
assignee: yselivanov
files: sig_validation_01.patch
keywords: needs review, patch
messages: 209598
nosy: brett.cannon, larry, ncoghlan, yselivanov
priority: normal
severity: normal
stage: patch review
status: open
title: inspect.Signature should ensure that non-default params don't follow default ones
type: behavior
versions: Python 3.4, Python 3.5
Added file: http://bugs.python.org/file33785/sig_validation_01.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20427>
_______________________________________


More information about the Python-bugs-list mailing list