[Python-ideas] "While" suggestion
steven.bethard at gmail.com
Wed Jul 30 18:26:49 CEST 2008
On Wed, Jul 30, 2008 at 9:00 AM, Terry Reedy <tjreedy at udel.edu> wrote:
> The results of the expressions are their semantics. When you write 547 +
> 222, the semantics is the result 769, not the internal implementation of how
> a particular interpreter arrives at that.
I see we have a very different definition of semantics. For me, the
semantics of ``547 + 222`` are different from ``1538 / 2 are different
from 769 because the operations the interpreter goes through are
different. Given that by "semantics" you mean, "result of the
expression", I can happily conceded that the result of the expression
of list(<genexp>) is the same as [<listcomp>].
I'm not *in*-sane. Indeed, I am so far *out* of sane that you appear a
tiny blip on the distant coast of sanity.
--- Bucky Katt, Get Fuzzy
More information about the Python-ideas