On Wed, 06 Jul 2011 14:35:31 +0200, xavier delannoy <xavier.delan...@cloudmark.com> wrote: > If an error is raised, and if I won't get a message object, then I'm > fine. But with Python 2.7.1, I get a message object and the attribute > defects is empty.
Please file a bug report about this at bugs.python.org and add me (tracker id r.david.murray) to the nosy list. It may not be fixable as a bug since the current email package makes no promises about detecting all errors. However, since as you point out the resulting message structure is changed, it probably is classifiable as a bug. I'll take a look at the issue when I get a chance, or you could propose a patch if you are motivated to do so. -- R. David Murray http://www.bitdance.com _______________________________________________ Email-SIG mailing list Email-SIG@python.org Your options: http://mail.python.org/mailman/options/email-sig/archive%40mail-archive.com