[Chicago] OverflowError: days=1002410023; must have magnitude <= 999999999

Carl Karsten carl at personnelware.com
Wed May 20 20:42:50 CEST 2009


What is the line of code that throws the error?

On Wed, May 20, 2009 at 1:05 PM, Lukasz Szybalski <szybalski at gmail.com> wrote:
> Hello,
> Anybody knows how to overcome this error?
>
> I have transactions that have effective and expiration dates and I
> need to calculate how many days are within each transaction(2 million
> transactions) and provide a total numbers of days  for that particular
> year.
>
> There seem to be a limit of # -999999999 <= days <= 999999999
>
> I'm not sure why ?
> If 2147483648 is the 32 bit integer limit then I should have a long way to go?
>
> Is this a bug in the library?
>
> Thanks,
> Lucas
>
>
>
> --
> How to create python package?
> http://lucasmanual.com/mywiki/PythonPaste
> _______________________________________________
> Chicago mailing list
> Chicago at python.org
> http://mail.python.org/mailman/listinfo/chicago
>



-- 
Carl K


More information about the Chicago mailing list