Ethan Furman added the comment: This is not a regression. json only deals with standard types (int, str, etc.), and Enum is not a standard type.
Enum was introduced in 3.4, so corresponding changes were made to json to support int and float subclasses, of which IntEnum is one. In other words, this was a bug that no one noticed for many many releases, and I'm not sure we should fix it in 2.7 now. Arguments for fixing? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22297> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com