]> granicus.if.org Git - python/commit
Use PySocket_Err() instead of PyErr_SetFromErrno().
authorJeremy Hylton <jeremy@alum.mit.edu>
Thu, 11 Oct 2001 17:27:58 +0000 (17:27 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Thu, 11 Oct 2001 17:27:58 +0000 (17:27 +0000)
commite2adc6c205db6087b3a8f00a245cfb06905b8ae5
tree7b137b5d581bd895ba7e2f2a025aa1ea5c61b955
parentba69936037788ddf0cf43047ecb5c3a00af20628
Use PySocket_Err() instead of PyErr_SetFromErrno().

The former does the right thing on Windows, the latter does not.
Modules/socketmodule.c