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 cheryl.sabella
Recipients cheryl.sabella
Date 2017-05-08.21:20:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1494278400.3.0.911074987674.issue30308@psf.upfronthosting.co.za>
In-reply-to
Content
Added test cases for `random` argument in random.shuffle for code coverage.

Two interesting results (documented within test cases):
1.  In the docs, `random` is defined as a function returning a float in the range [0, 1), but negative floats could be returned and shuffle worked using slice notation.
2.  A dictionary with sequential numeric keys could be shuffled.
History
Date User Action Args
2017-05-08 21:20:00cheryl.sabellasetrecipients: + cheryl.sabella
2017-05-08 21:20:00cheryl.sabellasetmessageid: <1494278400.3.0.911074987674.issue30308@psf.upfronthosting.co.za>
2017-05-08 21:20:00cheryl.sabellalinkissue30308 messages
2017-05-08 21:20:00cheryl.sabellacreate