Author eckhardt
Recipients Alexander.Belopolsky, Christophe Simonis, anacrolix, belopolsky, eckhardt, ironfroggy, jackdied, jcea, r.david.murray, rhettinger, ssadler
Date 2013-02-07.08:36:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1360226165.14.0.948806129405.issue4331@psf.upfronthosting.co.za>
In-reply-to
Content
Just for the record, the behaviour is documented, unfortunately in the very last line of the functools documentation: "Also, partial objects defined in classes behave like static methods and do not transform into bound methods during instance attribute look-up."

Concerning how exactly they should behave during that lookup, I'd use the least surprising variant, namely that they are not treated differently from other functions: The first parameter is implicitly "self".
History
Date User Action Args
2013-02-07 08:36:05eckhardtsetrecipients: + eckhardt, rhettinger, jcea, belopolsky, ironfroggy, jackdied, Christophe Simonis, ssadler, r.david.murray, Alexander.Belopolsky, anacrolix
2013-02-07 08:36:05eckhardtsetmessageid: <1360226165.14.0.948806129405.issue4331@psf.upfronthosting.co.za>
2013-02-07 08:36:05eckhardtlinkissue4331 messages
2013-02-07 08:36:04eckhardtcreate