On 27/03/2016 18:19, Ned Batchelder wrote:
On Sunday, March 27, 2016 at 12:58:23 PM UTC-4, BartC wrote:
There would be a list of expression terms that can also form independent
statements. Not knowing Python, the list would comprise function calls
(ie. the function call is top node in the AST of the expression), and
docstrings.
It's a little frustrating to discuss language design when you claim not to
know Python. Perhaps you could devote some off-list time to learning it? :)
Since the language is presumably available to anyone including
non-experts, why shouldn't someone who is only going to use a subset,
have an opinion on a troublesome part of the language?
One of Guido's principles in designing Python was to keep it simple,
For a simple language, there appear to be quite a few esoteric uses
being thought up for that feature!
--
Bartc
--
https://mail.python.org/mailman/listinfo/python-list