[Python-checkins] cpython: fix #10340: properly handle EINVAL on OSX and also avoid to call

giampaolo.rodola python-checkins at python.org
Thu Mar 22 16:24:40 CET 2012


http://hg.python.org/cpython/rev/13cefcbcc7da
changeset:   75884:13cefcbcc7da
parent:      75882:6ffdca50a5ef
user:        Giampaolo Rodola' <g.rodola at gmail.com>
date:        Thu Mar 22 16:24:33 2012 +0100
summary:
  fix #10340: properly handle EINVAL on OSX and also avoid to call handle_connect() in case of a disconnetected socket which is not meant to connect.

files:
  Misc/NEWS |  4 ++++
  1 files changed, 4 insertions(+), 0 deletions(-)


diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -34,6 +34,10 @@
 Library
 -------
 
+- Issue #10340: asyncore - properly handle EINVAL in dispatcher constructor on
+  OSX; avoid to call handle_connect in case of a disconnected socket which
+  was not meant to connect.
+
 - Issue #14204: The ssl module now has support for the Next Protocol
   Negotiation extension, if available in the underlying OpenSSL library.
   Patch by Colin Marc.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list