Skip to content

math.copysign raises SystemError with non-float x and custom y #84052

@auscompgeek

Description

@auscompgeek
BPO 39871
Nosy @mdickinson, @methane, @auscompgeek, @ZackerySpytz, @miss-islington
PRs
  • bpo-39871: Fix possible SystemErrors in math.{atan2,copysign,remainder}() #18806
  • [3.8] bpo-39871: Fix possible SystemError in atan2, copysign and remainder (GH-18806) #18989
  • [3.7] bpo-39871: Fix possible SystemError in atan2, copysign and remainder (GH-18806) #18990
  • bpo-39871: Fix an error in a news entry #21749
  • [3.9] bpo-39871: Fix an error in a news entry (GH-21749) #21760
  • [3.8] bpo-39871: Fix an error in a news entry (GH-21749) #22333
  • 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/mdickinson'
    closed_at = <Date 2020-03-14.11:53:04.104>
    created_at = <Date 2020-03-06.02:59:01.549>
    labels = ['easy', 'type-bug', '3.8', '3.9', 'extension-modules', '3.7']
    title = 'math.copysign raises SystemError with non-float x and custom y'
    updated_at = <Date 2020-10-26.05:37:20.036>
    user = 'https://github.com/auscompgeek'

    bugs.python.org fields:

    activity = <Date 2020-10-26.05:37:20.036>
    actor = 'methane'
    assignee = 'mark.dickinson'
    closed = True
    closed_date = <Date 2020-03-14.11:53:04.104>
    closer = 'mark.dickinson'
    components = ['Extension Modules']
    creation = <Date 2020-03-06.02:59:01.549>
    creator = 'auscompgeek'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 39871
    keywords = ['patch', 'easy (C)']
    message_count = 13.0
    messages = ['363477', '363492', '363493', '363495', '363496', '363505', '364150', '364152', '364154', '364155', '374975', '374976', '379640']
    nosy_count = 5.0
    nosy_names = ['mark.dickinson', 'methane', 'auscompgeek', 'ZackerySpytz', 'miss-islington']
    pr_nums = ['18806', '18989', '18990', '21749', '21760', '22333']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue39871'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions