• Kevin Modzelewski's avatar
    int() continues to be tricky · 1505cc69
    Kevin Modzelewski authored
    int(str) and int(float) don't always return ints (cant return longs, doh).
    If we call int() on a subclass of int, we should call its __int__ method in
    case the subclass overrode it.
    1505cc69
int.cpp 36.7 KB