Skip to content

random.choice IndexError due to double-rounding #68755

@stevendaprano

Description

@stevendaprano
BPO 24567
Nosy @tim-one, @rhettinger, @mdickinson, @pitrou, @vstinner, @stevendaprano, @bitdancer, @skrah, @serhiy-storchaka
PRs
  • bpo-24567: Random subnormal.diff #7954
  • [3.7] bpo-24567: Random subnormal.diff (GH-7954) #7955
  • [3.6] bpo-24567: Random subnormal.diff (GH-7954) #7956
  • Files
  • choice_timings.txt
  • shuffle_timings.txt
  • handle_double_rounding2.diff
  • handle_double_rounding3.diff
  • sample_timings.txt
  • random_double_round.diff: For Python 3.6 and 3.7
  • 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 2018-06-27.07:07:38.703>
    created_at = <Date 2015-07-05.03:04:00.634>
    labels = ['3.7', 'type-bug', 'library']
    title = 'random.choice IndexError due to double-rounding'
    updated_at = <Date 2018-06-27.09:37:20.023>
    user = 'https://github.com/stevendaprano'

    bugs.python.org fields:

    activity = <Date 2018-06-27.09:37:20.023>
    actor = 'rhettinger'
    assignee = 'rhettinger'
    closed = True
    closed_date = <Date 2018-06-27.07:07:38.703>
    closer = 'rhettinger'
    components = ['Library (Lib)']
    creation = <Date 2015-07-05.03:04:00.634>
    creator = 'steven.daprano'
    dependencies = []
    files = ['39897', '39898', '39905', '39908', '39937', '47650']
    hgrepos = []
    issue_num = 24567
    keywords = ['patch']
    message_count = 61.0
    messages = ['246291', '246297', '246303', '246317', '246318', '246336', '246352', '246363', '246366', '246484', '246530', '246531', '246532', '246534', '246536', '246537', '246548', '246550', '246551', '246565', '246566', '246581', '246615', '246616', '246623', '246628', '246630', '246636', '246639', '246641', '246642', '246650', '246656', '246657', '246664', '246668', '246674', '246815', '267785', '267874', '275594', '277199', '277200', '304734', '320392', '320394', '320423', '320434', '320443', '320474', '320479', '320502', '320511', '320516', '320519', '320521', '320526', '320549', '320553', '320555', '320563']
    nosy_count = 10.0
    nosy_names = ['tim.peters', 'rhettinger', 'mark.dickinson', 'pitrou', 'vstinner', 'steven.daprano', 'r.david.murray', 'skrah', 'serhiy.storchaka', 'Serge Anuchin']
    pr_nums = ['7954', '7955', '7956']
    priority = 'normal'
    resolution = 'wont fix'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue24567'
    versions = ['Python 2.7', 'Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of lifestdlibStandard 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