[issue40465] Deprecate the optional *random* argument to random.shuffle()

2022-03-24 Thread STINNER Victor
STINNER Victor added the comment: commit 70a071d9e1d65f8c168b4b96a18c86d5230789c5 Author: Raymond Hettinger Date: Tue May 4 01:55:40 2021 -0700 bpo-40465: Remove random module features deprecated in 3.9 (GH-25874) -- nosy: +vstinner ___

[issue40465] Deprecate the optional *random* argument to random.shuffle()

2022-03-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 12c0012cf97d21bc637056983ede0eaf4c0d9c33 by Tomáš Hrnčiar in branch 'main': bpo-40465: Document random module changes in 3.11 What's new (#31818) https://github.com/python/cpython/commit/12c0012cf97d21bc637056983ede0eaf4c0d9c33 --

[issue40465] Deprecate the optional *random* argument to random.shuffle()

2022-03-17 Thread Hugo van Kemenade
Hugo van Kemenade added the comment: GH-31818 adds an entry to What's New in 3.11. -- message_count: 5.0 -> 6.0 nosy: +hugovk nosy_count: 3.0 -> 4.0 pull_requests: +30050 pull_request: https://github.com/python/cpython/pull/31818 ___ Python tracker

[issue40465] Deprecate the optional *random* argument to random.shuffle()

2021-05-03 Thread Anthony Sottile
Change by Anthony Sottile : -- nosy: -Anthony Sottile ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40465] Deprecate the optional *random* argument to random.shuffle()

2021-05-03 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +24553 pull_request: https://github.com/python/cpython/pull/25874 ___ Python tracker ___

[issue40465] Deprecate the optional *random* argument to random.shuffle()

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Raymond, could you please add an entry in What's New? -- ___ Python tracker ___ ___

[issue40465] Deprecate the optional *random* argument to random.shuffle()

2020-05-31 Thread Anthony Sottile
Anthony Sottile added the comment: pre-commit uses this to do deterministic shuffling, please don't remove this https://github.com/pre-commit/pre-commit/issues/1479 -- nosy: +Anthony Sottile ___ Python tracker

[issue40465] Deprecate the optional *random* argument to random.shuffle()

2020-05-02 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40465] Deprecate the optional *random* argument to random.shuffle()

2020-05-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 190fac99c58232f3e0b34891872b91e50ea2f057 by Raymond Hettinger in branch 'master': bpo-40465: Deprecate the optional argument to random.shuffle(). (#19867) https://github.com/python/cpython/commit/190fac99c58232f3e0b34891872b91e50ea2f057

[issue40465] Deprecate the optional *random* argument to random.shuffle()

2020-05-02 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +patch pull_requests: +19180 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19867 ___ Python tracker

[issue40465] Deprecate the optional *random* argument to random.shuffle()

2020-05-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: +1 -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40465] Deprecate the optional *random* argument to random.shuffle()

2020-05-01 Thread Raymond Hettinger
New submission from Raymond Hettinger : 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