[Python-Dev] expy: an expressway to extend Python
Eric Entin
eric at ericentin.com
Tue Jul 21 22:26:52 CEST 2009
I think the point of his software is to make it easier to interface Python
with C code, although his examples were probably not the best.
Eric Entin
On Tue, Jul 21, 2009 at 2:52 PM, Oleg Broytmann <phd at phd.pp.ru> wrote:
> On Tue, Jul 21, 2009 at 11:22:19AM -0700, Yingjie Lan wrote:
> > @function(double) #return type: double
> > def sqrt(x=double): #argument x: double
>
> Python 3.0 has arguments and return value annotations:
>
> http://docs.python.org/3.0/whatsnew/3.0.html#new-syntax
> http://www.python.org/dev/peps/pep-3107/
>
> Oleg.
> --
> Oleg Broytmann http://phd.pp.ru/ phd at phd.pp.ru
> Programmers don't die, they just GOSUB without RETURN.
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> http://mail.python.org/mailman/options/python-dev/eric%40ericentin.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20090721/8db68e5b/attachment.htm>
More information about the Python-Dev
mailing list