Actually, in python3 this behaviour is undefined, so just:

```
if not hasattr(sub_trans, 'force_path_ccw'):
   sub_trans.force_path_ccw = True
```