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 mark.dickinson
Recipients cheryl.sabella, mark.dickinson, rhettinger
Date 2017-05-09.07:33:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1494315204.74.0.524080496284.issue30308@psf.upfronthosting.co.za>
In-reply-to
Content
I see you've added a test for the behaviour of:

    shuffle(seq, random=lambda: -1.0)

I'd suggest leaving that test out: that this works right now is really just an accident of the (CPython) implementation, and it may well not work on other Python implementations. Adding a test in effect says that there was a deliberate decision to support this (which as far as I know there isn't, and shouldn't be).
History
Date User Action Args
2017-05-09 07:33:24mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, cheryl.sabella
2017-05-09 07:33:24mark.dickinsonsetmessageid: <1494315204.74.0.524080496284.issue30308@psf.upfronthosting.co.za>
2017-05-09 07:33:24mark.dickinsonlinkissue30308 messages
2017-05-09 07:33:24mark.dickinsoncreate