The source project of this merge request has been removed.
Correct bug converting enums to str.
In python 3.11 str(IntEnum) return the string of enum numeric value, not return a string with enum name (See Changes in version 3.11 on IntEnum). I propose a change to avoid this situation on Python 3.11 and compatible with old python 3 distributions.
The problem is triggered because we use the enumeration name as a key of a dict on taurus.core.util.colors to update Taurus Qt objects colors. Including this overload, we can avoid these situations.
This marge request will solve #1289 (closed)
Kind regards Emilio Morales