bpython working with input object as reactor

now input can return callbacks that schedule events