Skip to content

[C API] Heap types (PyType_FromSpec) must fully implement the GC protocol #87138

Closed
@vstinner

Description

@vstinner
BPO 42972
Nosy @nascheme, @ncoghlan, @vstinner, @tiran, @corona10, @pablogsal, @miss-islington, @shihai1991, @erlend-aasland, @Fidget-Spinner
PRs
  • bpo-42972: Fully implement GC protocol for sqlite3 heap types #26104
  • bpo-42972: Fully implement GC protocol for arraymodule types #26114
  • [3.10] bpo-42972: Fully implement GC protocol for sqlite3 heap types (GH-26104) #26361
  • [3.10] bpo-42972: Fully implement GC protocol for arraymodule types (GH-26114) #26362
  • bpo-42972: Fully implement GC protocol for functools keywrapper and partial types #26363
  • bpo-42972: Fully implement GC protocol for re types #26368
  • bpo-42972: Fully implement GC protocol for ssl heap types (GH-26370) #26370
  • bpo-42972: Fully support GC protocol for operator heap types #26371
  • bpo-42972: Fully support GC protocol for _queue.SimpleQueue #26372
  • bpo-42972: Fully support GC for mmap heap types #26373
  • bpo-42972: Fully support GC for hashlib heap types (GH-26374) #26374
  • bpo-42972: Fully support GC for pyexpat, unicodedata, and dbm/gdbm heap types #26376
  • bpo-42972: Fully support GC for _winapi.Overlapped #26381
  • [3.10] bpo-42972: Fully support GC for pyexpat, unicodedata, and dbm/gdbm heap types (GH-26376) #26397
  • [3.10] bpo-42972: Fully support GC for hashlib heap types (GH-26374) #26398
  • [3.10] bpo-42972: Fully implement GC protocol for ssl heap types (GH-26370) #26399
  • [3.10] bpo-42972: Fully support GC protocol for _queue.SimpleQueue (GH-26372) #26406
  • [3.10] bpo-42972: Fully support GC for mmap heap types (GH-26373) #26407
  • [3.10] bpo-42972: Fully implement GC protocol for re types (GH-26368) #26411
  • [3.10] bpo-42972: Fully support GC protocol for _operator heap types (GH-26371) #26413
  • [3.10] bpo-42972: Fully implement GC protocol for re types (GH-26368) #26414
  • bpo-42972: Fully implement GC protocol for functools LRU cache #26423
  • [3.10] bpo-42972: Fully implement GC protocol for functools keywrapper and partial types (GH-26363) #26424
  • [3.10] bpo-42972: Fully implement GC protocol for functools LRU cache (GH-26423) #26425
  • [3.10] bpo-42972: Fully support GC for _winapi.Overlapped (GH-26381) #26426
  • [3.10] bpo-42972: Fully support GC for _winapi.Overlapped (GH-26381) #26427
  • bpo-42972: Fix GC assertion error in _winapi by untracking Overlapped earlier #26429
  • [3.10] bpo-42972: Fully support GC for _winapi.Overlapped (GH-26381)  #26430
  • [3.10] bpo-42972: Fully support GC for _winapi.Overlapped (GH-26381) #26431
  • bpo-42972: Fully implement GC protocol for xxlimited.Xxo #26451
  • bpo-42972: Fix sqlite3 traverse/clear #26452
  • [3.10] bpo-42972: Fully implement GC protocol for xxlimited (GH-26451) #26460
  • [3.10] bpo-42972: Fix sqlite3 traverse/clear functions (GH-26452) #26461
  • bpo-42972: Track sqlite3 statement objects #26475
  • [3.10] bpo-42972: Track sqlite3 statement objects (GH-26475) #26515
  • bpo-42972: _thread.RLock type implements tp_traverse #26734
  • [3.10] bpo-42972: _thread.RLock implements the GH protocol (GH-26734) #26735
  • 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 2021-01-19.21:54:26.099>
    labels = ['expert-C-API', 'type-bug', '3.10']
    title = '[C API] Heap types (PyType_FromSpec) must fully implement the GC protocol'
    updated_at = <Date 2021-09-29.00:01:08.612>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2021-09-29.00:01:08.612>
    actor = 'vstinner'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['C API']
    creation = <Date 2021-01-19.21:54:26.099>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 42972
    keywords = ['patch']
    message_count = 56.0
    messages = ['385297', '385299', '385883', '393547', '393609', '393668', '394383', '394385', '394386', '394388', '394402', '394403', '394404', '394409', '394416', '394427', '394446', '394450', '394516', '394517', '394518', '394519', '394520', '394532', '394541', '394547', '394554', '394555', '394562', '394564', '394566', '394568', '394574', '394575', '394583', '394594', '394601', '394609', '394622', '394643', '394645', '394646', '394647', '394658', '394659', '394662', '394669', '394676', '394789', '394795', '394797', '394801', '394852', '395015', '395878', '395879']
    nosy_count = 11.0
    nosy_names = ['nascheme', 'ncoghlan', 'vstinner', 'christian.heimes', 'corona10', 'pablogsal', 'miss-islington', 'shihai1991', 'erlendaasland', 'kj', 'soffieswan015']
    pr_nums = ['26104', '26114', '26361', '26362', '26363', '26368', '26370', '26371', '26372', '26373', '26374', '26376', '26381', '26397', '26398', '26399', '26406', '26407', '26411', '26413', '26414', '26423', '26424', '26425', '26426', '26427', '26429', '26430', '26431', '26451', '26452', '26460', '26461', '26475', '26515', '26734', '26735']
    priority = None
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue42972'
    versions = ['Python 3.10']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixestopic-C-APItype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions