[Python-checkins] [python/cpython] 800e4b: bpo-30329: Catch Windows error 10022 on shutdown()...
GitHub
noreply at github.com
Tue May 16 20:38:31 EDT 2017
Branch: refs/heads/2.7
Home: https://github.com/python/cpython
Commit: 800e4b7ad6b6f86c17408429852dfb47493d366e
https://github.com/python/cpython/commit/800e4b7ad6b6f86c17408429852dfb47493d366e
Author: Victor Stinner <victor.stinner at gmail.com>
Date: 2017-05-16 (Tue, 16 May 2017)
Changed paths:
M Lib/imaplib.py
M Misc/NEWS
Log Message:
-----------
bpo-30329: Catch Windows error 10022 on shutdown() (#1538) (#1624)
Catch the Windows socket WSAEINVAL error (code 10022) in imaplib
on shutdown(SHUT_RDWR): An invalid operation was attempted
This error occurs sometimes on SSL connections.
(cherry picked from commit 83a2c2879839da2e10037f5e4af1bd1dafbf1a52)
More information about the Python-checkins
mailing list