How to except the unexpected?
reply.in.the.newsgroup at my.address.is.invalid
Sat Mar 4 13:53:43 CET 2006
>> 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 http://docs.python.org/lib/module-robotparser.html
More information about the Python-list