(solved) smtplib, capturing output from set_debuglevel ??
jcarlson at uci.edu
Fri Oct 8 21:30:17 CEST 2004
> I decided to bite the bullet and have a look at the code for smtplib,
> (after being scared of changing it before), and of course its what I
> should have done in the first place.
I hope you didn't change your own copy of smtplib, but just subclassed
it. Changing a standard module is a good way to get bitten in the ass,
especially during Python upgrades.
In regards to changing the standard library's smtplib permanently, you
may or may not find support. A good way to find out is to post here
with the subject "proposed change to smtplib in standard library",
describe your changes, and if it has support, head to
sf.net/projects/python, list it as an RFE, and offer the code you have
P.S. Did you get my post with the multi-threaded output? You get the
entire stream of debug data for a particular smtp thread in a single
More information about the Python-list