#797: timeit doesn't recognize [1..10] syntax
----------------------------+-----------------------------------------------
Reporter: jason | Owner: was
Type: defect | Status: reopened
Priority: minor | Milestone: sage-3.4.1
Component: user interface | Resolution:
Keywords: |
----------------------------+-----------------------------------------------
Comment (by SimonKing):
Replying to [ticket:797 jason]:
Here is some account of what happens in Sage 3.2.3:
{{{
sage: %time [1..10]
CPU times: user 0.00 s, sys: 0.00 s, total: 0.00 s
Wall time: 0.00 s
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
}}}
So, the first problem is not a problem anymore.
{{{
sage: %timeit [1..10]
------------------------------------------------------------
File "<magic-timeit>", line 6
[1..10]
^
SyntaxError: invalid syntax
}}}
So, that is the only remaining issue. I am now looking at
`sage/misc/sage_timeit.py`.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/797#comment:7>
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
-~----------~----~----~----~------~----~------~--~---