[Python-ideas] Re: Generalized deferred computation in Python

2022-06-21 Thread Carl Meyer via Python-ideas
On Tue, Jun 21, 2022 at 4:55 PM David Mertz, Ph.D. wrote: > I haven't gotten to writing that into the PEP yet, but I think the rule > has to be to take the scope of evaluation not the scope of definition. I > know it needs to be there, and I'm just thinking about helpful examples. > > Which is t

[Python-ideas] Re: Generalized deferred computation in Python

2022-06-21 Thread Carl Meyer via Python-ideas
On Tue, Jun 21, 2022 at 4:28 PM Chris Angelico wrote: > On Wed, 22 Jun 2022 at 08:21, Carl Meyer via Python-ideas > wrote: > > > > > > > > On Tue, Jun 21, 2022 at 4:10 PM David Mertz, Ph.D. < > david.me...@gmail.com> wrote: > >> > >>

[Python-ideas] Re: Generalized deferred computation in Python

2022-06-21 Thread Carl Meyer via Python-ideas
On Tue, Jun 21, 2022 at 4:10 PM David Mertz, Ph.D. wrote: > On Tue, Jun 21, 2022 at 5:53 PM Brendan Barnwell > wrote: > >> > In the example, we assume that the built-in function `type()` is special >> > in not counting as a reference to the binding for purpose of realizing a >> > computation. Al