This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author malin
Recipients Anders.Hovmöller, brett.cannon, ezio.melotti, malin, michael.foord, rhettinger, serhiy.storchaka
Date 2019-03-31.12:39:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1554035945.45.0.0694277235854.issue36485@roundup.psfhosted.org>
In-reply-to
Content
> My initial idea was to add a lightweight module cachesreg with two functions: register() and clear_caches().

If it only has two functions, it could be a sub-module sys.cachesreg

Or a lifecycle module, as the name, dedicated to such kind of functions. Register callback functions for memory low, poweroff system, etc.
I don't want lifecycle module, just provide a possibility.
History
Date User Action Args
2019-03-31 12:39:05malinsetrecipients: + malin, brett.cannon, rhettinger, ezio.melotti, michael.foord, serhiy.storchaka, Anders.Hovmöller
2019-03-31 12:39:05malinsetmessageid: <1554035945.45.0.0694277235854.issue36485@roundup.psfhosted.org>
2019-03-31 12:39:05malinlinkissue36485 messages
2019-03-31 12:39:05malincreate