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 <>
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.
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: <>
2020-01-16 17:25:23dino.viehlandlinkissue38076 messages
2020-01-16 17:25:23dino.viehlandcreate