Python: update to new API update is in a comment, so compilation never failed in CI.
debug based on location