Éric Araujo <[email protected]> added the comment:
A side question: where is it defined that in `{thing[0]}`, 0 will be parsed as
an integer?
The PEP shows `{thing[name]}` and mentions that this is not Python but a
smaller mini-language, with `name` always a string, no quotes needed or
permitted.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue7951>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com