Skip to content

Add optional weights parameter to random.sample() #84721

@rhettinger

Description

@rhettinger
BPO 40541
Nosy @tim-one, @rhettinger, @mdickinson
PRs
  • bpo-40541: Add optional *counts* parameter to random.sample() #19970
  • 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 = None
    closed_at = <Date 2020-05-08.14:53:54.309>
    created_at = <Date 2020-05-06.22:35:20.284>
    labels = ['type-feature', 'library', '3.9']
    title = 'Add optional weights parameter to random.sample()'
    updated_at = <Date 2020-05-08.14:53:54.309>
    user = 'https://github.com/rhettinger'

    bugs.python.org fields:

    activity = <Date 2020-05-08.14:53:54.309>
    actor = 'rhettinger'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-05-08.14:53:54.309>
    closer = 'rhettinger'
    components = ['Library (Lib)']
    creation = <Date 2020-05-06.22:35:20.284>
    creator = 'rhettinger'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 40541
    keywords = ['patch']
    message_count = 4.0
    messages = ['368307', '368333', '368374', '368445']
    nosy_count = 3.0
    nosy_names = ['tim.peters', 'rhettinger', 'mark.dickinson']
    pr_nums = ['19970']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue40541'
    versions = ['Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions