Re: question about the best way to check if an email is valid (RFC compliant)

"R. David Murray" <[email protected]> Wed, 06 Jul 2011 14:41:40 -0400
Newsgroups gmane.comp.python.mime.devel
Message-ID <[email protected]>
On Wed, 06 Jul 2011 14:35:31 +0200, xavier delannoy <[email protected]> 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