[issue4331] Can't use _functools.partial() created function as method

Calvin Spealman report at bugs.python.org
Sun Nov 16 23:44:29 CET 2008


Calvin Spealman <ironfroggy at users.sourceforge.net> added the comment:

I don't think this is any kind of bug, it is simply a product of only 
function objects being decorated automatically as methods. Your python 
version works because it is, in fact, a function. _functools.partial 
objects are not functions, but simply callable objects.

----------
nosy: +ironfroggy

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4331>
_______________________________________


More information about the Python-bugs-list mailing list