[issue43682] Make static methods created by @staticmethod callable
STINNER Victor
report at bugs.python.org
Fri Apr 9 08:02:37 EDT 2021
STINNER Victor <vstinner at python.org> added the comment:
Serhiy:
> I concur with Mark Shannon. The root problem is that Python functions and built-in functions have different behavior when assigned as class attribute. The former became an instance method, but the latter is not.
Do you see a way to make C functions and Python functions behave the same?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43682>
_______________________________________
More information about the Python-bugs-list
mailing list