crashes when comparing between a Decimal object and a bad Rational object

BPO 31406
Nosy @skrah, @serhiy-storchaka, @orenmn
PRs
  • bpo-31406: Fix crashes when comparing between a Decimal object and a bad Rational object #3476
  • bpo-31406: Fix crash due to lack of type checking in subclassing. #3477
  • [3.6] bpo-31406: Fix crash due to lack of type checking in subclassing. (GH-3477) #3479
  • 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-09-10.17:07:20.713>
    created_at = <Date 2017-09-10.13:25:42.551>
    labels = ['extension-modules', '3.7', 'type-crash']
    title = 'crashes when comparing between a Decimal object and a bad Rational object'
    updated_at = <Date 2017-09-10.17:07:20.712>
    user = 'https://github.com/orenmn'

    bugs.python.org fields:

    activity = <Date 2017-09-10.17:07:20.712>
    actor = 'skrah'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-09-10.17:07:20.713>
    closer = 'skrah'
    components = ['Extension Modules']
    creation = <Date 2017-09-10.13:25:42.551>
    creator = 'Oren Milman'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 31406
    keywords = ['patch']
    message_count = 4.0
    messages = ['301809', '301813', '301815', '301817']
    nosy_count = 3.0
    nosy_names = ['skrah', 'serhiy.storchaka', 'Oren Milman']
    pr_nums = ['3476', '3477', '3479']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue31406'
    versions = ['Python 3.6', 'Python 3.7']