New submission from R. David Murray <rdmur...@bitdance.com>:

The error recovery heuristic the parser uses is that if it sees a line with no 
leading whitespace and no ':' in it, it assumes that the blank line between the 
headers and the body was missing.  It does not, however, register defect for 
this case.

Attached is a patch.  It introduces a new Defect and deprecates an old one that 
could never have been issued, so I'm not going to back port it.  (Especially 
seeing as no one has ever complained about it...I found the bug through code 
inspection.)

----------
assignee: r.david.murray
components: email
files: bodyseparator.patch
keywords: patch
messages: 161708
nosy: barry, r.david.murray
priority: normal
severity: normal
stage: patch review
status: open
title: email package does not register defect when blank line between header 
and body is missing
type: enhancement
versions: Python 3.3
Added file: http://bugs.python.org/file25732/bodyseparator.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14925>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to