Hi there,

By mistake I asked the following command:

    ----------------------------------------------------------------------
    | Sage Version 4.6.2, Release Date: 2011-02-25                       |
    | Type notebook() for the GUI, and license() for information.        |
    ----------------------------------------------------------------------
    sage: parent([]) = []

Instead of parent([]) == list. As a result:

    sage: type(parent)
    <class 
'sage.modules.vector_callable_symbolic_dense.Vector_callable_symbolic_dense'>
    sage: parent(2)
    BOOM !!!!

Wouldn't be better to raise an error ? Note that I can also write:

    sage: cos([]) = []

Cheers,

Florent

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to