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 Tom.Christie
Recipients Tom.Christie, georg.brandl, r.david.murray
Date 2014-10-30.19:12:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1414696349.16.0.211901602153.issue22767@psf.upfronthosting.co.za>
In-reply-to
Content
Not too fussed if this is addressed or not, but I think this is closed a little prematurely.

I don't think there's a problem under Python 3, that's entirely reasonable.

However under Python 2, `json.dumps()` will normally handle *either* bytes or unicode transparently for you (just altering the return type accordingly).

If you happen to be using unicode separators, then the normally lax behaviour of "either unicode or bytes" that stops being the case.
History
Date User Action Args
2014-10-30 19:12:29Tom.Christiesetrecipients: + Tom.Christie, georg.brandl, r.david.murray
2014-10-30 19:12:29Tom.Christiesetmessageid: <1414696349.16.0.211901602153.issue22767@psf.upfronthosting.co.za>
2014-10-30 19:12:29Tom.Christielinkissue22767 messages
2014-10-30 19:12:29Tom.Christiecreate