Марк Коренберг added the comment:

In a common case,

if (write(thread.fd, thread.header, thread.header_len) == -1)

should be replaced with

if (write(thread.fd, thread.header, thread.header_len) != thread.header_len)

----------
nosy: +mmarkk

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

Reply via email to