[XML-SIG] Another SAX Suggestion
Sat, 1 May 1999 14:22:26 +0200
Walter Underwood wrote:
> At 11:19 AM 4/28/99 -0500, Paul Prescod wrote:
> >I would like to suggest the default error handlers do something useful:
> > def error(self, exception):
> > "Handle a recoverable error."
> > sys.stderr.write( "Error: "+ exception )
> Since we write servers, we consider output to stderr from a library
> to be a defect.
I strongly agree. libraries shouldn't print stuff unless
you explicitly tell them to. use exceptions instead.
> Anybody else remember "RANGE ERROR" from the
> C math library?
anybody else stumbled upon the "Enter username/
Enter password" stuff down in urllib.py?