Edit: selectorlib.py