[Python-Dev] PEP 492 vs. PEP 3152, new round

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Apr 30 00:46:55 CEST 2015


Yury Selivanov wrote:
> I'm not sure
> why Greg is pushing his Grammar idea so aggressively.

Because I believe that any extra complexity in the grammar
needs a very strong justification. It's complexity in the
core language, like a new keyword, so it puts a burden on
everyone's brain.

Saying "I don't think anyone would ever need to write this,
therefore we should disallow it" is not enough, given that
there is a substantial cost to disallowing it.

If you don't think there's a cost, consider that we *both*
seem to be having trouble predicting the consequences of
your proposed syntax, and you're the one who invented it.
That's not a good sign!

-- 
Greg


More information about the Python-Dev mailing list