[issue16914] timestamping in smtplib.py to help troubleshoot server timeouts/delays

2013-01-17 Thread gac
gac added the comment: Thanks, I'll look into your suggestions and try to submit a further improved patch :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16914

[issue16914] timestamping in smtplib.py to help troubleshoot server timeouts/delays

2013-01-14 Thread gac
gac added the comment: Here's a second path I've done for the current/default branch, using a separate print function for output, as recommended by Berker Peksag. I tried to add it as a separate patch set using the code review tool but every time I did, I just got a screen full of debug

[issue16914] timestamping in smtplib.py to help troubleshoot server timeouts/delays

2013-01-11 Thread gac
gac added the comment: Patch to add the same functionality to Python 2.7, if anyone's interested in that also. -- versions: +Python 2.7 Added file: http://bugs.python.org/file28686/smtplib.py.27.patch ___ Python tracker rep...@bugs.python.org http

[issue16914] timestamping in smtplib.py to help troubleshoot server timeouts/delays

2013-01-10 Thread gac
New submission from gac: I had cause to use smtplib to help me pinpoint why some outgoing mail was failing, but found that while it offered verbose logging (via debuglevel 1) this was without timestamps, making it difficult to make my case to the server operator that it was a server-side