timeit.timeit('[int(digit) for digit in bin(123)[2:]]')
timeit.timeit('[123 >> i & 1 for i in range(7,-1,-1)]')
timeit.timeit("[1 if digit=='1' else 0 for digit in bin(123)[2:]]")
Integer to bitfield as a list