commit | df8a8f768d929b56e43c42299064e7bcaebee4c7 | [log] [tgz] |
---|---|---|
author | Ezio Melotti <ezio.melotti@gmail.com> | Wed May 04 14:40:53 2011 +0300 |
committer | Ezio Melotti <ezio.melotti@gmail.com> | Wed May 04 14:40:53 2011 +0300 |
tree | b3295fda05fda171dcdeec204249a88922b79809 | |
parent | 1602ec109b8f4a9b2e015359e3674d6e5bb8f07c [diff] [blame] |
#11982: fix json.loads('""') to return u'' rather than ''.
diff --git a/Modules/_json.c b/Modules/_json.c index 71d3e58..8d63edb 100644 --- a/Modules/_json.c +++ b/Modules/_json.c
@@ -595,7 +595,7 @@ Py_DECREF(chunk); } - rval = join_list_string(chunks); + rval = join_list_unicode(chunks); if (rval == NULL) { goto bail; }