[issue27555] Integer Overflow on oct()

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 ___

[issue27555] Integer Overflow on oct()

2016-07-17 Thread pablo sacristan
New submission from pablo sacristan: There is an integer overflow on oct() because of incorrectly checking the length. oct(0xFFF+10**80) That line will freeze python until you restart it, which is as good as crashed. Hope it helps ;) -- messages: 270709 nosy: pab