Author dino.viehland
Recipients dino.viehland, eelizondo, eric.snow, pablogsal, twouters, vstinner
Date 2020-01-16.17:25:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1579195523.79.0.861791158223.issue38076@roundup.psfhosted.org>
In-reply-to
Content
It seems problematic that_PyInterpreterState_ClearModules runs before all instances from a module have been cleared.  If PyState_FindModule is no longer able to return module state then there's no way for a module to reliably work at shutdown other than having all instances hold onto the module (or module state) directly from all of their insatances.  Certainly that would mimic more closely what happens w/ pure Python instances and modules - the type will hold onto the functions which will hold onto the module global state.
History
Date User Action Args
2020-01-16 17:25:23dino.viehlandsetrecipients: + dino.viehland, twouters, vstinner, eric.snow, pablogsal, eelizondo
2020-01-16 17:25:23dino.viehlandsetmessageid: <1579195523.79.0.861791158223.issue38076@roundup.psfhosted.org>
2020-01-16 17:25:23dino.viehlandlinkissue38076 messages
2020-01-16 17:25:23dino.viehlandcreate