curl-library
Re: pyCURL/Libcurl problem with large files
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Mon, 22 Mar 2004 14:49:40 -0800
Date: Mon, 22 Mar 2004 14:49:40 -0800
On Mon, Mar 22, 2004 at 04:59:15PM -0500, Jesse Noller wrote:
> Someone else wrote:
> > How big is a 'long' and 'int' in python? Don't they match the host's native
> > longs and ints?
> >
>
> No - not to my knowledge. That's what's bothering me - I tried to find
> some docs on what the actual limit of int() conversion is - at what
> point I need to use a long() - but google did not shed a lot of light.
Python's ints are the size of the C 'int'; the limit is available in
sys.maxint. Python's longs are bignums and are unlimited in size.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2004-03-22