Author dieresys
Recipients dieresys, facundobatista, gpolo, pitrou
Date 2008-07-18.05:22:50
SpamBayes Score 0.12832
Marked as misclassified No
Message-id <1216358573.31.0.997185260845.issue3396@psf.upfronthosting.co.za>
In-reply-to
Content
Oops, you are right. If that is the way we should handle this
regression, I could upload a patch. I also thought we could use
"hasattr", but that means using "getattr" twice. Something like:

if word[:n] == attr and word != "__builtins__" and hasattr(object, word):
    val = getattr(object, word)

What do you think about it?
History
Date User Action Args
2008-07-18 05:22:53dieresyssetspambayes_score: 0.12832 -> 0.12832
recipients: + dieresys, facundobatista, pitrou, gpolo
2008-07-18 05:22:53dieresyssetspambayes_score: 0.12832 -> 0.12832
messageid: <1216358573.31.0.997185260845.issue3396@psf.upfronthosting.co.za>
2008-07-18 05:22:51dieresyslinkissue3396 messages
2008-07-18 05:22:50dieresyscreate