Don't silently skip over tuples #8

Closed
indigoviolet opened this Issue Mar 22, 2010 · 3 comments

Projects

None yet

2 participants

@indigoviolet

Either convert them to lists of size 2, or throw an error.

In [4]: yajl.dumps([(2, 3)])
Out[4]: '[]'

@rtyler
Owner
rtyler commented Mar 22, 2010

Good catch, the json module in Python 2.6 converts to lists, so I think I'll add that

>>> json.dumps([(2,3,)])
'[[2, 3]]'
@rtyler
Owner
rtyler commented Mar 22, 2010

Resolved in SHA: e5bfbe1

@indigoviolet

Fantastic!

This is an incredibly useful library, and I'm always impressed by how quickly you respond to reports. Thank you.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment