Skip to content

Updating Py_REFCNT and Py_SIZE to use _PyObject_CAST_CONS #84955

Description

@corona10
BPO 40778
Nosy @vstinner, @corona10
PRs
  • bpo-40778: Update Py_REFCNT and Py_SIZE to const casting #20428
  • 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 = 'https://github.com/corona10'
    closed_at = <Date 2020-05-26.14:19:06.583>
    created_at = <Date 2020-05-26.12:31:35.256>
    labels = ['expert-C-API', 'type-feature', '3.10']
    title = 'Updating Py_REFCNT and Py_SIZE to use _PyObject_CAST_CONS'
    updated_at = <Date 2020-05-26.16:21:49.321>
    user = 'https://github.com/corona10'

    bugs.python.org fields:

    activity = <Date 2020-05-26.16:21:49.321>
    actor = 'vstinner'
    assignee = 'corona10'
    closed = True
    closed_date = <Date 2020-05-26.14:19:06.583>
    closer = 'corona10'
    components = ['C API']
    creation = <Date 2020-05-26.12:31:35.256>
    creator = 'corona10'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 40778
    keywords = ['patch']
    message_count = 3.0
    messages = ['369974', '369984', '370010']
    nosy_count = 2.0
    nosy_names = ['vstinner', 'corona10']
    pr_nums = ['20428']
    priority = 'normal'
    resolution = 'wont fix'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue40778'
    versions = ['Python 3.10']

    Activity

    1. corona10 commented on May 26, 2020

      @corona10
      MemberAuthor
    2. self-assigned this
      on May 26, 2020
    3. self-assigned this
      on May 26, 2020
    4. corona10 commented on May 26, 2020

      @corona10
      MemberAuthor

      Victor will convert the macros to the functions.
      So this change will be included in his PR.

    5. vstinner commented on May 26, 2020

      @vstinner
      Member

      Should be fixed by #20429

    6. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions