Serhiy Storchaka added the comment:

> The message should be "C unsigned short".

Thanks.

> The unit tests don't check that USHRT_MAX value is accepted.

And shouldn't. Not all values make sense. Meaning of USHRT_MAX is platform 
depended.

> With  poll_events_mask_overflow.patch, the following hack can maybe be 
> removed?

No. Otherwise the result can be negative.

----------

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

Reply via email to