Steven D'Aprano
2/12/2008 11:59:00 AM
On Tue, 12 Feb 2008 10:38:53 +0100, pataphor wrote:
> On Mon, 11 Feb 2008 23:52:31 -0800
> Michael Robertson <mcrobertson@hotmail.com> wrote:
>
>> Am I wishing on a star?
>
> for i in xrange(10**10):
> print i
> OverflowError: long int too large to convert to int
>
> The problem seems to be that although python supports arbitrary long
> integers, all the internal loop counters still use limited size
> integers.
I'm curious what you think this has to do with the Original Poster's
question, which was about combinatorics (as the subject says),
specifically asking where he could find a library to deal with them.
--
Steven