commit | 2e8c1f189a497179b7fd7bd5dad61c3189167849 | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Sun Nov 28 00:21:42 2004 +0000 |
committer | Barry Warsaw <barry@python.org> | Sun Nov 28 00:21:42 2004 +0000 |
tree | d155df0293d728c40f6822689a28c990eb4dd633 | |
parent | f7f9b6cb2df7a933f687622044a86cd49a7d9f9b [diff] |
Fix for SF bug #1072623. When the last line of the input string does not end in a newline, and it's an end boundary, the FeedParser wasn't recognizing it as such. Tweak the regexp to make the ending linesep optional. For grins, clear self._partial when closing the BufferedSubFile. Added a test case.