Better fork support in cached FastPath instances #146228
Copy link
Copy link
Closed
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-importlibtype-featureA feature request or enhancementA feature request or enhancement
Description
In python/importlib_metadata#520, we learned that the FastPath caches can cause problems with open zip files at the fork boundary. The fix was released in importlib_metadata 8.7.1. Let's sync that to CPython.
Linked PRs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-importlibtype-featureA feature request or enhancementA feature request or enhancement
Activity
gh-146228: Better fork support in cached FastPath (#146231)
Merge remote-tracking branch 'upstream/main' into fix-pythongh-138577
pythongh-146228: Better fork support in cached FastPath (python#146231)