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 donlorenzo
Recipients donlorenzo, jafo, nascheme
Date 2008-03-26.13:35:04
SpamBayes Score 0.211761
Marked as misclassified No
Message-id <>
I was thinking that the code in question could maybe also raise other
exceptions. too bad I´m on vacation and can´t try this out myself.
I believe the regular expression also matches something like 

import rlcompleter
rlcompleter.Completer().complete("1foo.2bar3.smth", 0)

which I guess would result in a SyntaxError. 
would be nice if someone could verify that.

If I´m right I see two possibilities. either change the regular
expression to match only valid python identifieres or also catch

could there be any other exception? ("In the face of ambiguity, refuse
the temptation to guess.")
Date User Action Args
2008-03-26 13:35:07donlorenzosetspambayes_score: 0.211761 -> 0.211761
recipients: + donlorenzo, nascheme, jafo
2008-03-26 13:35:07donlorenzosetspambayes_score: 0.211761 -> 0.211761
messageid: <>
2008-03-26 13:35:05donlorenzolinkissue2250 messages
2008-03-26 13:35:05donlorenzocreate