This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 gpolo
收信人 facundobatista, gpolo, pitrou
日期 2008-07-17.21:52:50
SpamBayes Score 0.1016621
Marked as misclassified
Message-id <1216331572.07.0.533390639218.issue3396@psf.upfronthosting.co.za>
In-reply-to
内容
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
历史
日期 用户 动作 参数
2008-07-17 21:52:52gpolo修改spambayes_score: 0.101662 -> 0.1016621
recipients: + gpolo, facundobatista, pitrou
2008-07-17 21:52:52gpolo修改spambayes_score: 0.101662 -> 0.101662
messageid: <1216331572.07.0.533390639218.issue3396@psf.upfronthosting.co.za>
2008-07-17 21:52:51gpolo链接issue3396 messages
2008-07-17 21:52:50gpolo创建