[issue44803] change tracemalloc.BaseFilter to an abstract class
STINNER Victor
report at bugs.python.org
Thu Aug 5 05:09:38 EDT 2021
STINNER Victor <vstinner at python.org> added the comment:
I don't see the benefit of the PR 27527. "BaseFilter" contains "Base" in its name and its only *private* method raises NotImplementedError. Maybe my design mistake (I wrote the tracemalloc module) was to expose it in the first place.
I suggest to leave the code as it is. As Łukasz wrote, there are other stdlib modules using "base" or "abstract" classes without using the abc module.
----------
nosy: +vstinner
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44803>
_______________________________________
More information about the Python-bugs-list
mailing list