for / while else doesn't make sense

Jon Ribbens jon+usenet at unequivocal.co.uk
Sun May 22 12:46:21 EDT 2016


On 2016-05-22, Chris Angelico <rosuav at gmail.com> wrote:
> Python's int and float types are both approximations to a
> non-representable type called a "real number".

Sorry, I have to stop you there as the entire premise of your post is
clearly wrong. "int" is not "an approximation of real numbers", it's
a model of the mathematical concept "integers", and it's not an
approximation, and since the long/int unification you can't even
overflow it as I understand things (barring ridiculous situations like
running out of memory).



More information about the Python-list mailing list