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 r.david.murray
Recipients njs, pitrou, r.david.murray, serhiy.storchaka, thomas-arildsen
Date 2015-05-29.11:59:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1432900743.39.0.96517155201.issue24313@psf.upfronthosting.co.za>
In-reply-to
Content
So in python2, some were json serializable and some weren't?  Yes, I'd call that a quirk :)

So back to the question of whether it makes sense for json to look for __index__ to decide if something can be serialized as an int.  If not, I don't think there is anything we can do.
History
Date User Action Args
2015-05-29 11:59:03r.david.murraysetrecipients: + r.david.murray, pitrou, njs, serhiy.storchaka, thomas-arildsen
2015-05-29 11:59:03r.david.murraysetmessageid: <1432900743.39.0.96517155201.issue24313@psf.upfronthosting.co.za>
2015-05-29 11:59:03r.david.murraylinkissue24313 messages
2015-05-29 11:59:03r.david.murraycreate