This is about a feature suggestion regarding having the ability to have
parallel generators. Currently you can have generators and iterators that can
yield a single value. or a collection of values (still a single value). But
what if you could yield to multiple objects. In a sense build multi
Yes, Chris, that is a REPL feature and one that people may use
interactively.
As you note, it does not work inside something like a function which the
REPL is not trying to evaluate and print. So clearly my supposed use would
not make much sense in such code.
-Original Message-
From: Pyt
On Wed, 16 Nov 2022 at 10:11, wrote:
>
> That is clear, Cameron, but on my python interpreter values evaluated on the
> command line ARE saved:
>
> >>> numb = 5
> >>> 5 + numb
> 10
> >>> numb
> 5
> >>> _ + _ + 1
> 11
That's a REPL feature.
ChrisA
--
https://mail.python.org/mailman/listinfo/pyth
That is clear, Cameron, but on my python interpreter values evaluated on the
command line ARE saved:
>>> numb = 5
>>> 5 + numb
10
>>> numb
5
>>> _ + _ + 1
11
>>> _ * 2
22
>>>
The point is that a dummy variable of _ is assigned and re-assigned at each
step and there can be a valid, if not very us
> On 14 Nov 2022, at 23:44, Jen Kris wrote:
>
>
> Thanks for your reply. Victor's article didn't mention ctypes extensions, so
> I wanted to post a question before I build from source.
Gdb works on any program its not special to python.
Victor is only talking about a specific use of gdb
On 15Nov2022 00:45, avi.e.gr...@gmail.com wrote:
What would be the meaning of an ordering relation determining what is
MORE VALID?
Are you asking what criterion would rate:
clearx = x.clear
as "more" valid than:
x.clear
on its own?
I don't want to speak for the OP, but I'd think t