added python poller reference implementation