Skip to content

[C API] Add Py_Is(x, y) and Py_IsNone(x) functions #87919

@vstinner

Description

@vstinner
BPO 43753
Nosy @tim-one, @rhettinger, @mdickinson, @vstinner, @cfbolz, @markshannon, @pablogsal, @shihai1991, @erlend-aasland
PRs
  • bpo-43753: Add Py_Is() and Py_IsNone() functions #25227
  • bpo-43753: _operator.is_() uses Py_Is() #28641
  • 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-05-18.20:44:33.857>
    created_at = <Date 2021-04-06.18:38:58.346>
    labels = ['expert-C-API', '3.10']
    title = '[C API] Add Py_Is(x, y) and Py_IsNone(x) functions'
    updated_at = <Date 2021-09-29.23:28:18.199>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2021-09-29.23:28:18.199>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-05-18.20:44:33.857>
    closer = 'vstinner'
    components = ['C API']
    creation = <Date 2021-04-06.18:38:58.346>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 43753
    keywords = ['patch']
    message_count = 19.0
    messages = ['390358', '390360', '390364', '390379', '390408', '390411', '390412', '390435', '390456', '390469', '390526', '390613', '390614', '390616', '390628', '390750', '390751', '393907', '402922']
    nosy_count = 9.0
    nosy_names = ['tim.peters', 'rhettinger', 'mark.dickinson', 'vstinner', 'Carl.Friedrich.Bolz', 'Mark.Shannon', 'pablogsal', 'shihai1991', 'erlendaasland']
    pr_nums = ['25227', '28641']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue43753'
    versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions