Staging
v0.5.1
https://github.com/python/cpython
Revision 5d0fdbc690744dd48a9476d1b362b2bbcf773e88 authored by Anthony Baxter on 01 November 2001, 13:58:16 UTC, committed by Anthony Baxter on 01 November 2001, 13:58:16 UTC
  Use PySocket_Err() instead of PyErr_SetFromErrno().
  The former does the right thing on Windows, the latter does not.

The 'partial' is because the code's changed quite a lot and it's not clear
that the two that are still there of the form
                return PyErr_SetFromErrno(SSLErrorObject);
can be replaced with PySocket_Err() - it looks like they need the new
PySSL_SetError, which is a tad large to be comfortable with just checking
in without reading it further.
1 parent 22a2ce8
History
Tip revision: 5d0fdbc690744dd48a9476d1b362b2bbcf773e88 authored by Anthony Baxter on 01 November 2001, 13:58:16 UTC
backport (partially) jeremy's 1.178
Tip revision: 5d0fdbc

README

back to top