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 ncoghlan
Recipients arigo, larry, ncoghlan, pitrou
Date 2014-01-20.12:32:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CADiSq7cA-XtuybUL-oJK1erWAkSTX66MCGgJTc5P-xQcFxkqGA@mail.gmail.com>
In-reply-to <1390200272.19.0.495781009925.issue20309@psf.upfronthosting.co.za>
Content
I believe it's just a matter of pattern of use - applying staticmethod
outside a class (or retrieving the descriptor directly from the dict,
bypassing the descriptor protocol), so nobody every noticed.

Ditto for the C wrapper vs the Python wrapper for a classmethod - it's
really rare to access those without going through the descriptor
machinery, so it's likely just an accident of implementation that one
of them isn't callable.

I don't see any specific reason for them to be non-callable - I
suspect it's just a case of never adding the code to make it happen.
History
Date User Action Args
2014-01-20 12:32:24ncoghlansetrecipients: + ncoghlan, arigo, pitrou, larry
2014-01-20 12:32:24ncoghlanlinkissue20309 messages
2014-01-20 12:32:24ncoghlancreate