[Python-Dev] PEP 454 (tracemalloc) disable ==> clear? (original) (raw)
Jim Jewett jimjjewett at gmail.com
Tue Oct 29 03:00:34 CET 2013
- Previous message: [Python-Dev] Block module import during Python finalization?
- Next message: [Python-Dev] PEP 454 (tracemalloc) disable ==> clear?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
reset() function:
Clear traces of memory blocks allocated by Python.
Does this do anything besides clear? If not, why not just re-use the 'clear' name from dicts?
disable() function:
Stop tracing Python memory allocations and clear traces of
memory blocks allocated by Python.
I would disable to stop tracing, but I would not expect it to clear out the traces it had already captured. If it has to do that, please put in some sample code showing how to save the current traces before disabling.
-jJ
- Previous message: [Python-Dev] Block module import during Python finalization?
- Next message: [Python-Dev] PEP 454 (tracemalloc) disable ==> clear?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]