This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: logging.handlers.SMTPHandler and single 'to' address
Type: Stage:
Components: Library (Lib) Versions:
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: anthonybaxter
Priority: normal Keywords: patch

Created on 2003-02-14 05:07 by anthonybaxter, last changed 2022-04-10 16:06 by admin. This issue is now closed.

Messages (2)
msg42841 - (view) Author: Anthony Baxter (anthonybaxter) (Python triager) Date: 2003-02-14 05:07
logging.handlers.SMTPHandler should handle a single
string to address - at the moment if you mess up and 
pass a string, (e.g. 'someuser@foo.com'), you get a message
body To: line of
s@localdomain,o@localdomain,m@localdomain,... 

smtplib has the same signature, but checks for a single
string argument. This patch does the same for the logging
module.

Patch is to Lib/logging/handlers.py. Not sure if the
version
in the Python CVS is the "home" version of the code, or
if it's just an import of a different CVS.
msg42842 - (view) Author: Anthony Baxter (anthonybaxter) (Python triager) Date: 2003-02-22 10:05
Logged In: YES 
user_id=29957

the recent set of patches for logging included this patch.
History
Date User Action Args
2022-04-10 16:06:48adminsetgithub: 37981
2003-02-14 05:07:18anthonybaxtercreate