[Python-Dev] Should we fix these errors?

Victor Stinner victor.stinner at gmail.com
Fri Jul 22 13:06:16 EDT 2016


2016-07-22 18:21 GMT+02:00 Random832 <random832 at fastmail.com>:
>> I just fixed it:
>> https://hg.python.org/cpython/rev/6c11f52ab9db
>
> Does INVALID_SOCKET exist on non-windows systems?

Yes, it was already used in almost all places.

When I read again the code, in fact I found other places with "fd < 0"
or "fd = -1". I fixed more code in a second change:
https://hg.python.org/cpython/rev/025281485318

Victor


More information about the Python-Dev mailing list