Message244704
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. |
|
Date |
User |
Action |
Args |
2015-06-02 22:22:15 | r.david.murray | set | recipients:
+ r.david.murray, barry, icordasc, Lukasa, mgdelmonte |
2015-06-02 22:22:15 | r.david.murray | set | messageid: <1433283735.49.0.0485802611895.issue24363@psf.upfronthosting.co.za> |
2015-06-02 22:22:15 | r.david.murray | link | issue24363 messages |
2015-06-02 22:22:15 | r.david.murray | create | |
|