crash when passing an integer for indent=

Bug #320260 reported by alecf
2
Affects Status Importance Assigned to Milestone
jsonlib
Fix Released
Critical
John Millikin

Bug Description

Very easy to reproduce:

>>> import jsonlib
>>> print jsonlib.dumps([1,2,3], indent=" ")
[
   1,
   2,
   3
]
>>> print jsonlib.dumps([1,2,3], indent=4)
Bus error

Revision history for this message
John Millikin (jmillikin) wrote :

Should be fixed. I couldn't reproduce the crash, but a very odd exception was raised instead. Released version 1.3.9, which should solve this.

Changed in jsonlib:
assignee: nobody → jmillikin
importance: Undecided → Critical
status: New → In Progress
Revision history for this message
John Millikin (jmillikin) wrote :

Forgot to mark this as "fixed released"

Changed in jsonlib:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.