[Cython] from __future__ import ...
Stefan Behnel
stefan_ml at behnel.de
Thu May 15 20:41:26 CEST 2008
Hi,
Lisandro Dalcin wrote:
> Iff the 'from __future__ ...' is NOT used, and a in a pxy file I do
>
> a = "abc"
>
> What the type of 'a' will be if I compile and run the generated C
> source in a Python 3 runtime environment?
I'm currently reconsidering that, and I'm still not sure. We could simply
enable all __future__ features by default that the runtime environment enables
(and that we support in Cython, obviously). That's a straight forward thing to
do and it wouldn't be any different from the portability of Python code...
What do the others think?
Stefan
More information about the Cython-dev
mailing list