On Sat, 16 Apr 2022 at 14:25, Steven D'Aprano wrote:
>
> On Sat, Apr 16, 2022 at 11:07:00AM +1000, Chris Angelico wrote:
>
> > On Sat, 16 Apr 2022 at 11:00, Steven D'Aprano wrote:
> > > > and therefore
> > > > would become the only thing that offers "full MI", displacing other
> > > > languages.
On Sat, 16 Apr 2022 at 14:33, Steven D'Aprano wrote:
>
> On Sat, Apr 16, 2022 at 11:07:00AM +1000, Chris Angelico wrote:
>
> > > > My view: If a class inherits two parents, in any meaning of the word
> > > > "inherits" that follows the normal expectation that a subclass IS an
> > > > instance of i
On 16/04/22 12:56 pm, Steven D'Aprano wrote:
If you exclude models of MI which are logically incoherent and
inconsistent, (such as Python's prior to version 2.3), then Python's
model of MI is objectively as complete as you can get.
You seem to be assuming that "full MI" has to include a fully
a
On 15/04/22 10:37 pm, Steven D'Aprano wrote:
If you look at languages that implement MI, and pick the implementations
which allow it with the fewest restrictions, then that is "full MI".
I believe that Python (and other languages) allow MI with
the smallest set of restrictions, namely that the
On Sat, Apr 16, 2022 at 11:07:00AM +1000, Chris Angelico wrote:
> > > My view: If a class inherits two parents, in any meaning of the word
> > > "inherits" that follows the normal expectation that a subclass IS an
> > > instance of its parent class(es), then it's MI.
> >
> > Inheritance and "is-a"
On Sat, Apr 16, 2022 at 11:07:00AM +1000, Chris Angelico wrote:
> On Sat, 16 Apr 2022 at 11:00, Steven D'Aprano wrote:
> > > and therefore
> > > would become the only thing that offers "full MI", displacing other
> > > languages. It's a meaningless concept, unless there is some form of
> > > abso
On Fri, Apr 15, 2022 at 05:41:55PM -, malmiteria wrote:
> Sticking to the way its done "just" because it's the way it's done
> helps stabilising the language, but it makes it possible to miss
> improvements.
>
> Overall, if there's only valid reasons to implement a change, this
> change d
On Sat, 16 Apr 2022 at 11:00, Steven D'Aprano wrote:
> > and therefore
> > would become the only thing that offers "full MI", displacing other
> > languages. It's a meaningless concept, unless there is some form of
> > absolute completeness that can be attained
>
> Well duh Chris, sometimes I wond
On Sat, 16 Apr 2022 at 11:07, Chris Angelico wrote:
>
> On Sat, 16 Apr 2022 at 11:00, Steven D'Aprano wrote:
> > > and therefore
> > > would become the only thing that offers "full MI", displacing other
> > > languages. It's a meaningless concept, unless there is some form of
> > > absolute compl
On Fri, Apr 15, 2022 at 11:12:26PM +1000, Chris Angelico wrote:
> > If you look at languages that implement MI, and pick the implementations
> > which allow it with the fewest restrictions, then that is "full MI".
>
> I'm with Greg on this one, for the simple reason that a future
> language could
On Fri, Apr 15, 2022 at 2:44 PM malmiteria wrote:
> I got an idea that *should* allow for some (keyword : some) of the
changes
> i want without any breaks, i kinda wanna take the time to think about it,
and
> once i'm a bit more sure of it, i'll talk about it in details.
Since you are thinking of
Chris Angelico writes:
> I'm with Greg on this one, for the simple reason that a future
> language could have fewer restrictions than Python does, and therefore
> would become the only thing that offers "full MI", displacing other
> languages. It's a meaningless concept, unless there is some form o
Greg Ewing writes:
> > malmiteria xD not malmalitia
> Sorry! Should have gone to Specsavers...
No worries :)
___
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mai
On Fri, 15 Apr 2022 at 20:40, Steven D'Aprano wrote:
>
> On Thu, Apr 14, 2022 at 10:46:46AM +1200, Greg Ewing wrote:
> > On 13/04/22 8:29 am, Steven D'Aprano wrote:
> > >>When multiple parent provide candidate to a method resolution, raise an
> > >>error.
> > >
> > >Then you aren't doing full MI a
On Thu, Apr 14, 2022 at 10:46:46AM +1200, Greg Ewing wrote:
> On 13/04/22 8:29 am, Steven D'Aprano wrote:
> >>When multiple parent provide candidate to a method resolution, raise an
> >>error.
> >
> >Then you aren't doing full MI any more,
>
> That sounds like a "true Scotsman" argument. Who defi
On 15/04/22 4:45 am, malmiteria wrote:
malmiteria xD not malmalitia
Sorry! Should have gone to Specsavers...
--
Greg
___
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.p
16 matches
Mail list logo