Hello Sebastien,
>> Currently it is quite new, but it passes the largest part of the CPython
>> test suite, so it should be very compatible.
>
> don't take it wrong but, how different is that from ShedSkin[0] ?
I looked at it, and it seems to use C++ STL instead if libpython, and
has this constraint: "can translate pure, but implicitly statically
typed Python programs into optimized C++".
So Cython (and alikes) are about compiling Python to C, but "object"
remains a legal type. Writing
if x:
a = None
elif y:
a = "112"
else:
a = 3
return a
is not going to get you into any trouble, worst case is loss of
performance, but not necessarily.
Yours,
Kay
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev