numpy/numpy — pull request #2823 by seberg (2012-12-14 23:50:56+00:00)
Title: BUG: internal call fix in random.choice

An random.random call from within mtrand was done by a call to np.random.random instead of inside the class. This can possibly lead to non-deterministic results after seeding.

Sorry that I noticed this only after mtrand was recreated already for this function... @njsmith this is the extremely simple fix, I guess @certik should put this into 1.7. as well? I included a regression test that failed before and double checked that there is no further occurrence of this at the time.