Message226145
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? |
|
Date |
User |
Action |
Args |
2014-08-30 19:34:55 | ethan.furman | set | recipients:
+ ethan.furman, barry, rhettinger, pitrou, ezio.melotti, eli.bendersky, serhiy.storchaka, eddygeek |
2014-08-30 19:34:55 | ethan.furman | set | messageid: <1409427295.05.0.489651593916.issue22297@psf.upfronthosting.co.za> |
2014-08-30 19:34:55 | ethan.furman | link | issue22297 messages |
2014-08-30 19:34:54 | ethan.furman | create | |
|