Suggestion for a "data" object syntax

Chris Angelico rosuav at gmail.com
Tue May 8 10:25:34 EDT 2018


On Tue, May 8, 2018 at 10:52 PM, Mikhail V <mikhailwas at gmail.com> wrote:
> Right? Your issues with tabs aside, I think it is impossible to ignore the
> the readability improvement. Not even speaking of how
> many commas and bracket you need to type in the first case.

That's incredibly subjective. Or else straight-up wrong, I'm not sure which.

Why should this be a language feature? Why not just create a data file
and then load it, or use a triple quoted string and write your own
parser? What's the advantage of making this language syntax?

ChrisA



More information about the Python-list mailing list