[Python-Dev] PEP 362 implementation issue: C callables

Yury Selivanov yselivanov.ml at gmail.com
Fri Jun 15 23:33:29 CEST 2012


On 2012-06-15, at 5:24 PM, Larry Hastings wrote:
[snip]
> I'm happy to do the work, but I don't have a good sense of which callables need a __signature__ attribute.  Can someone here tell me which ones might need a __signature__ attribute?

I think may we need to be able to write __signature__ attribute
to 'classmethod', 'staticmethod', 'functools.partial' and 
'method' ('types.MethodType').

-
Yury


More information about the Python-Dev mailing list