Re: [Cython] Cygwin: Handling missing C99 long double functions

2016-05-11 Thread Greg Ewing
Erik Bray wrote: A developer who writes some code that happens to use long double isn't going to think themselves "Gosh, I guess I can't accept `long double` here because it may cause Cython to generate code that contains "truncl" Sounds to me like Cython shouldn't be taking it upon itself to g

[Cython] @staticmethod decorator applied twice

2016-05-11 Thread Jeroen Demeyer
When investigating some issue with decorators, I noticed the following stange thing: it seems that the @staticmethod decorator is actually applied twice in some cases. For example, the testsuite file tests/run/static_methods.pyx contains the following code: cdef class A: @staticmethod

Re: [Cython] Cygwin: Handling missing C99 long double functions

2016-05-11 Thread Erik Bray
On Tue, May 10, 2016 at 8:01 AM, Robert Bradshaw wrote: > On Wed, May 4, 2016 at 8:01 AM, Erik Bray wrote: >> On Tue, May 3, 2016 at 7:15 PM, Robert Bradshaw wrote: >>> On Tue, May 3, 2016 at 3:04 AM, Erik Bray wrote: I agree that it would be safest not to use long double where long d