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.

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:52gpolosetspambayes_score: 0.101662 -> 0.1016621
recipients: + gpolo, facundobatista, pitrou
2008-07-17 21:52:52gpolosetspambayes_score: 0.101662 -> 0.101662
messageid: <1216331572.07.0.533390639218.issue3396@psf.upfronthosting.co.za>
2008-07-17 21:52:51gpololinkissue3396 messages
2008-07-17 21:52:50gpolocreate