Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

math.sqrt EDOM handling for FreeBSD, OpenBSD #39772

Closed
hyeshik opened this issue Jan 6, 2004 · 2 comments
Closed

math.sqrt EDOM handling for FreeBSD, OpenBSD #39772

hyeshik opened this issue Jan 6, 2004 · 2 comments
Assignees
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs)

Comments

@hyeshik
Copy link
Contributor

hyeshik commented Jan 6, 2004

BPO 871657
Nosy @hyeshik
Files
  • bsdmath.diff: my proposed patch
  • 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/hyeshik'
    closed_at = <Date 2004-03-22.08:54:35.000>
    created_at = <Date 2004-01-06.13:40:57.000>
    labels = ['interpreter-core']
    title = 'math.sqrt EDOM handling for FreeBSD, OpenBSD'
    updated_at = <Date 2004-03-22.08:54:35.000>
    user = 'https://github.com/hyeshik'

    bugs.python.org fields:

    activity = <Date 2004-03-22.08:54:35.000>
    actor = 'hyeshik.chang'
    assignee = 'hyeshik.chang'
    closed = True
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2004-01-06.13:40:57.000>
    creator = 'hyeshik.chang'
    dependencies = []
    files = ['5767']
    hgrepos = []
    issue_num = 871657
    keywords = ['patch']
    message_count = 2.0
    messages = ['45140', '45141']
    nosy_count = 1.0
    nosy_names = ['hyeshik.chang']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue871657'
    versions = ['Python 2.4']

    @hyeshik
    Copy link
    Contributor Author

    hyeshik commented Jan 6, 2004

    math.sqrt(-1) doesn't raise ValueError currently.
    The attached patch may fix the problem.

    @hyeshik hyeshik closed this as completed Jan 6, 2004
    @hyeshik hyeshik self-assigned this Jan 6, 2004
    @hyeshik hyeshik added the interpreter-core (Objects, Python, Grammar, and Parser dirs) label Jan 6, 2004
    @hyeshik
    Copy link
    Contributor Author

    hyeshik commented Mar 22, 2004

    Logged In: YES
    user_id=55188

    Checked in
    Modules/mathmodule.c 2.74
    Include/pyport.h 2.67

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    interpreter-core (Objects, Python, Grammar, and Parser dirs)
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant