Hacker News new | ask | show | jobs
by terhechte 1285 days ago
Same here. If I needed that I might use a tuple.
1 comments

And then it crashes when you convert it to JSON.
I just use an extension wrapper around boost::property_tree for my json (and xml) needs. Way faster than the built in json support and does automagic type conversion so I don’t have to worry about it.

Now, I’m not running at Web Scale™ but pure python was slow enough to be annoying.