[Python-ideas] PEP 426, YAML in the stdlib and implementation discovery

Yuval Greenfield ubershmekel at gmail.com
Sat Jun 1 16:19:50 CEST 2013


On Fri, May 31, 2013 at 9:43 PM, Guido van Rossum <guido at python.org> wrote:

> On Fri, May 31, 2013 at 11:35 AM, Brett Cannon <brett at python.org> wrote:
>  >> Is there a reason JSON is used other than YAML not being in the stdlib?
> >
> > It's simpler, it's Python syntax, it's faster to parse.
>
> I would warn strongly against the "JSON is Python syntax" meme.
>
>
Another warning - this javascript tidbit broke my heart more times than I
care to admit:

>var k = 'foo'
>var obj = {k: 'wonderful'}
>obj[k]
undefined
>obj['k']
"wonderful"


Yuval
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130601/7404662b/attachment.html>


More information about the Python-ideas mailing list