No question in any form of application for any examination or in any examination shall be so framed as to elicit information concerning the religious or political opinions of any applicant, nor shall inquiry be made concerning such opinions or affiliations, and all such disclosures thereof shall be discountenanced. No discrimination shall be exercised, threatened or promised by any person in or interested in the police force, firemen or fire inspectors against or in favor of an applicant on the eligible list for appointment to or promotion in the police force or as fireman or fire inspector because of his religious or political opinions or affiliations.
16 P.S. § 4521