Output of jsonlib.write truncated/missing data
Bug #519270 reported by
Ben Jeffery
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
jsonlib |
Fix Released
|
Critical
|
John Millikin |
Bug Description
In jsonlib1.6 (on x64) when the data to be serialized goes above a certain length the output is truncated or missing chunks:
For example:
import jsonlib
data = ["a"*2045]
print jsonlib.write(data)
gives a string with no terminating quote.
data = [{"a":3}]*270
print len(jsonlib.
Gives output of 142 not 270
Changed in jsonlib: | |
assignee: | nobody → John Millikin (jmillikin) |
importance: | Undecided → Critical |
status: | New → Confirmed |
To post a comment you must log in.
Thanks for the bug report; I've released version 1.6.1, which fixes this error. It can be downloaded from Launchpad, or on PyPI:
Python 2: http:// pypi.python. org/pypi/ jsonlib/ pypi.python. org/pypi/ jsonlib- python3/
Python 3: http://