Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Check invalid boolean literal #2

Closed
sunng87 opened this Issue Feb 16, 2012 · 1 comment

Comments

Projects
None yet
1 participant
Owner

sunng87 commented Feb 16, 2012

pyclj just ignores invalid boolean literal.

it's better to raise a ValueError in this condition

clj.loads("[tits fool not :this@is@wrong lolwut]")
[True, False, None, True, None, None, None, None, None, None, None, None, None, None, None, None, None, None, True]
Owner

sunng87 commented Feb 17, 2012

Throwing ValueError when reading invalid tokens.

@sunng87 sunng87 closed this Feb 17, 2012

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