Fix python issues for version 24.3