Skip to content

Rounding errors with statistics.variance #64698

@oscarbenjamin

Description

@oscarbenjamin
BPO 20499
Nosy @rhettinger, @stevendaprano, @wm75, @iritkatriel
PRs
  • bpo-20499: Rounding error in statistics.pvariance #28230
  • [3.10] bpo-20499: Rounding error in statistics.pvariance (GH-28230) #28248
  • Files
  • statistics_with_exact_ratios.py: full re-implementation of the statistics module
  • statistics_with_exact_ratios.patch
  • statistics_with_exact_ratios_latest.py: v2 of the re-implementation
  • decimalsum.py
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/rhettinger'
    closed_at = <Date 2021-09-09.03:06:34.176>
    created_at = <Date 2014-02-03.12:46:19.312>
    labels = ['type-feature', 'library', '3.9', '3.10', '3.11']
    title = 'Rounding errors with statistics.variance'
    updated_at = <Date 2021-09-09.12:02:18.658>
    user = 'https://bugs.python.org/oscarbenjamin'

    bugs.python.org fields:

    activity = <Date 2021-09-09.12:02:18.658>
    actor = 'steven.daprano'
    assignee = 'rhettinger'
    closed = True
    closed_date = <Date 2021-09-09.03:06:34.176>
    closer = 'rhettinger'
    components = ['Library (Lib)']
    creation = <Date 2014-02-03.12:46:19.312>
    creator = 'oscarbenjamin'
    dependencies = []
    files = ['33955', '33958', '33959', '33960']
    hgrepos = []
    issue_num = 20499
    keywords = ['patch']
    message_count = 15.0
    messages = ['210121', '210452', '210456', '210459', '210479', '210481', '210491', '210495', '210700', '210702', '399940', '401432', '401433', '401464', '401465']
    nosy_count = 5.0
    nosy_names = ['rhettinger', 'steven.daprano', 'oscarbenjamin', 'wolma', 'iritkatriel']
    pr_nums = ['28230', '28248']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue20499'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    Labels

    3.10only security fixes3.11only security fixes3.9only security fixesstdlibPython modules in the Lib dirtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions