Message 110558 - Python tracker

Message110558

Author eric.araujo
Recipients ajaksu2, barry, eric.araujo, msapiro, r.david.murray
Date 2010-07-17.14:25:21
SpamBayes Score 0.020999558
Marked as misclassified No
Message-id <1279376724.88.0.505269033201.issue1409460@psf.upfronthosting.co.za>
In-reply-to
Content
Thank you for the reply. The problem is that parseaddr is designed to not fail IIUC, that’s why it may return empty strings. Client code has to check for these values instead of catching an exception—a mere style issue, weren’t it for the second bug. So I’m going to report that separately, and restrict the format in my project so that my code can just use string methods. I think I won’t open a feature request for a parameter to get exceptions, since parseaddr is designed not to.
History
Date User Action Args
2010-07-17 14:25:24eric.araujosetrecipients: + eric.araujo, barry, msapiro, ajaksu2, r.david.murray
2010-07-17 14:25:24eric.araujosetmessageid: <1279376724.88.0.505269033201.issue1409460@psf.upfronthosting.co.za>
2010-07-17 14:25:22eric.araujolinkissue1409460 messages
2010-07-17 14:25:22eric.araujocreate