A correction to my reply: int('1234567890' * 100) will not raise an overflow 
error, multiplying 1.0 with it raises the error. str.isfloat would still flag 
the string as an int and then it is upto the application code to deal with the 
overflow error.
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/EMO7BBX4VENOUTL62OQVF2A72R6TYCUR/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to