Incorrect serialization of binary strings by jsonutils in Python 3
Bug #1599387 reported by
Gevorg Davoian
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.serialization |
Fix Released
|
Undecided
|
Gevorg Davoian |
Bug Description
In [1]: from oslo_serialization import jsonutils as j
In [2]: s = b'abc'
In [3]: j.dumps(s)
Out[3]: '[97, 98, 99]'
In [4]: j.loads(j.dumps(s))
Out[4]: [97, 98, 99]
P.S.: msgpack handles this case without any problems
Changed in oslo.serialization: | |
assignee: | nobody → Gevorg Davoian (gdavoian) |
Changed in oslo.serialization: | |
status: | New → Fix Released |
To post a comment you must log in.
This issue was fixed in the openstack/ oslo.serializat ion 2.13.0 release.