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 rhettinger
Recipients rhettinger, tim.peters
Date 2020-05-01.08:31:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588321901.81.0.617278241299.issue40465@roundup.psfhosted.org>
In-reply-to
Content
shuffle(x, random=None)    ⟼    shuffle(x)

AFAICT, no one ever uses the optional parameter, nor would they have a valid reason to do so.  It is an ancient API oddity and is inconsistent with the other methods in the module.  I've long been annoyed by it and would like to see it cleaned-up before I retire ;-)

https://docs.python.org/3/library/random.html#random.shuffle
History
Date User Action Args
2020-05-01 08:31:41rhettingersetrecipients: + rhettinger, tim.peters
2020-05-01 08:31:41rhettingersetmessageid: <1588321901.81.0.617278241299.issue40465@roundup.psfhosted.org>
2020-05-01 08:31:41rhettingerlinkissue40465 messages
2020-05-01 08:31:41rhettingercreate