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
d79f3c8b
Commit
d79f3c8b
authored
Nov 09, 2010
by
Antoine Pitrou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #4471: Properly shutdown socket in IMAP.shutdown(). Patch by
Lorenzo M. Catucci.
parent
b1436f18
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
0 deletions
+6
-0
Lib/imaplib.py
Lib/imaplib.py
+1
-0
Lib/test/test_imaplib.py
Lib/test/test_imaplib.py
+1
-0
Misc/ACKS
Misc/ACKS
+1
-0
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/imaplib.py
View file @
d79f3c8b
...
...
@@ -260,6 +260,7 @@ class IMAP4:
def
shutdown
(
self
):
"""Close I/O established in "open"."""
self
.
file
.
close
()
self
.
sock
.
shutdown
(
socket
.
SHUT_RDWR
)
self
.
sock
.
close
()
...
...
Lib/test/test_imaplib.py
View file @
d79f3c8b
...
...
@@ -217,6 +217,7 @@ class RemoteIMAPTest(unittest.TestCase):
def
test_logout
(
self
):
rs
=
self
.
server
.
logout
()
self
.
server
=
None
self
.
assertEqual
(
rs
[
0
],
'BYE'
)
...
...
Misc/ACKS
View file @
d79f3c8b
...
...
@@ -130,6 +130,7 @@ Tony Campbell
Brett Cannon
Mike Carlton
Terry Carroll
Lorenzo M. Catucci
Donn Cave
Charles Cazabon
Per Cederqvist
...
...
Misc/NEWS
View file @
d79f3c8b
...
...
@@ -60,6 +60,9 @@ Core and Builtins
Library
-------
- Issue #4471: Properly shutdown socket in IMAP.shutdown(). Patch by
Lorenzo M. Catucci.
- Fix IMAP.login() to work properly.
- Issue #9244: multiprocessing pool worker processes could terminate
...
...
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