Skip to content

assertion failure in random.seed() in case the seed argument has a bad __abs__() method #75659

@orenmn

Description

@orenmn
mannequin
BPO 31478
Nosy @rhettinger, @serhiy-storchaka, @vedgar, @orenmn
PRs
  • bpo-31478: Fix an assertion failure in random.seed() in case the 'a' arg has a bad __abs__() method #3596
  • [3.6] bpo-31478: Fix an assertion failure in random.seed() in case a … #3794
  • [2.7] bpo-31478: Prevent unwanted behavior in _random.Random.seed() in case the arg has a bad __abs__() method (GH-3596) #3845
  • 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 2017-10-02.21:35:15.517>
    created_at = <Date 2017-09-14.20:33:46.293>
    labels = ['extension-modules', '3.7', 'type-crash']
    title = 'assertion failure in random.seed() in case the seed argument has a bad __abs__() method'
    updated_at = <Date 2017-10-02.21:35:15.516>
    user = 'https://github.com/orenmn'

    bugs.python.org fields:

    activity = <Date 2017-10-02.21:35:15.516>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-10-02.21:35:15.517>
    closer = 'serhiy.storchaka'
    components = ['Extension Modules']
    creation = <Date 2017-09-14.20:33:46.293>
    creator = 'Oren Milman'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 31478
    keywords = ['patch']
    message_count = 13.0
    messages = ['302208', '302228', '302232', '302234', '302241', '302317', '302740', '302782', '303196', '303201', '303207', '303451', '303566']
    nosy_count = 4.0
    nosy_names = ['rhettinger', 'serhiy.storchaka', 'veky', 'Oren Milman']
    pr_nums = ['3596', '3794', '3845']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue31478'
    versions = ['Python 2.7', 'Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifeextension-modulesC modules in the Modules dirtype-crashA hard crash of the interpreter, possibly with a core dump

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions