[issue27436] Strange code in selectors.KqueueSelector

David Beazley report at bugs.python.org
Fri Jul 1 15:21:32 EDT 2016


David Beazley added the comment:

If the KQ_FILTER constants aren't bitmasks, it seems that the code could be simplified to the last version then.  At the least, it would remove a few unnecessary calculations.    Again, a very minor thing (I only stumbled onto it by accident really).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27436>
_______________________________________


More information about the Python-bugs-list mailing list