Dave Jones

Results 127 comments of Dave Jones

I realize this is probably way too late, but just in case anyone else runs across this like I did and spends several days wondering about it: I'm reasonably convinced...

Looks good. Incidentally, on array tags, I had a shot at making a C version for that too (see arrays branch on https://github.com/waveform80/cbor2). Not complete yet - can't remember what...

> can't remember what state I left it in, but it might form the basis for something. Just had a quick skim of that branch: looks like I didn't get...

> The fact that the load function can be used to read a sequence is pretty much a bug, it should throw an exception like its JSON equivalent: Sorry, but...

> @waveform80 Your claim about JSON decoding is wrong. The `json.load()` function could stop at the end of the first element it finds, but it's designed to read a file...

>> If a JSON codec were designed in the manner you're hinting at, it would obviously return the first object complete, but what should it return upon being told to...

We may have to agree to disagree on this, but I'll try once more: >> But it can't do that because the input isn't ambiguous: "111" is perfectly valid JSON...

No problem, great to hear AF's still being worked on! (note to self: must use AF more often :)

The code in question doesn't make much sense: it tests whether group is NULL, then if it is, attempts to make several calls against the (definitely NULL) group object. The...

I'm afraid this is all rather beyond my knowledge (I've never dealt with the `--as-needed` switch or gcc's `__attribute__` mechanism), so I doubt I'll be able to shed any light...