Message69933
| Author | dieresys |
|---|---|
| Recipients | dieresys, facundobatista, gpolo, pitrou |
| Date | 2008-07-18.05:22:50 |
| SpamBayes Score | 0.12831974 |
| 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:53 | dieresys | set | spambayes_score: 0.12832 -> 0.12831974 recipients: + dieresys, facundobatista, pitrou, gpolo |
| 2008-07-18 05:22:53 | dieresys | set | spambayes_score: 0.12832 -> 0.12832 messageid: <1216358573.31.0.997185260845.issue3396@psf.upfronthosting.co.za> |
| 2008-07-18 05:22:51 | dieresys | link | issue3396 messages |
| 2008-07-18 05:22:50 | dieresys | create | |