You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add support for system.methodSignature() to XMLRPC Server #57613
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=Nonecreated_at=<Date2011-11-14.17:33:42.287>labels= ['type-feature', 'library']
title='Add support for system.methodSignature() to XMLRPC Server'updated_at=<Date2013-09-23.07:37:05.043>user='https://github.com/rhettinger'
Activity
rhettinger commentedon Nov 14, 2011
Currently, the server has a stub method that returns: 'signatures not supported'.
Using the inspect module, it shouldn't be difficult to provide function/method signatures for over-the-wire introspection.
loewis commentedon Nov 14, 2011
How do you infer the data types for the parameters?
vajrasky commentedon Sep 23, 2013
I don't think we can, unless we force them to use function annotation. If they don't use that feature, then we say the signature is not supported.
The problem is getting deeper if we are talking about return value type.
I therefore embrace the dynamic nature of Python with this patch.