Re: [sage-devel] Re: profiling cython

2011-04-16 Thread Robert Bradshaw
On Thu, Apr 14, 2011 at 3:06 AM, Martin Rubey wrote: > Robert Bradshaw writes: > >> On Wed, Apr 13, 2011 at 7:19 AM, Martin Rubey >> wrote: >>> Simon King writes: >>> On 13 Apr., 15:53, Martin Rubey wrote: > > 2) The spyx file gets a header prepended, meaning that the #cython ...

Re: [sage-devel] Re: profiling cython

2011-04-14 Thread Martin Rubey
Simon King writes: > On 14 Apr., 12:06, Martin Rubey > wrote: >> Please bear with me - what would that mean?  Yes, the first line of >> >> /home/martin/martin/TeXSource/Mathematik/configs.spyx >> >> contains this >> >> # cython: profle=True > > Note the type (profle versus profile). Is it the sa

[sage-devel] Re: profiling cython

2011-04-14 Thread Simon King
On 14 Apr., 12:06, Martin Rubey wrote: > Please bear with me - what would that mean?  Yes, the first line of > > /home/martin/martin/TeXSource/Mathematik/configs.spyx > > contains this > > # cython: profle=True Note the type (profle versus profile). Is it the same in the file? Cheers, Simon

Re: [sage-devel] Re: profiling cython

2011-04-14 Thread Martin Rubey
Robert Bradshaw writes: > On Wed, Apr 13, 2011 at 7:19 AM, Martin Rubey > wrote: >> Simon King writes: >> >>> On 13 Apr., 15:53, Martin Rubey >>> wrote: > 2) The spyx file gets a header prepended, meaning that the #cython ... > pragmas are not at the top of the file anymore, and so a

Re: [sage-devel] Re: profiling cython

2011-04-13 Thread Robert Bradshaw
On Wed, Apr 13, 2011 at 7:19 AM, Martin Rubey wrote: > Simon King writes: > >> On 13 Apr., 15:53, Martin Rubey >> wrote: >>> > 2) The spyx file gets a header prepended, meaning that the #cython ... >>> > pragmas are not at the top of the file anymore, and so are not >>> > applied. (Similar issue

Re: [sage-devel] Re: profiling cython

2011-04-13 Thread Martin Rubey
Simon King writes: > On 13 Apr., 15:53, Martin Rubey > wrote: >> > 2) The spyx file gets a header prepended, meaning that the #cython ... >> > pragmas are not at the top of the file anymore, and so are not >> > applied. (Similar issues happen with __future__ imports). >> >> ... How >> could I ci

[sage-devel] Re: profiling cython

2011-04-13 Thread Simon King
On 13 Apr., 15:53, Martin Rubey wrote: > > 2) The spyx file gets a header prepended, meaning that the #cython ... > > pragmas are not at the top of the file anymore, and so are not > > applied. (Similar issues happen with __future__ imports). > > ... How > could I circumvent 2)? Just guessing: Us