stoopid question: why the heck is xmllib using "RuntimeError" to flag XML syntax errors?
Because it's too cheap to declare its own exception?
how about adding:
class XMLError(RuntimeError): pass
(and maybe one or more XMLError subclasses?)
what's wrong with "SyntaxError"?
That would be the wrong exception unless it's parsing Python source code.
gotta fix netrc.py then...