Raymond Hettinger added the comment:

Sorry, I think this is unnecessary feature creep.  The goal of the JSON module 
is to generate valid JSON for some semantically equivalent Python.  Wanting to 
turn *True* into the string "True" isn't in the spirit of the module and 
certainly not worth all the proposed code churn.  If this is really what you 
need (a somewhat exotic need at that), then I would recommend writing a 
recursive tree walker that replaces *True* nodes with "True" prior to outside 
of the JSON module.

----------
assignee:  -> bob.ippolito
nosy: +bob.ippolito, rhettinger
versions: +Python 3.7 -Python 2.7

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

Reply via email to