Hi.
[Finn]
> >In that case, wouldn't
> >that be nice to have a .sig attribute (or even .signature, which gets my
> >vote,
> >or .__signature__ or something) instead of (or -- for backwards
> >compatibility
> >-- in addition to) the docstring convention (or, as some might call it,
> >"hack" ;-)?
>
> It would be nice, but I'm not entirely sure it is possible. The function
> attributes are a runtime feature, the @sig is very much a compile time
> feature.
Given all the real problem and confusion sources that you listed, I don't think
it is worth the effort.
regards, Samuele Pedroni.
|