This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tony_nelson
Recipients anadelonbrin, barry, chris.eveleigh, graham_king, guettli, jdunck, kmtracey, paul.moore, tony_nelson
Date 2009-04-02.19:40:38
SpamBayes Score 7.761897e-06
Marked as misclassified No
Message-id <1238701241.79.0.548698537178.issue1555570@psf.upfronthosting.co.za>
In-reply-to
Content
The OP's diagnosis of a buffer boundary problem is correct, but
incomplete.  The problem can be reproduced by calling feedparser
FeedParser.feed() directly, or as my patch test does, by calling
BufferedSubFile.push() directly.  The proper fix is for push() to treat
a last line ending in CR as a partial line, as it does if no part of a
line ending is present.  The OP's patch only works when FeedParser is
called through the old Parser interface.
History
Date User Action Args
2009-04-02 19:40:41tony_nelsonsetrecipients: + tony_nelson, barry, paul.moore, guettli, anadelonbrin, graham_king, jdunck, kmtracey, chris.eveleigh
2009-04-02 19:40:41tony_nelsonsetmessageid: <1238701241.79.0.548698537178.issue1555570@psf.upfronthosting.co.za>
2009-04-02 19:40:40tony_nelsonlinkissue1555570 messages
2009-04-02 19:40:40tony_nelsoncreate