This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ethan.furman
Recipients barry, eddygeek, eli.bendersky, ethan.furman, ezio.melotti, pitrou, rhettinger, serhiy.storchaka
Date 2014-08-30.19:34:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1409427295.05.0.489651593916.issue22297@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2014-08-30 19:34:55ethan.furmansetrecipients: + ethan.furman, barry, rhettinger, pitrou, ezio.melotti, eli.bendersky, serhiy.storchaka, eddygeek
2014-08-30 19:34:55ethan.furmansetmessageid: <1409427295.05.0.489651593916.issue22297@psf.upfronthosting.co.za>
2014-08-30 19:34:55ethan.furmanlinkissue22297 messages
2014-08-30 19:34:54ethan.furmancreate