Public bug reported:
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
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1812061
Title:
Unicode prefixes break tests in python-json-schema-validator with
python-simplejson 3.16.0
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/json-schema-validator/+bug/1812061/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs