Chris Angelico <ros...@gmail.com>:

> Compare these two assignment statements:
>
> area = (base*base + extension*extension
>     + annex*annex + (annex-extension)*annex
>     + triangle*triangle/2
>     + circle*circle*math.PI + sphere*sphere*4*math.PI)
>
> area = (base*base + extension*extension + annex*annex
>     + (annex-extension)*annex + triangle*triangle/2
>     + circle*circle*math.PI + sphere*sphere*4*math.PI)
>
> [...]
> How are you going to cope with this distinction? That's real, useful
> information, which the AST doesn't carry.

Such nuances would be lost, yes. However, the nuances are constantly
abused and misinterpreted anyway.


Marko
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to