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

2015-04-16 Thread Maciej Szulik
Maciej Szulik added the comment: After talking to David I'm submitting the patch once again with one slight change in ACKS file (I've put the names in the sorted order). -- Added file: http://bugs.python.org/file39073/issue16914.patch ___ Python

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

2015-04-16 Thread R. David Murray
R. David Murray added the comment: Review comments added. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16914 ___ ___ Python-bugs-list mailing

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

2015-04-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 65037930edb0 by R David Murray in branch 'default': #16914: add timestamps to smtplib debugging output via new debuglevel 2. https://hg.python.org/cpython/rev/65037930edb0 -- nosy: +python-dev ___ Python

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

2015-04-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset de19c0ffe8d5 by R David Murray in branch 'default': News item for #16914. https://hg.python.org/cpython/rev/de19c0ffe8d5 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16914

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

2015-04-16 Thread Maciej Szulik
Maciej Szulik added the comment: Review comments addressed in latest patch. -- Added file: http://bugs.python.org/file39077/issue16914.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16914

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

2015-04-16 Thread R. David Murray
R. David Murray added the comment: Thanks Gavin and Maciej. I can tell it is the end of the sprints...my brain is fuzzy and I forgot both the news item and missed the missing versionchanged when I reviewed -- resolution: - fixed stage: patch review - resolved status: open -

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

2015-04-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 724473a18ada by R David Murray in branch 'default': #16914: reflow paragraph and add missing versionchanged. https://hg.python.org/cpython/rev/724473a18ada -- ___ Python tracker rep...@bugs.python.org

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

2015-04-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset e532937914fc by R David Murray in branch 'default': #16914: fix test errors under -W error::BytesWarning. https://hg.python.org/cpython/rev/e532937914fc -- ___ Python tracker rep...@bugs.python.org

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

2015-04-13 Thread Berker Peksag
Berker Peksag added the comment: Thanks Maciej. I left a couple of comments on Rietveld: http://bugs.python.org/review/16914/ -- nosy: +berker.peksag ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16914

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

2015-04-13 Thread Maciej Szulik
Maciej Szulik added the comment: Uploading updated version of the patch. -- Added file: http://bugs.python.org/file38974/issue16914.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16914

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

2015-04-13 Thread Maciej Szulik
Maciej Szulik added the comment: Moving this enhancement to python 3.5. I'm adding updated patch plus tests for debug messages, updated what's new docs -- nosy: +maciej.szulik versions: +Python 3.5 -Python 3.4 Added file: http://bugs.python.org/file38924/issue16914.patch

[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-14 Thread R. David Murray
R. David Murray added the comment: Thanks for the suggestion and patch. I haven't reviewed it thoroughly yet, but if you change _print_debug to be: def _print_debug(*args): then print(datetime.datetime.now(), *args, file=stderr) should do what you want for python3 (I don't think the

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

2013-01-14 Thread R. David Murray
R. David Murray added the comment: Er, that should have been (self, *args), but actually I'd recommend making it a module function, not a method, in which case my signature would be correct :) -- ___ Python tracker rep...@bugs.python.org

[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

[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

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

2013-01-10 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- components: +email nosy: +barry, r.david.murray stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16914 ___