Closed PetePriority closed 8 months ago
You are welcome to add an entry to the CHANGELOG.md as well
How does this change work on non 3.9 versions of Python?
It still works on python 3.11.8.
But this is expected: the nested binaries expect an integer as their argument. So int(type_target)
makes sure the enum is converted to an int before the implicit conversion to a string in the format string f"...{int(type_target)}..."
Good!!!
I noticed that when running the CLI with python 3.9, the
type_target
enum would be converted to a string representation of the enum, instead to its numerical value, i.e.,MfcKeyType.A
instead of96
. This caused the execution of the nested binary to fail.