[New-bugs-announce] [issue11982] json.loads() returns str instead of unicode for empty strings

Manuel Cerón report at bugs.python.org
Tue May 3 03:35:30 CEST 2011


New submission from Manuel Cerón <ceronman at gmail.com>:

Python 2.7.1:

>>> import json
>>> json.loads('"hello"')
u'hello'
>>> .json.loads('""')
''

Related: issue 10038

----------
components: Library (Lib)
messages: 135014
nosy: ceronman
priority: normal
severity: normal
status: open
title: json.loads() returns str instead of unicode for empty strings
type: behavior
versions: Python 2.7

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


More information about the New-bugs-announce mailing list