On Sun, Sep 11, 2022 at 5:30 AM Stephen J. Turnbull
wrote:
>
> Christopher Barker writes:
>
> > Hmm -- so it's a semi-singleton -- i.e. behaves like a singlton, but only
> > in a particular module namespace.
>
> I don't see why this is a problem. Sentinels are "out of band"
> signals, they're i
On Sun, Sep 11, 2022 at 4:55 AM Steven D'Aprano wrote:
>
> I haven't read the PEP yet, so this should not be read as either support
> of or opposition to the design, just commenting on one aspect.
Given what you've written, I recommend reading it. It's relatively
short and directly addresses what
On Sat, Sep 10, 2022 at 11:42 PM Christopher Barker wrote:
>
> On Sat, Sep 10, 2022 at 6:58 AM Tal Einat wrote:
>>
>> The current design is that sentinels with the same name from the same
>> module will always be identical. So for example `Sentinel("name") is
>> Sentinel("name")` will be true.
>
Christopher Barker writes:
> > The current design is that sentinels with the same name from the same
> > module will always be identical. So for example `Sentinel("name") is
> > Sentinel("name")` will be true.
>
> Hmm -- so it's a semi-singleton -- i.e. behaves like a singlton, but only
> i
I haven't read the PEP yet, so this should not be read as either support
of or opposition to the design, just commenting on one aspect.
On Sat, Sep 10, 2022 at 01:42:38PM -0700, Christopher Barker wrote:
> > The current design is that sentinels with the same name from the same
> > module will al
On Sat, Sep 10, 2022 at 6:58 AM Tal Einat wrote:
> > > The sentinel objects should behave as expected by a sentinel object:
> When compared using
> > > the is operator, it should always be considered identical to itself
> but never to any other object.
>
> The current design is that sentinels w
On Sat, Sep 10, 2022 at 3:35 PM Chris Angelico wrote:
>
> On Sat, 10 Sept 2022 at 22:21, Tal Einat wrote:
> >
> > Hello,
> >
> > I've been working on this PEP [1] on and off for over a year. I think it is
> > now nearly ready for submission to the steering council.
> >
>
> From the expectations
On Sat, 10 Sept 2022 at 22:21, Tal Einat wrote:
>
> Hello,
>
> I've been working on this PEP [1] on and off for over a year. I think it is
> now nearly ready for submission to the steering council.
>
>From the expectations on sentinels:
> The sentinel objects should behave as expected by a sent
Hello,
I've been working on this PEP [1] on and off for over a year. I think it is
now nearly ready for submission to the steering council.
If anyone would like to review the proposal and provide feedback, that
would be most welcome!
The current reference implementation, and latest version of th