In Python 3 radix sort is broken.
Traceback (most recent call last):
File "radix_sort.py", line 30, in <module>
radixsort(ar);
File "radix_sort.py", line 14, in radixsort
buckets[tmp % RADIX].append( i )
TypeError: list indices must be integers or slices, not float
I will fix it asap and submit a pull request.
In Python 3 radix sort is broken.
I will fix it asap and submit a pull request.