On 26/10/2021 07:53, Stefan Behnel wrote:
Am 26. Oktober 2021 07:54:10 MESZ schrieb Lisandro Dalcin:
In any case, if you know how and can implement the __future__ import,
that
would be great. Otherwise, valid Python3 code using that import
currently fails to compile in Cython.
Probably just an oversight. A no-op future import is trivial to add and ignore.

We do support the __future__ import as a no-op on the Cython 3 alphas:

https://github.com/cython/cython/blob/e93c2c556c5c15148763b26c6e3eef35ee88a22f/tests/run/pep563_annotations.py#L4

_______________________________________________
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel

Reply via email to