This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Mark.Shannon
Recipients Mark.Shannon, mark.dickinson, methane, rhettinger, serhiy.storchaka, vstinner
Date 2021-04-12.09:39:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1618220365.05.0.865840717178.issue43682@roundup.psfhosted.org>
In-reply-to
Content
This is a significant change to the language.
There should be a PEP, or at the very least a discussion on Python Dev.

There may well be a very good reason why static methods have not been made callable before that you have overlooked.

Changing static methods to be callable will break backwards compatibility for any code that tests `callable(x)` where `x` is a static method.

I'm not saying that making staticmethods callable is a bad idea, just that it needs proper discussion.

https://bugs.python.org/issue20309 was closed as "won't fix". What has changed?
History
Date User Action Args
2021-04-12 09:39:25Mark.Shannonsetrecipients: + Mark.Shannon, rhettinger, mark.dickinson, vstinner, methane, serhiy.storchaka
2021-04-12 09:39:25Mark.Shannonsetmessageid: <1618220365.05.0.865840717178.issue43682@roundup.psfhosted.org>
2021-04-12 09:39:25Mark.Shannonlinkissue43682 messages
2021-04-12 09:39:24Mark.Shannoncreate