Menu ▾ ▴

#11 PropertyID Enum not working between machines

1.0
closed
nobody
bug (2)
2016-02-07
2016-02-01
No

The current implementation of mupif PropertyID is not working.

The PropertyID-class is a subclass of Enum. Each Enum instance on a different machine is it's own and they do not evaluate equal. See the example script enum_test.py.

For the Enum to be evaluated equal between different machines we need to use IntEnum as base class for PropertyID and FieldID. See the script int_enum_test.py

2 Attachments

Discussion

  • Vit Smilauer

    Vit Smilauer - 2016-02-07

    Olli,
    thanks for your patch. It was submitted in version 0.20.01. Vit

     
  • Vit Smilauer

    Vit Smilauer - 2016-02-07
    • status: open --> closed
     

Log in to post a comment.