Skip to content

Py_UNREACHABLE() no longer behaves as a function call #82386

@vstinner

Description

@vstinner
BPO 38205
Nosy @gpshead, @vstinner, @zware, @serhiy-storchaka, @animalize, @ammaraskar, @sir-sigurd
PRs
  • bpo-38205: replace get_small_int(ival) macro with a function version #16270
  • bpo-38205: Convert Py_UNREACHABLE() macro to a function #16280
  • bpo-38205: Py_UNREACHABLE() calls Py_FatalError() #16290
  • [3.8] bpo-38205: Py_UNREACHABLE() calls Py_FatalError() (GH-16290) #16306
  • 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-10-01.10:28:14.960>
    created_at = <Date 2019-09-17.22:12:35.773>
    labels = ['interpreter-core', 'build', '3.9']
    title = 'Py_UNREACHABLE() no longer behaves as a function call'
    updated_at = <Date 2019-10-01.10:28:14.959>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2019-10-01.10:28:14.959>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-10-01.10:28:14.960>
    closer = 'vstinner'
    components = ['Interpreter Core']
    creation = <Date 2019-09-17.22:12:35.773>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 38205
    keywords = ['patch']
    message_count = 24.0
    messages = ['352669', '352680', '352681', '352682', '352700', '352703', '352708', '352735', '352757', '352758', '352763', '352764', '352765', '352774', '352776', '352780', '352782', '352783', '352786', '352799', '352892', '352898', '353028', '353659']
    nosy_count = 7.0
    nosy_names = ['gregory.p.smith', 'vstinner', 'zach.ware', 'serhiy.storchaka', 'malin', 'ammar2', 'sir-sigurd']
    pr_nums = ['16270', '16280', '16290', '16306']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'compile error'
    url = 'https://bugs.python.org/issue38205'
    versions = ['Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.9 (EOL)end of lifebuildThe build process and cross-buildinterpreter-core(Objects, Python, Grammar, and Parser dirs)

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions