diff options
author | Georg Brandl <georg@python.org> | 2008-06-12 22:23:59 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-06-12 22:23:59 (GMT) |
commit | 9f0f960d4ce48062dcb286903721fa89d6037159 (patch) | |
tree | 4640c5dd2f0ffc54affa131fe6b48cb70d480b71 /Lib | |
parent | a0c0a4a2616e83084052a34c9806b3308f5799db (diff) | |
download | cpython-9f0f960d4ce48062dcb286903721fa89d6037159.zip cpython-9f0f960d4ce48062dcb286903721fa89d6037159.tar.gz cpython-9f0f960d4ce48062dcb286903721fa89d6037159.tar.bz2 |
Remove traces of rfc822.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/http/server.py | 2 | ||||
-rwxr-xr-x | Lib/smtplib.py | 2 | ||||
-rw-r--r-- | Lib/test/test_pyclbr.py | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/Lib/http/server.py b/Lib/http/server.py index 2b6f135..35ade6c 100644 --- a/Lib/http/server.py +++ b/Lib/http/server.py @@ -315,7 +315,7 @@ class BaseHTTPRequestHandler(socketserver.StreamRequestHandler): # Examine the headers and look for a Connection directive. - # MessageClass (rfc822) wants to see strings rather than bytes. + # MessageClass wants to see strings rather than bytes. # But a TextIOWrapper around self.rfile would buffer too many bytes # from the stream, bytes which we later need to read as bytes. # So we read the correct bytes here, as bytes, then use StringIO diff --git a/Lib/smtplib.py b/Lib/smtplib.py index e67f0d6..d59e6b1 100755 --- a/Lib/smtplib.py +++ b/Lib/smtplib.py @@ -131,7 +131,7 @@ class SMTPAuthenticationError(SMTPResponseException): def quoteaddr(addr): """Quote a subset of the email addresses defined by RFC 821. - Should be able to handle anything rfc822.parseaddr can handle. + Should be able to handle anything email.utils.parseaddr can handle. """ m = (None, None) try: diff --git a/Lib/test/test_pyclbr.py b/Lib/test/test_pyclbr.py index 70eea04..8287877 100644 --- a/Lib/test/test_pyclbr.py +++ b/Lib/test/test_pyclbr.py @@ -140,6 +140,7 @@ class PyclbrTest(TestCase): def test_easy(self): self.checkModule('pyclbr') + self.checkModule('ast') self.checkModule('doctest', ignore=("TestResults", "_SpoofOut")) self.checkModule('difflib', ignore=("Match",)) |