Message69911
| Author | gpolo |
|---|---|
| Recipients | facundobatista, gpolo, pitrou |
| Date | 2008-07-17.21:52:50 |
| SpamBayes Score | 0.1016621 |
| Marked as misclassified | No |
| Message-id | <1216331572.07.0.533390639218.issue3396@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
This is somewhat obscure to notice but the problem is towards that
getattr on attr_matches. For "int" specifically, it will try to get the
attribute '__abstractmethods__' (which is a member of int.__class__) and
will raise an AttributeError but then the exception is discarded by the
readline module.
A workaround is to change that getattr to:
try:
val = getattr(object, word)
except AttributeError:
continue |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008-07-17 21:52:52 | gpolo | set | spambayes_score: 0.101662 -> 0.1016621 recipients: + gpolo, facundobatista, pitrou |
| 2008-07-17 21:52:52 | gpolo | set | spambayes_score: 0.101662 -> 0.101662 messageid: <1216331572.07.0.533390639218.issue3396@psf.upfronthosting.co.za> |
| 2008-07-17 21:52:51 | gpolo | link | issue3396 messages |
| 2008-07-17 21:52:50 | gpolo | create | |