[sage-support] Re: Reserved words (Sage + Cython)

2012-02-18 Thread Oleksandr Kazymyrov
Hi Simon, >> Rename it, if that solves the problem. I have done it. But I wonder why has that happened after upgrade from 4.7.2 to 4.8 (5.0beta4)? Best regards, Oleksandr -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage

[sage-support] Re: Reserved words (Sage + Cython)

2012-02-18 Thread Simon King
Hi Oleksandr, On 17 Feb., 21:52, Oleksandr Kazymyrov wrote: > Can anyone reproduce the same bug on Ubuntu? The situation somehow reminds me a problem that I once had with a wrapper of the C-MeatAxe (an implementation of matrices that I use it in an optional Sage package). There was a C-function

[sage-support] Re: Reserved words (Sage + Cython)

2012-02-17 Thread Oleksandr Kazymyrov
Hi Simon, It is very strange. I use Ubuntu 11.10 and my parameters are: hamsin@hamsin-pc:~/bin/sage-5.0.beta4$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 11.10 Release: 11.10 Codename: oneiric hamsin@hamsin-pc:~/bin/sage-5.0.beta4$ gcc --version gcc (

[sage-support] Re: Reserved words (Sage + Cython)

2012-02-17 Thread Simon King
Dear Oleksandr, On 17 Feb., 15:32, Oleksandr Kazymyrov wrote: > Or just run "Main.sage" from a shell (in this case, variable PATH should > has a path to the sage directory, like this one > "PATH=/home/user/bin/sage/:$PATH"). Then I can not reproduce it. I started a Sage shell, and did

[sage-support] Re: Reserved words (Sage + Cython)

2012-02-17 Thread Oleksandr Kazymyrov
Dear Simon, >> But the only difference between the good and the bad version is that some function is called PC in the bad file and PCc in the good file Yes, exactly. >> However, Oleksandr: What is one supposed to do in order to reproduce the error? When I start a sage session and attach Main.sa

[sage-support] Re: Reserved words (Sage + Cython)

2012-02-17 Thread Simon King
Hi Dima, hi Oleksandr, On 17 Feb., 14:07, Dima Pasechnik wrote: > I imagine the behaviour is similar to Python's, where it's jolly possible > to do "list=2" and see stuff beginning to happen... But the only difference between the good and the bad version is that some function is called PC in the

[sage-support] Re: Reserved words (Sage + Cython)

2012-02-17 Thread Dima Pasechnik
In gmane.comp.mathematics.sage.support, you wrote: > After upgrading from version 4.7.2 to 4.8, one function of dozen is stopped > working. I use a combination of Sage + Cython. You can find examples in the > attachments. > > The main problem is: when you use "PC" as the function name in "*.c" fi