Vajrasky Kok added the comment:

> How do you infer the data types for the parameters?

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.

if a == 1:
  return 'spam'
else:
  return 3.14

I therefore embrace the dynamic nature of Python with this patch.

----------
keywords: +patch
nosy: +vajrasky
Added file: 
http://bugs.python.org/file31847/add_method_signature_to_xmlrpc_server.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13404>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to