API Help

Erik python at lucidity.plus.com
Wed Jun 14 17:33:39 EDT 2017


On 14/06/17 22:18, Grant Edwards wrote:
>> What makes it look like JSON to you?
> 
> The fact that it _is_ valid JSON (at least according to the parsers
> I've tried on it, both locally and using things like jsonlint.com).

And I tried it on the Python REPL. It's Python too.

If someone wrote the following on this list:

   foo = bar(1, x, 3 * (x - 1), frob("hello world"))

.. and I said "That looks like C to me", I suspect you and a lot of 
other people would ask me what makes me think that is C and not 
something else. Like Python, for example.

>> (I'm not arguing, I'm asking what I've missed).

My point was (I thought clearly) "What makes this exclusively JSON and 
not something else"? I even suggested that I was possibly missing 
something so as to come across as questioning and not argumentative. I 
guess that didn't work either.

E.




More information about the Python-list mailing list