Changes by xavierd :
Added file: http://bugs.python.org/file22919/orig.eml
___
Python tracker
<http://bugs.python.org/issue12515>
___
___
Python-bugs-list mailin
Changes by xavierd :
Removed file: http://bugs.python.org/file22887/email.patch
___
Python tracker
<http://bugs.python.org/issue12515>
___
___
Python-bugs-list mailin
xavierd added the comment:
I also noticed that 'email' modifies the message structure when the header/body
separator is missing. And nothing is added to the defect list.
In the attachment, you'll find :
- email.patch: this patch add the following error to the defects list :
xavierd added the comment:
with the patch applied:
{{{
$ ./test.py
PARSER INVALID EMAIL
defects found !
[]
}}}
--
Added file: http://bugs.python.org/file22889/test.py
___
Python tracker
<http://bugs.python.org/issue12
Changes by xavierd :
Added file: http://bugs.python.org/file22888/orig.eml
___
Python tracker
<http://bugs.python.org/issue12515>
___
___
Python-bugs-list mailin
xavierd added the comment:
This patch does:
- when a close boundary isn't found then the error
'email.errors.CloseBoundaryNotFoundDefect' is added to the defects list.
- it doesn't modify the current behaviour of the feedparser
(eg: the function email.message_from_fil
New submission from xavierd :
the function 'email.message_from_file' modifies the message structure when the
parsed is invalid (for example, when a closed boudary is missing). The
attribute defects is also empty
In the attachment (sample.tgz) you will find:
- orig.eml : an ema