Fix PyEventPort for changes in upstream interface