Updates for PAT python configuration files: Backport from 7_1_X to 5_3_X

Backport of #3510