v3.50.3: fix pca_scanner SyntaxError (CI py3.11)