Nick Coghlan added the comment:

I created issue 18264 after I tried it and found my theoretical concern wasn't 
theoretical at all: swapping a true integer for the current incarnation of 
enum.IntEnum breaks (at least) JSON serialisation, which means we can't use it 
in its current form to replace stdlib constants.

----------

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

Reply via email to