[core][fr][py] remove useless code