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 ztane
Recipients ztane
Date 2013-06-24.04:57:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1372049844.15.0.180497813978.issue18290@psf.upfronthosting.co.za>
In-reply-to
Content
My mistake in writing, json ofc does specify that "control characters" be escaped. Then, it needs to be pointed out that JSON module DOES not currently escape \u007f-\u009f as it maybe strictly should

>>> unicodedata.category('\u007f')
'Cc'
>>> json.dumps({'a': '\u007f'}, ensure_ascii=False)
'{"a": "\x7f"}'
History
Date User Action Args
2013-06-24 04:57:24ztanesetrecipients: + ztane
2013-06-24 04:57:24ztanesetmessageid: <1372049844.15.0.180497813978.issue18290@psf.upfronthosting.co.za>
2013-06-24 04:57:24ztanelinkissue18290 messages
2013-06-24 04:57:24ztanecreate