Skip to content

Py_IS_TYPE(): cast discards ‘const’ qualifier from pointer target type #88544

Closed
@vstinner

Description

@vstinner
BPO 44378
Nosy @vstinner, @miss-islington
PRs
  • bpo-44378: Fix a compiler warning in Py_IS_TYPE() #26644
  • [3.10] bpo-44378: Fix a compiler warning in Py_IS_TYPE() (GH-26644) #26668
  • 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 2021-06-11.09:44:59.760>
    created_at = <Date 2021-06-10.13:19:54.087>
    labels = ['expert-C-API', '3.10', '3.11']
    title = 'Py_IS_TYPE(): cast discards \xe2\x80\x98const\xe2\x80\x99 qualifier from pointer target type'
    updated_at = <Date 2021-06-11.09:44:59.760>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2021-06-11.09:44:59.760>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-06-11.09:44:59.760>
    closer = 'vstinner'
    components = ['C API']
    creation = <Date 2021-06-10.13:19:54.087>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 44378
    keywords = ['patch']
    message_count = 4.0
    messages = ['395534', '395535', '395617', '395622']
    nosy_count = 2.0
    nosy_names = ['vstinner', 'miss-islington']
    pr_nums = ['26644', '26668']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue44378'
    versions = ['Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixestopic-C-API

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions