Skip to content

Random.seed does not affect string hash randomization leading to non-intuitive results #84505

@kwikwag

Description

@kwikwag
mannequin
BPO 40325
Nosy @tim-one, @rhettinger, @masklinn, @remilapeyre, @kwikwag
PRs
  • bpo-40325: Deprecate set object support in random.sample() #19591
  • Mention hash randomization in random lib bpo-40325 #19596
  • Files
  • test.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 2020-04-19.07:37:40.308>
    created_at = <Date 2020-04-18.21:25:19.615>
    labels = ['type-bug', 'library', '3.9', 'docs']
    title = 'Random.seed does not affect string hash randomization leading to non-intuitive results'
    updated_at = <Date 2020-10-15.13:21:41.463>
    user = 'https://github.com/kwikwag'

    bugs.python.org fields:

    activity = <Date 2020-10-15.13:21:41.463>
    actor = 'xmorel'
    assignee = 'rhettinger'
    closed = True
    closed_date = <Date 2020-04-19.07:37:40.308>
    closer = 'rhettinger'
    components = ['Documentation', 'Library (Lib)']
    creation = <Date 2020-04-18.21:25:19.615>
    creator = 'Yuval S'
    dependencies = []
    files = ['49075']
    hgrepos = []
    issue_num = 40325
    keywords = ['patch']
    message_count = 10.0
    messages = ['366741', '366742', '366746', '366747', '366748', '366749', '366759', '366760', '366763', '378683']
    nosy_count = 6.0
    nosy_names = ['tim.peters', 'rhettinger', 'xmorel', 'docs@python', 'remi.lapeyre', 'Yuval S']
    pr_nums = ['19591', '19596']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue40325'
    versions = ['Python 3.9']

    Metadata

    Metadata

    Assignees

    Labels

    3.9 (EOL)end of lifedocsDocumentation in the Doc dirstdlibStandard 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