Index: Python/mystrtoul.c =================================================================== --- Python/mystrtoul.c (revisión: 43485) +++ Python/mystrtoul.c (copia de trabajo) @@ -100,14 +100,8 @@ } temp = result; result = result * base + c; - if(base == 10) { - if(((long)(result - c) / base != (long)temp)) /* overflow */ - ovf = 1; - } - else { - if ((result - c) / base != temp) /* overflow */ - ovf = 1; - } + if(((long)(result - c) / base != (long)temp)) /* overflow */ + ovf = 1; str++; }