Message226145
| 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? |
|