[issue19837] Wire protocol encoding for the JSON module

Antoine Pitrou report at bugs.python.org
Sat Dec 7 01:11:27 CET 2013


Antoine Pitrou added the comment:

To give another data point: returning a different type based on argument value is also what the open() functions does, more or less.

(that said, I would slightly favour a separate dump_bytes(), myself)

----------

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


More information about the Python-bugs-list mailing list