Author steven.daprano
Recipients FFY00, asmeurer, eric.araujo, gregory.p.smith, jack__d, mark.dickinson, p-ganssle, pablogsal, steven.daprano, theacodes, tlalexander, veky
Date 2021-07-14.22:39:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <20210714223729.GP13804@ando.pearwood.info>
In-reply-to <1626293451.74.0.209012919897.issue44603@roundup.psfhosted.org>
Content
On Wed, Jul 14, 2021 at 08:10:51PM +0000, Aaron Meurer wrote:

> There are already pseudo-keywords in the language, in particular, 
> super()

super is not a pseudo-keyword. It's a regular builtin object that 
interacts with some (quite clever) compiler magic that occurs when 
classes are created.

https://stackoverflow.com/questions/19608134/why-is-python-3-xs-super-magic

The big difference here is that the magic behind super helps to prevent 
serious bugs in user code. super's magic isn't to reduce typing, it is 
to solve a number of real problems with the way people use inheritence.
History
Date User Action Args
2021-07-14 22:39:41steven.dapranosetrecipients: + steven.daprano, gregory.p.smith, mark.dickinson, eric.araujo, veky, p-ganssle, pablogsal, asmeurer, FFY00, theacodes, jack__d, tlalexander
2021-07-14 22:39:41steven.dapranolinkissue44603 messages
2021-07-14 22:39:40steven.dapranocreate