Hello all, I looked at trac 7084 http://trac.sagemath.org/sage_trac/ticket/7084

* If I enter the commands from test section in

        sage: var('m')
        m
        sage: assume(n, 'integer'); assume(m, 'integer')

into Sage session (4.2), then Sage hangs. I have to enter also var
('n') to continue in Sage notebook without hanging. However, if I
run ./sage -t devel/sage/sage/symbolic/assumptions.py , then the tests
are O.K. It is to be surprising for me. Why does

sage: assume(n, 'integer'); assume(m, 'integer')

hang Sage in notebook and not when running tests?



* I think that forget does not work as excepted, see the following
Sage session and the last three outputs.

Robert

----------------------------------------------------------------------
| Sage Version 4.2, Release Date: 2009-10-24                         |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
Loading Sage library. Current Mercurial branch is: kopie
sage: var('m')
m
sage: n
<function numerical_approx at 0x9b328ec>
sage: var('n')
n
sage: assume(n, 'integer'); assume(m, 'integer')
sage: sin(n*pi).simplify()
0
sage: sin(m*pi).simplify()
0
sage: forget()
sage: sin(m*pi).simplify()
0
sage: sin(n*pi).simplify()
sin(pi*n)
sage:

--~--~---------~--~----~------------~-------~--~----~
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