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 socketpair
Recipients docs@python, socketpair
Date 2012-01-11.16:41:19
SpamBayes Score 0.044367358
Marked as misclassified No
Message-id <1326300079.82.0.279410736545.issue13769@psf.upfronthosting.co.za>
In-reply-to
Content
$ ipython
In [1]: type(json.dumps({'a':'b'}, ensure_ascii=False))
Out[1]: <type 'str'>

In [2]: type(json.dumps({'a':u'b'}, ensure_ascii=False))
Out[2]: <type 'unicode'>
-----------------------
Documentation:
If ensure_ascii is False, then the return value will be a unicode instance.
--------------------------------

Not applicable to python3
History
Date User Action Args
2012-01-11 16:41:19socketpairsetrecipients: + socketpair, docs@python
2012-01-11 16:41:19socketpairsetmessageid: <1326300079.82.0.279410736545.issue13769@psf.upfronthosting.co.za>
2012-01-11 16:41:19socketpairlinkissue13769 messages
2012-01-11 16:41:19socketpaircreate