mirror of
https://github.com/python/cpython.git
synced 2025-08-25 19:24:42 +00:00
Patch for issue 2848, mostly by Humberto Diogenes, with a couple of
small fixes by Barry. This removes mimetools from the stdlib.
This commit is contained in:
parent
75f25f2c9a
commit
820c120059
23 changed files with 146 additions and 202 deletions
|
@ -68,11 +68,7 @@ class Parser:
|
|||
data = fp.read(8192)
|
||||
if not data:
|
||||
break
|
||||
# XXX When Guido fixes TextIOWrapper.read() to act just like
|
||||
# .readlines(), this...
|
||||
feedparser.feed(str(data))
|
||||
# ...gets reverted back to
|
||||
#feedparser.feed(data)
|
||||
feedparser.feed(data)
|
||||
return feedparser.close()
|
||||
|
||||
def parsestr(self, text, headersonly=False):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue