staticmethod makes my brain hurt

Roy Smith roy at panix.com
Thu Nov 17 00:26:20 EST 2011


In article <4ec490ec$0$30003$c3e8da3$5496439d at news.astraweb.com>,
 Steven D'Aprano <steve+comp.lang.python at pearwood.info> wrote:

> This has come up before.
> 
> http://bytes.com/topic/python/answers/34396-static-method-object-not-callable
> 
> http://bytes.com/topic/python/answers/462734-make-staticmethod-objects-callabl
> e
> 
> 
> However, the fix is not as simple as merely making staticmethod objects 
> callable. This was discussed at the 2011 language summit:
> 
> http://www.boredomandlaziness.org/2011/03/python-language-summit-rough-notes.h
> tml
> 
> See also this thread:
> 
> http://mail.python.org/pipermail/python-dev/2011-March/109090.html

Thanks for the links.  It always makes me feel good when I get tripped 
up by something complex and subtle.  It almost makes up for all the 
times when I feel like a dolt because I got tripped up by something 
obvious and elementary...



More information about the Python-list mailing list