Benjamin Peterson added the comment:

If you want to emulate classmethod, calling __get__() on the function is the 
wrong thing to do. f.__get__(None, X) -> f You need to create a bound yourself 
instead.

----------
nosy: +benjamin.peterson
resolution:  -> invalid
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17008>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to