Message 194223 - Python tracker (original) (raw)
I don't think my idea of always extracting .value is grandiose (and didn't take that long to implement on the Python side), but it is definitely forcing me to learn more about C and how Python is put together.
It this point I have successfully imported Enum into the _json module; now I'm working on a function to quietly replace the object being encoded with its .value if it is, in fact, an Enum member.
Just been real short on time lately. :/
Thank goodness for C API section of the docs!