Author milko.krachounov
Recipients ezio.melotti, georg.brandl, milko.krachounov
Date 2009-09-27.16:08:29
SpamBayes Score 0.000401845
Marked as misclassified No
Message-id <>
My suggestion is not only unreadable, but wrong. It's even less accurate
than hasattr(x, '__call__'), as it doesn't look in all the classes in
the MRO. Using isinstance(x, collections.Callable) should probably be
the correct replacement for 2to3 and situation where checking this is
really needed, as it does look for __call__ in the whole MRO.
Date User Action Args
2009-09-27 16:08:31milko.krachounovsetrecipients: + milko.krachounov, georg.brandl, ezio.melotti
2009-09-27 16:08:31milko.krachounovsetmessageid: <>
2009-09-27 16:08:30milko.krachounovlinkissue7006 messages
2009-09-27 16:08:30milko.krachounovcreate