Author belopolsky
Recipients belopolsky, gregory.p.smith, pitrou, ronaldoussoren, steven.daprano
Date 2013-08-03.03:21:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The implementation of median and mode families of functions as classes is clever, but I am not sure it is a good idea to return something other than an instance of the class from __new__().  I would prefer to see a more traditional implementation along the lines:

class _mode:
    def __call__(self, data, ..):
    def collate(self, data, ..):
mode = _mode()
Date User Action Args
2013-08-03 03:22:00belopolskysetrecipients: + belopolsky, gregory.p.smith, ronaldoussoren, pitrou, steven.daprano
2013-08-03 03:22:00belopolskysetmessageid: <>
2013-08-03 03:22:00belopolskylinkissue18606 messages
2013-08-03 03:21:59belopolskycreate