summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2004-11-28 00:21:42 +0000
committerBarry Warsaw <barry@python.org>2004-11-28 00:21:42 +0000
commit2e8c1f189a497179b7fd7bd5dad61c3189167849 (patch)
treed155df0293d728c40f6822689a28c990eb4dd633 /Python/pythonrun.c
parentf7f9b6cb2df7a933f687622044a86cd49a7d9f9b (diff)
downloadcpython-git-2e8c1f189a497179b7fd7bd5dad61c3189167849.tar.gz
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.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions