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
6f63190d
Commit
6f63190d
authored
Dec 10, 2008
by
Hirokazu Yamamoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #4302: Minor corrections to smtplib. (Backport r60975)
parent
478a1aa5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
Lib/smtplib.py
Lib/smtplib.py
+2
-2
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Lib/smtplib.py
View file @
6f63190d
...
@@ -315,7 +315,7 @@ class SMTP:
...
@@ -315,7 +315,7 @@ class SMTP:
def send(self, str):
def send(self, str):
"""Send `str'
to
the
server
.
"""
"""Send `str'
to
the
server
.
"""
if self.debuglevel > 0: print>>stderr, 'send:', repr(str)
if self.debuglevel > 0: print>>stderr, 'send:', repr(str)
if self.sock:
if
hasattr(self, 'sock') and
self.sock:
try:
try:
self.sock.sendall(str)
self.sock.sendall(str)
except socket.error:
except socket.error:
...
@@ -503,7 +503,7 @@ class SMTP:
...
@@ -503,7 +503,7 @@ class SMTP:
vrfy=verify
vrfy=verify
def expn(self, address):
def expn(self, address):
"""
SMTP
'
verify'
command
--
checks
for
address
validity
.
"""
"""
SMTP
'
expn'
command
--
expands
a
mailing
list
.
"""
self.putcmd("expn", quoteaddr(address))
self.putcmd("expn", quoteaddr(address))
return self.getreply()
return self.getreply()
...
...
Misc/NEWS
View file @
6f63190d
...
@@ -104,6 +104,8 @@ Core and builtins
...
@@ -104,6 +104,8 @@ Core and builtins
Library
Library
-------
-------
- Issue #1776581 and #4302. Minor corrections to smtplib.
- Issue #3774: Fixed an error when create a Tkinter menu item without command
- Issue #3774: Fixed an error when create a Tkinter menu item without command
and then remove it.
and then remove it.
...
...
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