Skip to content

Wrong return value from PyLong_AsUnsignedLongLongMask on PyErr_BadInternalCall #81351

Description

@ztane
mannequin
BPO 37170
Nosy @mdickinson, @vstinner, @ericvsmith, @ztane, @ZackerySpytz
PRs
  • bpo-37170: Fix the cast on error in PyLong_AsUnsignedLongLongMask() #13860
  • [3.8] bpo-37170: Fix the cast on error in PyLong_AsUnsignedLongLongMask() (GH-13860) #13891
  • [3.7] bpo-37170: Fix the cast on error in PyLong_AsUnsignedLongLongMask() (GH-13860) #13896
  • [2.7] bpo-37170: Fix the cast on error in PyLong_AsUnsignedLongLongMask() (GH-13860) #13898
  • 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 2019-06-07.16:23:38.350>
    created_at = <Date 2019-06-06.06:52:41.683>
    labels = ['interpreter-core', '3.8', 'type-bug', '3.7', '3.9']
    title = 'Wrong return value from PyLong_AsUnsignedLongLongMask on PyErr_BadInternalCall'
    updated_at = <Date 2019-06-07.16:23:38.349>
    user = 'https://github.com/ztane'

    bugs.python.org fields:

    activity = <Date 2019-06-07.16:23:38.349>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-06-07.16:23:38.350>
    closer = 'vstinner'
    components = ['Interpreter Core']
    creation = <Date 2019-06-06.06:52:41.683>
    creator = 'ztane'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 37170
    keywords = ['patch']
    message_count = 12.0
    messages = ['344789', '344790', '344791', '344802', '344806', '344809', '344818', '344874', '344943', '344953', '344961', '344962']
    nosy_count = 5.0
    nosy_names = ['mark.dickinson', 'vstinner', 'eric.smith', 'ztane', 'ZackerySpytz']
    pr_nums = ['13860', '13891', '13896', '13898']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue37170'
    versions = ['Python 2.7', 'Python 3.7', 'Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of life3.9 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions