Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
5efee580
Commit
5efee580
authored
Mar 15, 2013
by
R David Murray
Browse files
Options
Browse Files
Download
Plain Diff
Merge: #17431: Fix missing import of BytesFeedParser in email.parser.
parents
b0dc5c3b
8093d6f8
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
1 deletion
+8
-1
Lib/email/parser.py
Lib/email/parser.py
+1
-1
Lib/test/test_email/test_email.py
Lib/test/test_email/test_email.py
+4
-0
Misc/ACKS
Misc/ACKS
+1
-0
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Lib/email/parser.py
View file @
5efee580
...
...
@@ -9,7 +9,7 @@ __all__ = ['Parser', 'HeaderParser', 'BytesParser', 'BytesHeaderParser']
import
warnings
from
io
import
StringIO
,
TextIOWrapper
from
email.feedparser
import
FeedParser
from
email.feedparser
import
FeedParser
,
BytesFeedParser
from
email.message
import
Message
from
email._policybase
import
compat32
...
...
Lib/test/test_email/test_email.py
View file @
5efee580
...
...
@@ -36,6 +36,10 @@ from email import quoprimime
from
test.support
import
unlink
from
test.test_email
import
openfile
,
TestEmailBase
# These imports are documented to work, but we are testing them using a
# different path, so we import them here just to make sure they are importable.
from
email.parser
import
FeedParser
,
BytesFeedParser
NL
=
'
\
n
'
EMPTYSTRING
=
''
SPACE
=
' '
...
...
Misc/ACKS
View file @
5efee580
...
...
@@ -173,6 +173,7 @@ Jan-Hein Bührman
Dick Bulterman
Bill Bumgarner
Jimmy Burgett
Edmond Burnett
Tommy Burnette
Roger Burnham
Alastair Burt
...
...
Misc/NEWS
View file @
5efee580
...
...
@@ -280,6 +280,8 @@ Core and Builtins
Library
-------
- Issue #17431: Fix missing import of BytesFeedParser in email.parser.
- Issue #12921: http.server'
s
send_error
takes
an
explain
argument
to
send
more
information
in
response
.
Patch
contributed
by
Karl
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment