21.06.18 10:45, Jeroen Demeyer пише:
On 2018-06-20 19:33, Serhiy Storchaka 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.

You have to compare the advantages of making them callable vs. the advantages of *not* making them callable.

You have also to weight the disadvantages of making them callable and the cost of making them callable.

I think that consistency *is* good to have, so I consider that one reason to make them callable. Are there any reasons for *not* making them callable?

Status quo wins.

_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to