Ethan Furman added the comment:

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!

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18264>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to