Skip to content

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

@vstinner

Description

@vstinner
BPO44378
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=Noneclosed_at=<Date2021-06-11.09:44:59.760>created_at=<Date2021-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=<Date2021-06-11.09:44:59.760>user='https://github.com/vstinner'

    bugs.python.org fields:

    activity=<Date2021-06-11.09:44:59.760>actor='vstinner'assignee='none'closed=Trueclosed_date=<Date2021-06-11.09:44:59.760>closer='vstinner'components= ['C API'] creation=<Date2021-06-10.13:19:54.087>creator='vstinner'dependencies= [] files= [] hgrepos= [] issue_num=44378keywords= ['patch'] message_count=4.0messages= ['395534', '395535', '395617', '395622'] nosy_count=2.0nosy_names= ['vstinner', 'miss-islington'] pr_nums= ['26644', '26668'] priority='normal'resolution='fixed'stage='resolved'status='closed'superseder=Nonetype=Noneurl='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