#5106: preparse bug with time and generator assignment naming
--------------------+-------------------------------------------------------
Reporter: was | Owner: cwitty
Type: defect | Status: new
Priority: major | Milestone: sage-3.3
Component: misc | Keywords:
--------------------+-------------------------------------------------------
The Sage {{{.<a>}}} notation doesn't properly deal with {{{time foo}}}.
{{{
sage: time K.<a> = GF(9)
------------------------------------------------------------
File "<timed exec>", line 1
K = GF(Integer(Integer(9)),names=(u'a',)); (a,) = time
K._first_ngens(Integer(1))
^
SyntaxError: invalid syntax
}}}
Note that the Ipython magic %time works fine:
{{{
sage: %time K.<a> = GF(9)
CPU times: user 0.11 s, sys: 0.09 s, total: 0.19 s
Wall time: 2.17 s
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5106>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
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
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---