Serhiy Storchaka added the comment:

I agree that adding a new module is very bad idea.

I think that the reviving the encoding parameter is a lest wrong way. 
json.dumps() should return bytes when the encoding argument is specifiead and 
str otherwise. json.dump() should write binary data when the encoding argument 
is specifiead and a text otherwise. This is not perfect design, but it has 
precendences in XML modules.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19837>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to