[issue21117] inspect: PartialSignature and PartialParameter classes

Nick Coghlan report at bugs.python.org
Tue Apr 1 00:29:52 CEST 2014


Nick Coghlan added the comment:

On 1 Apr 2014 08:17, "Yury Selivanov" <report at bugs.python.org> wrote:
>
> > I'm +0 on new types to clean that up if necessary, but would prefer it
if
> we could just improve the translation to ordinary signature objects
instead.
>
> I'm not sure I understand what you mean by "translation to ordinary
signature objects". Could you please elaborate on this?

If arguments bound by position disappear from the signature, and those
bound by keyword are mapped to keyword-only parameters with a default, we
should get a valid and accurate signature. That's a 3.4.1 bug fix, rather
than a 3.5 feature.

----------

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


More information about the Python-bugs-list mailing list