On 2010-02-24 20:01, Robert Kern wrote: > I will repeat my advice to just use random.SystemRandom.choice() instead > of trying to interpret the bytes from /dev/urandom directly. Oh I hear you -- for production use I would (will) certainly consider this. However, now I'm interested in the problem itself: why is the damn distribution not uniform? Regards, mk