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 -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/EMO7BBX4VENOUTL62OQVF2A72R6TYCUR/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to