Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

This seems to be a Windows-specific bug. It will only be a problem if you use the time=True argument.

You could get around this by using timeit instead, like:

sage: T = timeit('qsieve(n)', repeat=1, number=1)

in this case T is a SageTimeitResult object which you can query like:

sage: T.stats
(1, 1, 3, 2.885032892227173, u's')

The bug is now this ticket: https://trac.sagemath.org/ticket/28696