This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients christian.heimes, serhiy.storchaka, vstinner
Date 2013-07-24.19:20:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1374693610.23.0.39221855821.issue18549@psf.upfronthosting.co.za>
In-reply-to
Content
http://hg.python.org/cpython/file/96d817f41c4c/Modules/socketmodule.c#l4642

The code has two checks if (x == (unsigned long) -1 && PyErr_Occurred()). Coverity claims that the second time is dead code and I agree. It looks like an artifact from the time the function didn't check for integer overflow. CID 982369
History
Date User Action Args
2013-07-24 19:20:10christian.heimessetrecipients: + christian.heimes, vstinner, serhiy.storchaka
2013-07-24 19:20:10christian.heimessetmessageid: <1374693610.23.0.39221855821.issue18549@psf.upfronthosting.co.za>
2013-07-24 19:20:10christian.heimeslinkissue18549 messages
2013-07-24 19:20:10christian.heimescreate