I have been struggling to justify the need based on what I have read. I
hope this isn't a dupe, I only saw caching mentioned in passing.
Also please excuse some of the naive generalizations below for illustrative
purposes.
Is there a reason memoization doesn't work? If f is truly expensive,
On Wed, Feb 28, 2018 at 5:53 PM, Gregory P. Smith wrote:
>
> My first concern for this proposal is that it gives parenthesis a
> non-intuitive meaning. ()s used to be innocuous. A way to group things,
> make explicit the desired order of operations, and allow spanning across
>
On Tue, Feb 27, 2018 at 2:35 PM Chris Angelico wrote:
> This is a suggestion that comes up periodically here or on python-dev.
> This proposal introduces a way to bind a temporary name to the value
> of an expression, which can then be used elsewhere in the current
> statement.
On Wed, Feb 28, 2018 at 4:52 PM, Robert Vanden Eynde
wrote:
> Hello Chris and Rob,
>
> did you compare your proposal tothe subject called "[Python-ideas] Temporary
> variables in comprehensions" on this month list ?
Yes, I did; that's one of many threads on the subject, and
Hello Chris and Rob,
did you compare your proposal tothe subject called "[Python-ideas]
Temporary variables in comprehensions" on this month list ?
If you don't want to go through all the mails, I tried to summarize the
ideas in this mail : https://mail.python.org/pipermail/python-ideas/2018-
On Wed, Feb 28, 2018 at 3:38 PM, Rob Cliffe via Python-ideas
wrote:
>
> Hm, apologies. This is in complete contrast to my previous post, where I
> was pretty enthusiastic about Chris's PEP. But I can't resist sharing these
> thoughts ...
>
> There was some vague
On Wed, Feb 28, 2018 at 2:47 PM, Rob Cliffe via Python-ideas
wrote:
> I hope nobody will mind too much if I throw in my (relatively uninformed) 2c
> before some of the big guns respond.
Not at all! Everyone's contributions are welcomed. Even after the "big
guns" respond,
On 27/02/2018 22:27, Chris Angelico wrote:
This is a suggestion that comes up periodically here or on python-dev.
This proposal introduces a way to bind a temporary name to the value
of an expression, which can then be used elsewhere in the current
statement.
Hm, apologies. This is in
I hope nobody will mind too much if I throw in my (relatively
uninformed) 2c before some of the big guns respond.
First: Well done, Chris, for all the work on this. IMHO this could be a
useful Python enhancement (and reduce the newsgroup churn :-)).
On 27/02/2018 22:27, Chris Angelico
This is a suggestion that comes up periodically here or on python-dev.
This proposal introduces a way to bind a temporary name to the value
of an expression, which can then be used elsewhere in the current
statement.
The nicely-rendered version will be visible here shortly:
10 matches
Mail list logo