Skip to content

Improve stdlib module initialization error handling.#83004

@brandtbucher

Description

@brandtbucher
BPO38823
Nosy@Yhg1s, @vstinner, @asvetlov, @serhiy-storchaka, @miss-islington, @brandtbucher, @shihai1991, @erlend-aasland
PRs
  • bpo-38823: Clean up refleaks in _asyncio initialization. #17195
  • [3.8] bpo-38823: Clean up refleaks in _asyncio initialization. (GH-17195) #17196
  • [3.7] bpo-38823: Clean up refleaks in _asyncio initialization. (GH-17195) #17197
  • bpo-38823: Clean up refleaks in _contextvars initialization. #17198
  • [3.7] bpo-38823: Clean up refleaks in _contextvars initialization. (GH-17198) #17199
  • [3.8] bpo-38823: Clean up refleaks in _contextvars initialization. (GH-17198) #17200
  • bpo-38823: Clean up refleaks in _tkinter initialization. #17206
  • bpo-38823: Clean up _statistics initialization. #17215
  • bpo-38823: Clean up _xxtestfuzz initialization. #17216
  • [3.8] bpo-38823: Clean up refleaks in _tkinter initialization. (GH-17206) #17226
  • [3.7] bpo-38823: Clean up refleaks in _tkinter initialization. (GH-17206) #17227
  • bpo-38823: Clean up refleak in _tracemalloc initialization. #17235
  • bpo-38823: Clean up refleak in fcntl initialization. #17236
  • bpo-38823: Clean up refleaks in faulthandler initialization. #17250
  • bpo-38823: Clean up refleak in marshal initialization. #17260
  • [3.8] bpo-38823: Fix refleaks in faulthandler init error path on Windows (GH-17250) #17263
  • [3.7] bpo-38823: Fix refleaks in faulthandler init error path on Windows (GH-17250) #17264
  • [3.8] bpo-38823: Fix refleak in marshal init error path (GH-17260) #17271
  • [3.7] bpo-38823: Fix refleak in marshal init error path (GH-17260) #17272
  • bpo-38823: Clean up refleaks in _ast initialization. #17276
  • [3.8] bpo-38823: Fix refleak in marshal init error path (GH-17260) #17280
  • [3.7] bpo-38823: Fix refleak in marshal init error path (GH-17260) #17281
  • [3.8] bpo-38823: Fix refleak in _tracemalloc init error handling (GH-17235) #17282
  • [3.7] bpo-38823: Fix refleak in _tracemalloc init error handling (GH-17235) #17283
  • bpo-38823: Add a private _PyModule_StealObject API. #17298
  • bpo-1635741: Calling Py_INCREF() after PyModule_AddObject() success to run #18365
  • bpo-38823: Fix refleaks in _ctypes extension init #23247
  • bpo-38823: Always build _ctypes with wchar_t #23248
  • bpo-38823: Fix compiler warning in _ctypes on Windows #23258
  • 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/brandtbucher'closed_at=Nonecreated_at=<Date2019-11-16.18:54:25.878>labels= ['3.7', '3.8', 'type-bug', 'library', '3.9'] title='Improve stdlib module initialization error handling.'updated_at=<Date2020-11-13.13:44:17.121>user='https://github.com/brandtbucher'

    bugs.python.org fields:

    activity=<Date2020-11-13.13:44:17.121>actor='vstinner'assignee='brandtbucher'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['Library (Lib)'] creation=<Date2019-11-16.18:54:25.878>creator='brandtbucher'dependencies= [] files= [] hgrepos= [] issue_num=38823keywords= ['patch'] message_count=30.0messages= ['356764', '356765', '356773', '356774', '356775', '356781', '356782', '356783', '356809', '356820', '356872', '356873', '356874', '356984', '357002', '357003', '357004', '357014', '357019', '357029', '357044', '357046', '357047', '357050', '357051', '357114', '361486', '380822', '380824', '380883'] nosy_count=8.0nosy_names= ['twouters', 'vstinner', 'asvetlov', 'serhiy.storchaka', 'miss-islington', 'brandtbucher', 'shihai1991', 'erlendaasland'] pr_nums= ['17195', '17196', '17197', '17198', '17199', '17200', '17206', '17215', '17216', '17226', '17227', '17235', '17236', '17250', '17260', '17263', '17264', '17271', '17272', '17276', '17280', '17281', '17282', '17283', '17298', '18365', '23247', '23248', '23258'] priority='normal'resolution=Nonestage='patch review'status='open'superseder=Nonetype='behavior'url='https://bugs.python.org/issue38823'versions= ['Python 3.7', 'Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    Labels

    3.10only security fixes3.11only security fixes3.12only security fixesstdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions