I know this isn't a bug in sage, but it is good to be aware of... If
the contents of the file crash.py is:

<file>
def crash():
    n = 5
    k = 2
    return [( 2**(n-2*i-2) - 2**(floor(n/2)-i-1) - 1 ) for i in
range(k)]
</file>

Then you get bizarre behavior:

sage: load crash.py
sage: crash()

------------------------------------------------------------
Unhandled SIGSEGV: A segmentation fault occured in SAGE.
<etc>
------------------------------------------------------------

So far my ignorance has prevented me from reproducing this in Python
alone (I'm too dependent on the sage environment).


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to