Just wrote: >> smtplib obtains a copy of stderr by >> from sys import stderr
> Ouch. I'd consider this a bug. "from sys import stderr" should at least > be considered bad style. I'd rather say this is the low-tech equivalent to debug = logging.getLogger("smtplib").debug an approach which is currently only taken by the cookielib module. Peter -- http://mail.python.org/mailman/listinfo/python-list