using 0x1 << i where i is large HELP!!!

Alex Martelli aleaxit at yahoo.com
Thu Oct 19 16:00:46 EDT 2000


"Samuel A. Falvo II" <kc5tja at garnet.armored.net> wrote in message
news:slrn8uuda5.abd.kc5tja at garnet.armored.net...
> On Wed, 18 Oct 2000 01:03:33 GMT, William Tanksley wrote:
> >On Tue, 17 Oct 2000 20:55:18 -0400, Mark Cunningham wrote:
> >>How do you make a long long type in Python?
> >
> >A long type in Python is indefinitely long.  As many bits as you need.
>
> That didn't answer his question.

Yes it did, by implication.  Since a Python long has no length
limits, you cannot make any Python type that is *longer* than
it; therefore, no 'long long', 'very long', 'really truly long', etc.

An object that is a Python long, of course, is built by long(something),
or a constant that is a string of digits followed by an L, etc etc.


Alex






More information about the Python-list mailing list