On 27 September 2017 at 15:54, Stefan Behnel wrote:
> Hi Lisandro,
>
> Lisandro Dalcin schrieb am 27.09.2017 um 14:42:
>> $ cython --version
>> Cython version 0.27
>>
>> $ cat tmp.pyx
>> def f() -> (list, list):
>> return [], []
>>
On 27 September 2017 at 17:18, Stefan Behnel wrote:
> Lisandro Dalcin schrieb am 27.09.2017 um 15:53:
>> Annotations can be used for
>> type hinting, but they are not required to do that.
>
> Well, they sort of are, according to PEP 484.
>
I gently disagree. Third paragra
ribute(fallthrough)
#define CYTHON_FALLTHROUGH __attribute__((fallthrough))
#elif defined(__GNUC__) && defined(__attribute__)
#define CYTHON_FALLTHROUGH __attribute__((fallthrough))
#else
#define CYTHON_FALLTHROUGH
#endif
#endif
--
Lisandro Dalcin
R
Folks, let me fix the the CYTHON_FALLTHROUGH the right way.
Additionally, I'll extend the Travis-CI build matrix with python 2/3
and a couple of xcode images.
On 14 October 2017 at 01:22, Stefan Behnel wrote:
> Lisandro Dalcin schrieb am 13.10.2017 um 21:42:
>> This is from a con
tput.
But IMHO the new output looks way better and it is totally in line with the
new trend of using annotations and typing.
PS: I should have raised this proposal earlier, but I've been quite busy,
sorry about that.
--
Lisandro Dalcin
Senior Research Scientist
Extreme Computing Re
what to do with
C/C++ types, and the interaction with the annotation typing directive.
> Also thinking of C++ types hereā¦
>
>
OK. Material for further discussion.
Regards,
--
Lisandro Dalcin
Senior Research Scientist
Extreme Computing Research Center (ECRC)
King Abdullah Uni
uld
> mean that we can start using f-strings, dict ordering, and what not.
>
> Any objections?
>
Not at all!
--
Lisandro Dalcin
Senior Research Scientist
Extreme Computing Research Center (ECRC)
King Abdullah University of Science and Technolog
n comment in sources.
In the face of ambiguity... give users various alternatives to the control
the behavior.
--
Lisandro Dalcin
Senior Research Scientist
Extreme Computing Research Center (ECRC)
King Abdullah University of Science and Technology (KAUST)
or` loop, and either let the C
compiler complain about the user code breaking the rules, or let users pay
for the consequences of breaking the Open MP rules with undefined behavior.
--
Lisandro Dalcin
Senior Research Scientist
Extreme Computing Research Center (ECRC)
King Abdullah U
think?
>
I would not say that mpi4py is a big project, but it is around 15K lines of
Cython code, and it is also ready for Cython 3. I'll update mpi4py
requirements to `cython>=3` as soon as Cython 3 is released.
--
Lisandro Dalcin
Senior Research Scientist
Extreme Computing
N_FAST_GIL=0" to your CFLAGS to disabled it (and "=1"
> to enable it explicitly). It's enabled by default in CPython 3.6-3.11 (but
> disabled in Cython 0.29.x on Python 3.11).
>
> Thanks,
> Stefan
> ___
&
What about adding a Cython compiler directive to set the default value of
the new macro? That way, it is up to the project's authors/maintainers to
decide on how to handle this, they are in a better position to weigh the
performance vs. portability trade-off. You still have to decide on the
defa
u are not in a rush to release 3.0.6, I would like to have some time
to properly investigate what's going on.
--
Lisandro Dalcin
Senior Research Scientist
Extreme Computing Research Center (ECRC)
King Abdullah University of Science and Technolo
101 - 113 of 113 matches
Mail list logo