Skip to content

Clarify type coercion rules in statistics module #64680

@ncoghlan

Description

@ncoghlan
BPO 20481
Nosy @gpshead, @ncoghlan, @larryhastings, @stevendaprano, @wm75
Files
  • _sum_coerce.py: provides _sum and _coerce_types to replace the same functions in statistics.py, requires import numbers to work
  • statistics.patch
  • stats.patch
  • 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/ncoghlan'
    closed_at = <Date 2014-02-08.10:14:09.419>
    created_at = <Date 2014-02-02.01:31:51.702>
    labels = ['type-bug', 'library', 'release-blocker']
    title = 'Clarify type coercion rules in statistics module'
    updated_at = <Date 2014-02-08.22:21:40.863>
    user = 'https://github.com/ncoghlan'

    bugs.python.org fields:

    activity = <Date 2014-02-08.22:21:40.863>
    actor = 'ncoghlan'
    assignee = 'ncoghlan'
    closed = True
    closed_date = <Date 2014-02-08.10:14:09.419>
    closer = 'python-dev'
    components = ['Library (Lib)']
    creation = <Date 2014-02-02.01:31:51.702>
    creator = 'ncoghlan'
    dependencies = []
    files = ['33862', '33910', '33978']
    hgrepos = []
    issue_num = 20481
    keywords = ['patch']
    message_count = 21.0
    messages = ['209934', '209956', '209976', '210030', '210113', '210126', '210127', '210137', '210143', '210202', '210236', '210239', '210243', '210247', '210251', '210557', '210604', '210607', '210611', '210663', '210694']
    nosy_count = 7.0
    nosy_names = ['gregory.p.smith', 'ncoghlan', 'larry', 'steven.daprano', 'python-dev', 'oscarbenjamin', 'wolma']
    pr_nums = []
    priority = 'release blocker'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue20481'
    versions = ['Python 3.4']

    Metadata

    Metadata

    Assignees

    Labels

    release-blockerstdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions