Message293269
Generally speaking, trying to shuffle a dict D already blows up, unless D's keys are the integers range(len(D)). In that case, D is indistinguishable from a list in the sense that both map range(N) to values via __getitem__. `shuffle()` does no type checks whatsoever now, and will shuffle any object that maps range(N) to values.
Fine by me the way it is. |
|
Date |
User |
Action |
Args |
2017-05-09 02:29:38 | tim.peters | set | recipients:
+ tim.peters, rhettinger, steven.daprano, martin.panter |
2017-05-09 02:29:38 | tim.peters | set | messageid: <1494296978.41.0.385924348248.issue30311@psf.upfronthosting.co.za> |
2017-05-09 02:29:38 | tim.peters | link | issue30311 messages |
2017-05-09 02:29:38 | tim.peters | create | |
|