Porous polymeric membranes with thermal and solvent resistance