Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue26977

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:Unnecessary line in statistics.pvariance
Type:Stage:resolved
Components:Library (Lib)Versions:Python 3.6
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To:Nosy List: Ian Foote, python-dev, steven.daprano
Priority:normalKeywords:

Created on2016-05-08 11:56 byIan Foote, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.

Messages (5)
msg265131 -(view)Author: Ian Foote (Ian Foote)Date: 2016-05-08 11:56
In statistics.pvariance, the sum of squares helper function (_ss) is called twice and the first return value is unused:https://github.com/python/cpython/blob/9043c80b0daaddb5bff1e37432d503910506727f/Lib/statistics.py#L596
msg265133 -(view)Author: Roundup Robot (python-dev)(Python triager)Date: 2016-05-08 12:14
New changeset2bf4a02f3570 by Steven D'Aprano in branch 'default':Issue 26977, remove unneeded line in pvariance (duplicate call to _ss).https://hg.python.org/cpython/rev/2bf4a02f3570
msg265134 -(view)Author: Steven D'Aprano (steven.daprano)*(Python committer)Date: 2016-05-08 12:16
Thanks Ian! I can't believe I looked at that function earlier today and couldn't see that!
msg265287 -(view)Author: Roundup Robot (python-dev)(Python triager)Date: 2016-05-11 01:53
New changeset6f27dbc55f10 by Steven D'Aprano in branch '3.5':Issue 26977, remove unneeded line in pvariance (duplicate call to _ss).https://hg.python.org/cpython/rev/6f27dbc55f10New changeset3c75707045f5 by Steven D'Aprano in branch 'default':Branch merge forissue 26977https://hg.python.org/cpython/rev/3c75707045f5
msg265289 -(view)Author: Roundup Robot (python-dev)(Python triager)Date: 2016-05-11 03:01
New changeset87130512ef34 by Steven D'Aprano in branch '3.5':NEWS message for issue#26977.https://hg.python.org/cpython/rev/87130512ef34New changeset39faad3cd626 by Steven D'Aprano in branch 'default':Merge NEWS update from 3.5 for issue#26977.https://hg.python.org/cpython/rev/39faad3cd626
History
DateUserActionArgs
2022-04-11 14:58:30adminsetgithub: 71164
2016-05-11 03:01:58python-devsetmessages: +msg265289
2016-05-11 01:53:26python-devsetmessages: +msg265287
2016-05-08 12:29:11berker.peksagsetresolution: fixed
2016-05-08 12:16:50steven.dapranosetstatus: open -> closed

nosy: +steven.daprano
messages: +msg265134

stage: resolved
2016-05-08 12:14:57python-devsetnosy: +python-dev
messages: +msg265133
2016-05-08 11:56:09Ian Footecreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp