This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tim.peters
Recipients martin.panter, rhettinger, steven.daprano, tim.peters
Date 2017-05-09.02:29:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1494296978.41.0.385924348248.issue30311@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-05-09 02:29:38tim.peterssetrecipients: + tim.peters, rhettinger, steven.daprano, martin.panter
2017-05-09 02:29:38tim.peterssetmessageid: <1494296978.41.0.385924348248.issue30311@psf.upfronthosting.co.za>
2017-05-09 02:29:38tim.peterslinkissue30311 messages
2017-05-09 02:29:38tim.peterscreate