[Python-Dev] PEP 454 (tracemalloc) disable ==> clear? (original) (raw)

Stephen J. Turnbull turnbull at sk.tsukuba.ac.jp
Thu Oct 31 06:08:42 CET 2013


Jim Jewett writes:

Later, he wrote:

I don't see why disable() would return data.

disable is indeed a bad name for something that returns data.

Note that I never proposed that disable() return anything, only that it get the trace. It could store it in some specified object, or a file, rather than return it, for example. I deliberately left what it does with the retrieved data unspecified. The important thing to me is that it not be dropped on the floor by something named "disable".



More information about the Python-Dev mailing list