an empty Union is a None object: https://github.com/pyccel/sympde/blob/6fd903feea7fb0b308e7639d96a15b77a4edcc80/sympde/topology/basic.py#L139 which raises an error when trying to iterate over it. This is not convenient and should be fixed.