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 eddygeek
Recipients barry, docs@python, eddygeek, eli.bendersky, ethan.furman, ezio.melotti, pitrou, rhettinger, serhiy.storchaka
Date 2014-10-07.15:50:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412697044.6.0.654907662008.issue22297@psf.upfronthosting.co.za>
In-reply-to
Content
The arguments for fixing:

* int subclasses overriding str is a very common usecase for enums (so much so that it was added to stdlib in 3.4).

* json supporting a standard type of a subsequent python version, though not mandatory, would be beneficial to Py2/Py3 compatibility.

* fixing this cannot break existing code

* the fix could theoretically be done to 3.0-3.3 if Ethan's argument is deemed important.
History
Date User Action Args
2014-10-07 15:50:44eddygeeksetrecipients: + eddygeek, barry, rhettinger, pitrou, ezio.melotti, eli.bendersky, docs@python, ethan.furman, serhiy.storchaka
2014-10-07 15:50:44eddygeeksetmessageid: <1412697044.6.0.654907662008.issue22297@psf.upfronthosting.co.za>
2014-10-07 15:50:44eddygeeklinkissue22297 messages
2014-10-07 15:50:44eddygeekcreate