Alternative solution for PycCFloat and PycCComplex using union