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

Martijn Pieters report at bugs.python.org
Thu Oct 23 17:20:20 CEST 2014


Martijn Pieters added the comment:

I'd say this is a bug in the library, not the documentation. The library varies the output type, making it impossible to use `json.dump()` with a `io.open()` object as the library will *mix data type* when writing. That is *terrible* behaviour.

----------
nosy: +mjpieters

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


More information about the docs mailing list