Maybe. Though it has surprised me occasionally that pulling a classmethod or staticmethod out of the class dict (like in Jeroen's original example) doesn't work.
On Wed, Jun 20, 2018 at 10:34 AM Serhiy Storchaka <storch...@gmail.com> wrote: > 20.06.18 12:56, Jeroen Demeyer пише: > > Are there any reasons to *not* make staticmethod and classmethod > callable? > > There were no reasons to make staticmethod and classmethod callable. > Just "for consistency" is not considered a good reason. > > _______________________________________________ > Python-ideas mailing list > Python-ideas@python.org > https://mail.python.org/mailman/listinfo/python-ideas > Code of Conduct: http://python.org/psf/codeofconduct/ > -- --Guido van Rossum (python.org/~guido)
_______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/