[issue44803] change tracemalloc.BaseFilter to an abstract class
Łukasz Langa
report at bugs.python.org
Wed Aug 4 13:55:21 EDT 2021
Łukasz Langa <lukasz at langa.pl> added the comment:
Many standard libraries, including new ones like asyncio, use `raise NotImplementedError` to denote methods that need re-implementation in subclasses. Some of those base classes even literally *called* Abstract and yet don't inherit from ABC (nor use ABCMeta). Do you intend to change all those as well?
While I agree it would be cleaner to have them defined as abstract, at the moment I'm not sure it's worth the churn.
----------
nosy: +lukasz.langa
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44803>
_______________________________________
More information about the Python-bugs-list
mailing list