Author r.david.murray
Recipients Lukasa, barry, icordasc, mgdelmonte, r.david.murray
Date 2015-06-02.22:22:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1433283735.49.0.0485802611895.issue24363@psf.upfronthosting.co.za>
In-reply-to
Content
I think there may be a way to accomplish this in a reasonably straightforward fashion in python3 given that feedparser has an 'unreadline' function.  The python2 case is probably going to be a more complicated change.  And I agree that multiple lines should be examined.

There is also the question of what to do with the extra data.  I think the correct approach is to treat a line that does not conform as a line that is missing the leading whitespace that would make it a continuation line.  It looks like that would certainly be correct for the case in hand.
History
Date User Action Args
2015-06-02 22:22:15r.david.murraysetrecipients: + r.david.murray, barry, icordasc, Lukasa, mgdelmonte
2015-06-02 22:22:15r.david.murraysetmessageid: <1433283735.49.0.0485802611895.issue24363@psf.upfronthosting.co.za>
2015-06-02 22:22:15r.david.murraylinkissue24363 messages
2015-06-02 22:22:15r.david.murraycreate