STINNER Victor added the comment:

It's common in Modules/posixmodule.c to set errno to 0 before calling a C 
function, especially when "errno != 0" is checked after the call (because it's 
the only way to check if the function failed?).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25092>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to