This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Integer Overflow on int()
Type: Stage: resolved
Components: Versions: Python 3.6, Python 3.5
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: pabstersac, serhiy.storchaka
Priority: normal Keywords:

Created on 2016-07-18 06:21 by pabstersac, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg270711 - (view) Author: pablo sacristan (pabstersac) Date: 2016-07-18 06:21
There is an integer overflow on int() because python incorrectly checks the length of the input.
int(0xFFFFFFFFFFFFFFF+100000**8000000000)
That line of code will freeze python until you restart it, which is as annoying as if python had crashed.
Hope it helps ;)
msg270714 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2016-07-18 06:27
See msg270712.
History
Date User Action Args
2022-04-11 14:58:33adminsetgithub: 71744
2016-07-18 06:27:28serhiy.storchakasetstatus: open -> closed

nosy: + serhiy.storchaka
messages: + msg270714

resolution: not a bug
stage: resolved
2016-07-18 06:21:48pabstersaccreate