Message198315
> 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. |
|
Date |
User |
Action |
Args |
2013-09-23 07:37:05 | vajrasky | set | recipients:
+ vajrasky, loewis, rhettinger, eric.araujo, flox |
2013-09-23 07:37:05 | vajrasky | set | messageid: <1379921825.09.0.204637855254.issue13404@psf.upfronthosting.co.za> |
2013-09-23 07:37:05 | vajrasky | link | issue13404 messages |
2013-09-23 07:37:04 | vajrasky | create | |
|