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 scoder
Recipients alexey-smirnov, cvrebert, ezio.melotti, matrixise, pitrou, scoder, socketpair, thomaslee
Date 2018-08-17.12:02:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1534507377.58.0.56676864532.issue14886@psf.upfronthosting.co.za>
In-reply-to
Content
FWIW, the C implementation of the sequence encoder uses PySequence_Fast(), so adding a lower priority instance check that calls the same encoding function would solve this.

https://github.com/python/cpython/blob/cfa797c0681b7fef47cf93955fd06b54ddd09a7f/Modules/_json.c#L1730

Probably not something to fix in Py3.5/6 anymore, though.
History
Date User Action Args
2018-08-17 12:02:57scodersetrecipients: + scoder, pitrou, thomaslee, ezio.melotti, cvrebert, socketpair, alexey-smirnov, matrixise
2018-08-17 12:02:57scodersetmessageid: <1534507377.58.0.56676864532.issue14886@psf.upfronthosting.co.za>
2018-08-17 12:02:57scoderlinkissue14886 messages
2018-08-17 12:02:57scodercreate