Skip to content

types.GenericAlias should decref instead of using delete in tp_new #88728

Description

@Fidget-Spinner
BPO 44562
Nosy @vstinner, @serhiy-storchaka, @pablogsal, @miss-islington, @Fidget-Spinner
PRs
  • bpo-44562: Remove invalid PyObject_GC_Del from error path of types.GenericAlias … #27016
  • [3.9] bpo-44562: Remove invalid PyObject_GC_Del from error path of types.GenericAlias … (GH-27016) #27018
  • [3.10] bpo-44562: Remove invalid PyObject_GC_Del from error path of types.GenericAlias … (GH-27016) #27019
  • bpo-44562: Use PyType_GenericAlloc in Py_GenericAlias #27021
  • [3.9] bpo-44562: Revert "Remove invalid PyObject_GC_Del from error path of types.GenericAlias … (GH-27016)" #27022
  • [3.9] bpo-44562: Remove invalid PyObject_GC_Del from error path of types.GenericAlias … (GH-27016) #27028
  • [3.10] bpo-44562: Use PyType_GenericAlloc in Py_GenericAlias (GH-27021) #27031
  • 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-07-05.16:34:14.076>
    created_at = <Date 2021-07-04.15:34:00.261>
    labels = ['3.9', '3.10', '3.11']
    title = 'types.GenericAlias should decref instead of using delete in tp_new'
    updated_at = <Date 2021-07-05.16:34:14.076>
    user = 'https://github.com/Fidget-Spinner'

    bugs.python.org fields:

    activity = <Date 2021-07-05.16:34:14.076>
    actor = 'pablogsal'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-07-05.16:34:14.076>
    closer = 'pablogsal'
    components = []
    creation = <Date 2021-07-04.15:34:00.261>
    creator = 'kj'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 44562
    keywords = ['patch']
    message_count = 15.0
    messages = ['396944', '396945', '396947', '396948', '396949', '396951', '396953', '396954', '396955', '396956', '396959', '396973', '396987', '396988', '397003']
    nosy_count = 5.0
    nosy_names = ['vstinner', 'serhiy.storchaka', 'pablogsal', 'miss-islington', 'kj']
    pr_nums = ['27016', '27018', '27019', '27021', '27022', '27028', '27031']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue44562'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.9 (EOL)end of life

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions