How to except the unexpected?

Rene Pijlman at
Sat Mar 4 13:53:43 CET 2006

Jorge Godoy:
>Rene Pijlman:
>> my app was surprised by an
>> httplib.InvalidURL since I hadn't noticed this could be raised by
>> robotparser (this is undocumented).
>It isn't undocumented in my module.  From 'pydoc httplib':

That's cheating: pydoc is reading the source :-)

What I meant was, I'm calling robotparser, and there's no mention of
exceptions on

René Pijlman

More information about the Python-list mailing list