[Tutor] OverflowError: cannot fit 'long' into an index-sized integer

Keith Winston keithwins at gmail.com
Wed Jan 8 04:39:04 CET 2014


I'm also happy to note that the sieve I adapted from Jorge generates a list
of primes the same length as yours, which would seem to imply it's correct,
and in 33s, though since it's timed by a different mechanism that may not
mean anything...


On Tue, Jan 7, 2014 at 10:36 PM, Keith Winston <keithwins at gmail.com> wrote:

> Hey Steven,
>
> That's a cool primes module, I'm going to look that over more carefully. I
> can see that you've thought through this stuff before ;)
>
> And yeah, I'd like to see your Stopwatch code... I haven't looked at
> "with" yet, that's interesting. As usual, I don't totally get it...
>
> Keith
>



-- 
Keith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20140107/3ab5efa6/attachment.html>


More information about the Tutor mailing list