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.

classification
Title: Default to the standard normal distribution
Type: enhancement Stage: resolved
Components: Library (Lib) Versions: Python 3.11
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: ZackerySpytz, mark.dickinson, rhettinger
Priority: normal Keywords: patch

Created on 2022-02-13 11:27 by rhettinger, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 31360 merged ZackerySpytz, 2022-02-15 15:42
Messages (4)
msg413177 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2022-02-13 11:27
This is really minor, but it would convenient if we provided default arguments:

    random.gauss(mu=0.0, sigma=1.0)
    random.normalvariate(mu=0.0, sigma=1.0)
msg413184 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2022-02-13 14:41
+1
msg413293 - (view) Author: Zackery Spytz (ZackerySpytz) * (Python triager) Date: 2022-02-15 16:11
I have created a patch for this issue.  Please consider having a look.
msg413304 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2022-02-15 23:12
New changeset 08ec80113b3b7f7a9eaa3d217494536b63305181 by Zackery Spytz in branch 'main':
bpo-46737: Add default arguments to random.gauss and normalvariate (GH-31360)
https://github.com/python/cpython/commit/08ec80113b3b7f7a9eaa3d217494536b63305181
History
Date User Action Args
2022-04-11 14:59:56adminsetgithub: 90893
2022-02-15 23:12:35rhettingersetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2022-02-15 23:12:20rhettingersetmessages: + msg413304
2022-02-15 16:11:14ZackerySpytzsetmessages: + msg413293
2022-02-15 15:42:29ZackerySpytzsetkeywords: + patch
nosy: + ZackerySpytz

pull_requests: + pull_request29510
stage: patch review
2022-02-13 14:41:07mark.dickinsonsetnosy: + mark.dickinson
messages: + msg413184
2022-02-13 11:27:05rhettingercreate