[Prev] Thread [Next]  |  [Prev] Date [Next]

[sage-support] Reserved words (Sage + Cython) Oleksandr Kazymyrov Fri Feb 17 05:00:19 2012

Hi All,

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 

The main problem is: when you use "PC" as the function name in "*.c" file 
sage gives an error


Unhandled SIGSEGV: A segmentation fault occurred in Sage.
This probably occurred because a *compiled* component of Sage has a bug
in it and is not properly wrapped with sig_on(), sig_off(). You might
want to run Sage under gdb with 'sage -gdb' to debug this.
Sage will now terminate.
local/bin/sage-sage: line 460: 10163 Segmentation fault      python "$@"

If I use "PCc" or "PC_1", then there are no problems. So this is a bug, 
feature or Cython has limitations on function names. If the last point, 
then where I can see this limitations.

Best regards,

linux: Linux pcen 3.0.0-16-generic #28-Ubuntu SMP Fri Jan 27 17:44:39 UTC 
2012 x86_64 x86_64 x86_64 GNU/Linux
sage: 'Sage Version 4.8, Release Date: 2012-01-20'

To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
URL: http://www.sagemath.org