Skip to content

[C API] Add private "CAST" macros to clean up casts in C code #91320

@vstinner

Description

@vstinner
BPO 47164
Nosy @gpshead, @vstinner, @markshannon, @corona10, @Fidget-Spinner
PRs
  • bpo-47164: Add _PyCFunctionObject_CAST() macro #32190
  • bpo-47164: Add _PyASCIIObject_CAST() macro #32191
  • bpo-47164: Add _PyCFunction_CAST() macro #32192
  • bpo-47164: Argument Clinic uses _PyCFunction_CAST() #32210
  • 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 = None created_at = <Date 2022-03-30.12:28:10.065> labels = ['expert-C-API', '3.11'] title = '[C API] Add private "CAST" macros to clean up casts in C code' updated_at = <Date 2022-04-05.06:59:30.735> user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2022-04-05.06:59:30.735> actor = 'gregory.p.smith' assignee = 'none' closed = False closed_date = None closer = None components = ['C API'] creation = <Date 2022-03-30.12:28:10.065> creator = 'vstinner' dependencies = [] files = [] hgrepos = [] issue_num = 47164 keywords = ['patch'] message_count = 14.0 messages = ['416350', '416353', '416354', '416357', '416358', '416361', '416362', '416363', '416365', '416372', '416417', '416418', '416419', '416420'] nosy_count = 5.0 nosy_names = ['gregory.p.smith', 'vstinner', 'Mark.Shannon', 'corona10', 'kj'] pr_nums = ['32190', '32191', '32192', '32210'] priority = 'normal' resolution = None stage = 'patch review' status = 'open' superseder = None type = None url = 'https://bugs.python.org/issue47164' versions = ['Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions