[Bug 1812061] [NEW] Unicode prefixes break tests in python-json-schema-validator with python-simplejson 3.16.0
Launchpad Bug Tracker
1812061 at bugs.launchpad.net
Wed Jan 16 16:32:52 UTC 2019
You have been subscribed to a public bug by Dave Jones (waveform):
The json-schema-validator tests break under Python 2, when used with
simplejson 3.16.0. They will also break if/when attempted under Python
3.
The underlying simplejson library subtly changes behaviour from 3.15.0
to 3.16.0. Under Python 2, with simplejson 3.15.0, passing a byte-string
to simplejson.loads containing a blank JSON-encoded string, e.g.
simplejson.loads('""') returns a unicode string (u''). However, under
3.16.0 this changes to return a byte-string (''). Passing a unicode-
string to simplejson.loads containing a blank JSON-encoded string, e.g.
simplejson.loads(u'""') return a unicode string under both versions.
Patched version at: https://launchpad.net/~waveform/+archive/ubuntu/pkg
- 2.3.1-3ubuntu2
** Affects: json-schema-validator (Ubuntu)
Importance: Undecided
Status: New
--
Unicode prefixes break tests in python-json-schema-validator with python-simplejson 3.16.0
https://bugs.launchpad.net/bugs/1812061
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list