Skip to content

Add random.BaseRandom to ease implementation of subclasses #84526

@vstinner

Description

@vstinner
BPO 40346
Nosy @tim-one, @rhettinger, @mdickinson, @pitrou, @vstinner, @serhiy-storchaka, @posita
PRs
  • bpo-40346: Add random.BaseRandom #19631
  • bpo-40346: Random subclass randbytes uses getrandbits #19700
  • 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-04-29.16:10:34.931>
    created_at = <Date 2020-04-20.21:53:09.666>
    labels = ['library', '3.9']
    title = 'Add random.BaseRandom to ease implementation of subclasses'
    updated_at = <Date 2021-09-27.12:13:16.500>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2021-09-27.12:13:16.500>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-04-29.16:10:34.931>
    closer = 'vstinner'
    components = ['Library (Lib)']
    creation = <Date 2020-04-20.21:53:09.666>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 40346
    keywords = ['patch']
    message_count = 34.0
    messages = ['366892', '366900', '366902', '366908', '366918', '366922', '366923', '366962', '366975', '367004', '367006', '367058', '367077', '367087', '367145', '367175', '367176', '367178', '367179', '367198', '367199', '367200', '367201', '367202', '367203', '367204', '367205', '367212', '367247', '367671', '402495', '402508', '402510', '402703']
    nosy_count = 7.0
    nosy_names = ['tim.peters', 'rhettinger', 'mark.dickinson', 'pitrou', 'vstinner', 'serhiy.storchaka', 'posita']
    pr_nums = ['19631', '19700']
    priority = 'normal'
    resolution = 'rejected'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue40346'
    versions = ['Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directory

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions