Re: [Cython] Annotations and Cython 3

2021-10-25 Thread da-woods
One further option would be to revert to Cython 0.29 behaviour, but support the PEP-563 version as a "from __future__" import (essentially following the current behaviour of Python). When I wrong the original patch for the PEP-563 I tried to do that, but then removed the code in favour of keepi

[Cython] Annotations and Cython 3

2021-10-25 Thread da-woods
I suspect the answer to this is still "wait and see" but: do we have an opinion on what we want to do about annotations in Cython 3. Currently we're targetting PEP-563 behaviour. To me it looks fairly likely that this won't be what Python decides on. I guess the likely outcomes are "status quo

Re: [Cython] Annotations and Cython 3

2021-10-25 Thread Lisandro Dalcin
On Mon, 25 Oct 2021 at 21:57, da-woods wrote: > One further option would be to revert to Cython 0.29 behaviour, but > support the PEP-563 version as a "from __future__" import (essentially > following the current behaviour of Python). In any case, if you know how and can implement the __future_