Author mark.dickinson
Recipients agthorr, belopolsky, christian.heimes, gregory.p.smith, mark.dickinson, oscarbenjamin, pitrou, ronaldoussoren, sjt, steven.daprano, stutzbach, tshepang, vajrasky
Date 2013-08-12.10:32:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1376303524.96.0.421655446674.issue18606@psf.upfronthosting.co.za>
In-reply-to
Content
From the code:

    # Also, like all dunder methods, we should call
    # __float__ on the class, not the instance.

Why?  I've never encountered this recommendation before.  x.__float__() would be clearer, IMO.
History
Date User Action Args
2013-08-12 10:32:05mark.dickinsonsetrecipients: + mark.dickinson, gregory.p.smith, ronaldoussoren, belopolsky, pitrou, agthorr, christian.heimes, stutzbach, steven.daprano, sjt, tshepang, oscarbenjamin, vajrasky
2013-08-12 10:32:04mark.dickinsonsetmessageid: <1376303524.96.0.421655446674.issue18606@psf.upfronthosting.co.za>
2013-08-12 10:32:04mark.dickinsonlinkissue18606 messages
2013-08-12 10:32:04mark.dickinsoncreate