Re: [Cython] New function (pointer) syntax.

2014-11-07 Thread Robert Bradshaw
On Fri, Nov 7, 2014 at 11:29 AM, C Blake wrote: > Robert Bradshaw robertwb at gmail.com wrote: >>Quick: is that a pointer to an array or 10 pointers to ints? Yes, I >>know what it is, but the thing is without knowing C (well) it's not >>immediately obvious what the precedence should be. > > If you

Re: [Cython] Cython sometimes fails to build on Travis

2014-11-07 Thread Stefan Behnel
Nathaniel Smith schrieb am 07.11.2014 um 23:43: > On Fri, Nov 7, 2014 at 5:13 PM, Ondrej Certik wrote: >> Cython sometimes fails to build on Travis for various projects. If it >> fails, it always ends with this error: >> >> https://gist.github.com/certik/08f16dd572170c17d956 Might be a problem wit

Re: [Cython] Cython sometimes fails to build on Travis

2014-11-07 Thread Nathaniel Smith
On Fri, Nov 7, 2014 at 5:13 PM, Ondrej Certik wrote: > Hi, > > Cython sometimes fails to build on Travis for various projects. If it > fails, it always ends with this error: > > https://gist.github.com/certik/08f16dd572170c17d956 I don't have any insight into the error, but for CI purposes I inst

Re: [Cython] New function (pointer) syntax.

2014-11-07 Thread C Blake
Robert Bradshaw robertwb at gmail.com wrote: >Quick: is that a pointer to an array or 10 pointers to ints? Yes, I >know what it is, but the thing is without knowing C (well) it's not >immediately obvious what the precedence should be. If you're gonna pick something e.g like that, it should not be

[Cython] Cython sometimes fails to build on Travis

2014-11-07 Thread Ondrej Certik
Hi, Cython sometimes fails to build on Travis for various projects. If it fails, it always ends with this error: https://gist.github.com/certik/08f16dd572170c17d956 Here are some instances of this failure in other projects: https://github.com/sympy/csympy/issues/308 https://github.com/scipy/sci

Re: [Cython] [cython-users] Re: New function (pointer) syntax.

2014-11-07 Thread Robert Bradshaw
On Thu, Nov 6, 2014 at 11:30 PM, Ian Henriksen wrote: > On Thursday, November 6, 2014 9:48:53 PM UTC-7, 1989lzhh wrote: >> >> > 在 Nov 7, 2014,02:56,Robert Bradshaw 写道: >> > >> > [Cc'ing elsewhere for more feedback. Also top-posting for initial >> > impressions before the discussion.] >> > >> > He

Re: [Cython] New function (pointer) syntax.

2014-11-07 Thread Robert Bradshaw
On Thu, Nov 6, 2014 at 1:35 PM, C Blake wrote: > I think you should just use the C declarator syntax. Cython already > allows you to say "cdef int *foo[10]". Quick: is that a pointer to an array or 10 pointers to ints? Yes, I know what it is, but the thing is without knowing C (well) it's not im

Re: [Cython] [cython-users] Re: New function (pointer) syntax.

2014-11-07 Thread Ian Henriksen
On Thursday, November 6, 2014 9:48:53 PM UTC-7, 1989lzhh wrote: > > > > > > 在 Nov 7, 2014,02:56,Robert Bradshaw > > 写道: > > > > [Cc'ing elsewhere for more feedback. Also top-posting for initial > > impressions before the discussion.] > > > > Here's some proposed function pointer syntaxes; whi