def slow_format(self, x, base):
        if (x, base) == (0, 8):
            # this is an oddball!
            return "0L"
        digits = []
        sign = 0
        if 0 < x:
            sign, x = 1, -x
        while x:
            x, r = divmod(x, base)
            digits.append(int(r))
        digits.reverse()
        #digits = digits or [0]
        if not digits: digits = [0]
        return '-'[:sign] + \
               {8: '0', 10: '', 16: '0x'}[base] + \
               "".join(map(lambda i: "0123456789abcdef"[i], digits)) + "L"
dataset/ETHPy150Open anandology/pyjamas/examples/libtest/LongTypeTest.py/LongTypeTest.slow_format/swapped operands of `<`