[issue27552] Integer Overflow On min()

2016-07-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See msg270712. -- nosy: +serhiy.storchaka resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___

[issue27552] Integer Overflow On min()

2016-07-17 Thread pablo sacristan
New submission from pablo sacristan: There is an integer overflow on min() statements because python incorrectly checks the length to put the overflow message, so it is possible to overflow min() min(0xFFF+10**80) That line freezes python until you restart it, which is b