[issue13769] json.dump(ensure_ascii=False) return str instead of unicode

Ezio Melotti report at bugs.python.org
Sat Jan 14 06:40:22 CET 2012


Ezio Melotti <ezio.melotti at gmail.com> added the comment:

The docstring says:
"""
    If ``ensure_ascii`` is false, then the return value will be a
    ``unicode`` instance subject to normal Python ``str`` to ``unicode``
    coercion rules instead of being escaped to an ASCII ``str``.
"""

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13769>
_______________________________________


More information about the Python-bugs-list mailing list