Can Python do shopping cart?
MRAB
google at mrabarnett.plus.com
Fri Mar 6 09:08:55 EST 2009
Paul Rubin wrote:
> Tim Wintle <tim.wintle at teamrubber.com> writes:
>> Surely you can address an infinite amount of storage using infinite
>> length integers and a wrapper to files on disk - then it's just your
>> OS's limits that hold it back - so python is turing/register complete.
>
> Python doesn't have infinite length integers. It has long integers,
> but their size is bounded by the size of the pointers inside Python,
> normally 32 or 64 bits.
>
You could say that Python _theoretically_ has infinite length integers,
but all the current _implementations_ impose a limit.
More information about the Python-list
mailing list