This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients andrewnester, benhoyt, berker.peksag, bob.ippolito, brett.cannon, eric.smith, ezio.melotti, methane, r.david.murray, rhettinger, serhiy.storchaka
Date 2017-05-12.19:45:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1494618331.25.0.535028134899.issue29863@psf.upfronthosting.co.za>
In-reply-to
Content
Note also that using separators=COMPACT doesn't guarantee the most compact output. As Inada mentioned ensure_ascii=False may make JSON more compact. And you shouldn't use non-default indent!

I don't understand effort spent for this issue. Even if add json.COMPACT you could use it only with 3.7+. And adding a named constant in your program is just one line!
History
Date User Action Args
2017-05-12 19:45:31serhiy.storchakasetrecipients: + serhiy.storchaka, brett.cannon, rhettinger, bob.ippolito, eric.smith, ezio.melotti, r.david.murray, methane, benhoyt, berker.peksag, andrewnester
2017-05-12 19:45:31serhiy.storchakasetmessageid: <1494618331.25.0.535028134899.issue29863@psf.upfronthosting.co.za>
2017-05-12 19:45:31serhiy.storchakalinkissue29863 messages
2017-05-12 19:45:31serhiy.storchakacreate