Message388601
CPython itself doesn't have guaranteed way to do this kind of thing. There is no tracking of which types clear memory let alone which API calls may make copies of data in places within their C that are not explicitly cleared afterwards. We do not have a plan to implement this.
For data that MUST NOT remain in memory in any form anywhere as soon as code is done with it, the best thing to do is isolate all code inputting, processing, and clearing that within the confines of a lower level extension module or a short lived subprocess. |
|
Date |
User |
Action |
Args |
2021-03-13 10:18:28 | gregory.p.smith | set | recipients:
+ gregory.p.smith, absvsb |
2021-03-13 10:18:28 | gregory.p.smith | set | messageid: <1615630708.88.0.542581510211.issue43357@roundup.psfhosted.org> |
2021-03-13 10:18:28 | gregory.p.smith | link | issue43357 messages |
2021-03-13 10:18:28 | gregory.p.smith | create | |
|